Commit Graph

29299 Commits

Author SHA1 Message Date
Thomas Zimmermann
5d152949dc Bug 1276927: Build B2G with Android build scripts where possible, r=glandium
This patch adds support for configuring Gonk/B2G with Android-specific
build scripts. This removes duplicated code and simplifies maintenance
of B2G.

The B2G builds will now use libc++ for Gecko; instead of the obsolete
STLport. A side-effect of this patch is the removal of any compile-time
dependency on B2G's bionic library.

MozReview-Commit-ID: 7V6BmC7jlrs
2016-06-16 08:43:51 +01:00
Jan Varga
2d1e6d62c8 Bug 1246828 - Part 4: Rename profile-before-change2 to profile-before-change-qm and profile-before-change3 to profile-before-change-telemetry; r=asuth 2016-06-15 11:49:04 +01:00
Jan Varga
b85865d615 Bug 1246828 - Part 1: Add an additional notification profile-before-change3 and update telemetry sending code to use it; r=asuth 2016-06-15 11:48:39 +01:00
Sebastian Hengst
d41fba2a76 Backed out changeset f6f4144c4dbc (bug 1276927) 2016-06-15 12:23:48 +02:00
Thomas Zimmermann
c63293b2ca Bug 1276927: Build B2G with Android build scripts where possible, r=glandium
This patch adds support for configuring Gonk/B2G with Android-specific
build scripts. This removes duplicated code and simplifies maintenance
of B2G.

The B2G builds will now use libc++ for Gecko; instead of the obsolete
STLport. A side-effect of this patch is the removal of any compile-time
dependency on B2G's bionic library.

MozReview-Commit-ID: 7V6BmC7jlrs
2016-06-15 10:59:49 +01:00
Mike Hommey
c5caa62fdf Bug 1278456 - Add the tooltool GCC library directory to LD_LIBRARY_PATH on Linux builds. r=mshal
Build slaves on automation are based on Centos 6, which doesn't have a
recent enough version of libstdc++ for our new requirements. But since
we're building with a recent GCC or clang with its own libstdc++, we do
have such a libstdc++ available somewhere, and the compiler picks it
when invoking the linker.

Problems start happening when we execute some of the built programs
during the build, like host tools (e.g. nsinstall), or target programs
(xpcshell, during packaging). In that case, we need the compiler's
libstdc++ to be used. Which required adding the GCC or clang library
directory to LD_LIBRARY_PATH.

Unconveniently enough, the clang 3.5 tooltool package we're using for
ASAN builds until we can update to at least 3.8 (bug 1278718) doesn't
contain libstdc++.so. So for those builds, pull the GCC package from
tooltool as well, and pick libstdc++ from there.
2016-06-12 18:52:15 +09:00
Jonathan Watt
b15368cfcb Bug 1279451 - Remove a lot of unnecessary includes of nsAutoPtr.h. rs=sparky 2016-06-07 21:10:18 +01:00
Mike Hommey
4725fcb648 Bug 1271574 - Purposefully leak the XUL_APP_FILE string passed to putenv. r=bsmedberg
Before bug 552864, the string was created with PR_smprintf, and
PR_SetEnv'ed (which, under the hood, just calls putenv). PR_smprintf was
allocating the string on the heap. Now, it's allocated on the stack, and
still putenv'ed.

putenv kind of takes ownership of the strings it's being passed, so
stack allocated strings are dangerous to use. It looks like we've been
fairly lucky that it worked, presumably because compilers would keep the
stack frame with the variable, but that's not guaranteed to happen, and
in some case, doesn't.

So we strdup the string and purposefully leak it instead, which matches
what happened before bug 552864, and is the only "sane" way to use
putenv.

--HG--
extra : rebase_source : e39349f90f5346b591e20696c0c3c7fdb26c3cfb
2016-06-02 08:44:16 +09:00
Kit Cambridge
a9df8d4d3f Bug 1278851 - Enable service worker notifications everywhere except for non-release B2G. r=baku
MozReview-Commit-ID: InG420vpNtA

--HG--
extra : rebase_source : 0523697466cb8f438b1af129c5d74a1b0c8df499
2016-06-07 14:25:59 -07:00
Andrzej Hunt
89a79fadfa Bug 1258549 - Upgrade b2g support links r=margaret
MozReview-Commit-ID: 5ETAw9W8wY6

--HG--
extra : rebase_source : a2fd8143f259271e779afec7bc7e61baf1fb56ba
extra : histedit_source : bf5b04ad192da533420807de4b0d3d85db1e22c6
2016-06-03 11:09:56 -07:00
Shih-Chiang Chien
0581ac410b Bug 1277197 - fix JS error in PresentationRequestUIGlue for 2-UAs device. r=kuoe0. 2016-06-01 21:12:21 +08:00
Alastor Wu
fa47d77e11 Bug 1257738 - part1 : implement the audio competing mechanism.
MozReview-Commit-ID: GZw7P0kbhOa
2016-06-01 10:21:13 +08:00
Steve Fink
75e3654bc5 Bug 1259850 - Update sixgill to ignore exception cleanup and properly qualify some type names
MozReview-Commit-ID: 7WSYmLAVb7M

--HG--
extra : rebase_source : 44c937df8e1fe080577d8a00b924698f033daa39
extra : source : b641d01138ab54ec1f6b29232614b338b02d42f1
2016-05-04 18:36:23 -07:00
Wes Kocher
74c78019e7 Backed out 22 changesets (bug 1259850) for GC crashes in various tests CLOSED TREE
Backed out changeset ef5cdcca45d9 (bug 1259850)
Backed out changeset c95bdd426ced (bug 1259850)
Backed out changeset a73f74f718e7 (bug 1259850)
Backed out changeset 95107c3ad9cf (bug 1259850)
Backed out changeset 788ac18818c9 (bug 1259850)
Backed out changeset 19c13aa9b5ad (bug 1259850)
Backed out changeset 0b9dedcf7163 (bug 1259850)
Backed out changeset b641d01138ab (bug 1259850)
Backed out changeset aa434447a11b (bug 1259850)
Backed out changeset 4c7373c6c29e (bug 1259850)
Backed out changeset 457cb29cad55 (bug 1259850)
Backed out changeset 5762a8fba027 (bug 1259850)
Backed out changeset 129559d4ac62 (bug 1259850)
Backed out changeset d00b9c8a7984 (bug 1259850)
Backed out changeset 266befcb8acd (bug 1259850)
Backed out changeset c6615c7b0083 (bug 1259850)
Backed out changeset 196ac1f813f9 (bug 1259850)
Backed out changeset b6108a65dc38 (bug 1259850)
Backed out changeset 0d58f8529b86 (bug 1259850)
Backed out changeset a8d2730ada95 (bug 1259850)
Backed out changeset e8544b072ee6 (bug 1259850)
Backed out changeset 15de0d1d0b05 (bug 1259850)
2016-05-31 11:15:41 -07:00
Steve Fink
8e2cd9d734 Bug 1259850 - Update sixgill to ignore exception cleanup and properly qualify some type names
MozReview-Commit-ID: 7WSYmLAVb7M

--HG--
extra : rebase_source : adb56e3297546f013f669582aa452a5e16e758dd
2016-05-04 18:36:23 -07:00
Carsten "Tomcat" Book
c715836c7f merge mozilla-inbound to mozilla-central a=merge 2016-05-25 15:04:00 +02:00
Carsten "Tomcat" Book
3cab03a461 Merge mozilla-central to fx-team 2016-05-24 15:15:55 +02:00
Mathieu Leplatre
20c906a2ce Bug 1266235 - Move blocklist preferences to all.js. r=MattN
Related:

* https://bugzilla.mozilla.org/show_bug.cgi?id=1248557
* https://bugzilla.mozilla.org/show_bug.cgi?id=1259947

MozReview-Commit-ID: H2Eh1oqXeS1

--HG--
extra : rebase_source : 415c26880debea7f4d410abfdab0eb5b44a4e767
2016-04-29 13:17:09 +02:00
Patrick McManus
c0638a1abc Bug 1274729 - corrupted content string management r=dragana 2016-05-23 10:12:31 -04:00
Shih-Chiang Chien
c6b56100ad Bug 1228266 - rename TCPPresentationServer to PresentationControlService. r=junior.
MozReview-Commit-ID: 2kHZ0XUG2ew

--HG--
rename : dom/presentation/interfaces/nsITCPPresentationServer.idl => dom/presentation/interfaces/nsIPresentationControlService.idl
rename : dom/presentation/provider/TCPPresentationServer.js => dom/presentation/provider/PresentationControlService.js
extra : rebase_source : adc621d185c91e74c1abbef8cc2d519f5bbaed3a
2016-05-20 14:53:30 +08:00
Patrick McManus
30c9aa43b3 Bug 1223834 - Corrupted Content Error Description repeated twice. r=dragana
--HG--
extra : rebase_source : 0b4560aad03b234fe19fb9a93a6040b706332a14
2016-05-17 16:17:29 -04:00
Alexandre Lissy
b4420dcc85 Bug 1273126 - Fixing definition of MOZ_SERVICES_SYNC on B2G r=glandium
MozReview-Commit-ID: 1FniQxHUCKC

--HG--
extra : rebase_source : e64684de98c903502d133e1278cb87c19a2f20a2
2016-05-16 15:27:48 +02:00
Bob Owen
2447fbb7fa Bug 1035125 Part 1: Back out changeset 1910714b56c6 and associated subsequent changes. r=bsmedberg
The original changeset that is being backed out had comment:
Bug 1023941 - Part 5: Loader hook to redirect the missing import.

The changes made in bug 1023941 were to work around the fact that with VS2013, msvcr120.dll imports kernel32!GetLogicalProcessorInformation, which is not available on Windows XP SP2.
In VS2015, the GetLogicalProcessorInformation requirement has moved into concrt140.dll (concurrency runtime), which we don't use.
So, now that our build infra is building with VS2015, we can remove the hooking and static runtime linking required to get the VS2013 fix to work.

In addition we need to do that to be able us to link the Chromium sandbox code into firefox.exe and get it to build and run with both VS2015 and VS2013.

MozReview-Commit-ID: 1tlXaYJ8dHH

--HG--
extra : rebase_source : 49b216e34fc5c77af96df1f67ee44c46d5368bfe
2016-05-15 16:23:56 +01:00
Chris Peterson
8a9e2d2bd4 Bug 1272513 - Part 2: Remove redundant -Wshadow CXXFLAGS from moz.build files. r=glandium 2016-05-14 00:54:55 -07:00
Mike Shal
dbfbbfe42c Bug 1272483 - Remove MOZ_UPDATE_PACKAGING and --enable-update-packaging; r=chmanchester
MozReview-Commit-ID: A3SDJCc5eHH

--HG--
extra : rebase_source : af8d081c349b27ac0e2567b0f5863fbbeb7f98ce
2016-05-12 12:15:58 -04:00
Carsten "Tomcat" Book
50dfc69f35 merge mozilla-inbound to mozilla-central a=merge 2016-05-13 11:59:20 +02:00
L. David Baron
d097996b85 Bug 1111440 - Replace -moz- prefixed logical margin/padding/border properties with their standard versions. r=heycam
This patch was generated by the command:
  find . -name "*.css" -exec sed -i -f mozpropsub {} \;
in the root of a mozilla-central tree, with the file mozpropsub
containing the contents:
s/-moz-padding-end\>/padding-inline-end/g
s/-moz-padding-start\>/padding-inline-start/g
s/-moz-margin-end\>/margin-inline-end/g
s/-moz-margin-start\>/margin-inline-start/g
s/-moz-border-end\>/border-inline-end/g
s/-moz-border-end-color\>/border-inline-end-color/g
s/-moz-border-end-style\>/border-inline-end-style/g
s/-moz-border-end-width\>/border-inline-end-width/g
s/-moz-border-start\>/border-inline-start/g
s/-moz-border-start-color\>/border-inline-start-color/g
s/-moz-border-start-style\>/border-inline-start-style/g
s/-moz-border-start-width\>/border-inline-start-width/g

While I didn't manually review all the changes, I did review the list of
files, and manually reviewed the changes in the files that I thought
were more interesting.

Note that there are a few tests that should be fixed up as well, but
I'll do that in a later patch.

MozReview-Commit-ID: EiQTuuV0MNQ
2016-05-12 22:19:58 -07:00
Wes Kocher
26012d19b7 Backed out 4 changesets (bug 1266235) for test_ev_certs.js failures on pretty much every platform CLOSED TREE
Backed out changeset f684fac95bd9 (bug 1266235)
Backed out changeset f560cba61749 (bug 1266235)
Backed out changeset 5f321f10da1e (bug 1266235)
Backed out changeset 93deaa5641bc (bug 1266235)

--HG--
rename : services/common/blocklist-clients.js => services/common/KintoBlocklist.js
rename : services/common/blocklist-updater.js => services/common/kinto-updater.js
rename : services/common/tests/unit/test_blocklist_clients.js => services/common/tests/unit/test_kintoAddonPluginBlocklist.js
rename : services/common/tests/unit/test_blocklist_certificates.js => services/common/tests/unit/test_kintoCertBlocklist.js
rename : services/common/tests/unit/test_blocklist_updater.js => services/common/tests/unit/test_kinto_updater.js
2016-05-10 13:46:28 -07:00
Mathieu Leplatre
031d6fbdbb Bug 1266235 - Move blocklist preferences to all.js. r=MattN
Related:

* https://bugzilla.mozilla.org/show_bug.cgi?id=1248557
* https://bugzilla.mozilla.org/show_bug.cgi?id=1259947

MozReview-Commit-ID: H2Eh1oqXeS1

--HG--
extra : transplant_source : %A0%96%22%DB%F3%19%8A%CF%A9%3B%FB%11%27%FB%E7%7B%BCzH%9F
2016-04-29 13:17:09 +02:00
Marco Bonardo
06932c74d1 Bug 1223728 - Remove the unifiedcomplete pref, the urlinline component and stop bundling the old autocomplete component in Firefox. r=adw
MozReview-Commit-ID: Ee08mDGxBjJ

--HG--
extra : rebase_source : 4473da657f85e443e5095b43b3e774e85292ecd1
extra : amend_source : c9c322ebae255a24c28e6367b9fe93474db21d6d
2016-05-05 00:14:51 +02:00
Ehsan Akhgari
eaba90d427 Bug 1261011 - Remove Inter-App Communication API; r=fabrice 2016-05-05 07:39:10 -04:00
Gabriele Svelto
5cdc96be90 Bug 1254287 - Remove the EngineeringMode API r=evelyn,sicking 2016-05-04 12:46:32 +02:00
Chris Manchester
6cb2abce23 Bug 1257326 - Move MOZ_SERVICES_SYNC to Python configure. r=glandium
MozReview-Commit-ID: DCDoSgHfwVY
2016-05-12 11:55:59 -07:00
Chris Manchester
0ff187a73d Bug 1257326 - Remove MOZ_SERVICES_COMMON. It is usually set, but never checked. r=glandium
MozReview-Commit-ID: Km8hEYki2Rv
2016-05-12 11:55:59 -07:00
Chris Manchester
14c7425e07 Bug 1257326 - Move MOZ_PLACES to Python configure. r=glandium
MozReview-Commit-ID: 9bs9waY0XVP
2016-05-12 11:55:58 -07:00
Andrea Marchesini
3df261e948 Bug 1269303 - Remove RequestSync API, r=fabrice 2016-05-03 11:13:03 +02:00
Robert Strong
0f000fd4f0 Bug 1262880 - browser preferences changes - Remove add-on compatibility check from application update. r=felipc 2016-04-29 10:01:04 -07:00
Ting-Yu Lin
25bc4aacc1 Bug 1268410 - Change the default value of "layout.accessiblecaret.timeout_ms" to 0. r=mats
That is, the single caret in cursor mode will always persist on all
platforms as on Firefox Android.

MozReview-Commit-ID: 5MTCf1n2dF3

--HG--
extra : rebase_source : 4062752d7c781acc19088106028e848d1192f880
2016-04-28 20:21:23 +08:00
Andrea Marchesini
1c0c183890 Bug 1261009 - Remove the Data Store API, r=fabrice 2016-04-29 09:02:45 +08:00
Carsten "Tomcat" Book
2666074aa0 merge mozilla-inbound to mozilla-central a=merge 2016-04-28 16:30:24 +02:00
KuoE0
96422f51d2 Bug 1235123 - Part 3 - Update interfaces and implantations of nsIPresentationDevice and nsIPresentationUIGlue to support 1-UA use case, r=schien 2016-04-28 15:18:21 +08:00
KuoE0
378e659f60 Bug 1235123 - Part 2 - Update architecture of shell_remote.js to align shell.js, r=schien 2016-04-28 15:18:13 +08:00
KuoE0
7730573efe Bug 1235123 - Part 1 - Make SystemAppProxy can handle multiple system app, r=schien 2016-04-28 15:18:03 +08:00
KuoE0
f6da5068fb Bug 1208417 - Part 2 - Add DisplayDeviceProvider to Presentation API, r=schien, r=smaug 2016-04-28 15:05:25 +08:00
dimi
3c20fd8553 Bug 1033450 - consolidate safebrowsing prefs in all.js. r=francois
MozReview-Commit-ID: CYMihDGtG79

--HG--
extra : rebase_source : 949b59abc5ad0c2c4597dd38ac1644525296ad7e
2016-04-28 00:44:55 -07:00
Carsten "Tomcat" Book
24969b7621 Merge mozilla-central to mozilla-inbound 2016-04-22 15:57:43 +02:00
Carsten "Tomcat" Book
72c1e6f5ac Backed out changeset 2271b0c11307 (bug 1033450) for crashtest failures
--HG--
extra : rebase_source : 47e1b5bf38d1d8e531e6c341c2d1c1051fd5c58d
2016-04-22 10:37:40 +02:00
Ting-Yu Lin
bcbf8175b8 Bug 1249201 Part 2 - Show carets continuously when panning or zooming. r=mats,sebastian
Add a pref "layout.accessiblecaret.always_show_when_scrolling" defaults
to true on all platforms except b2g. When it is set to false, the carets
will be hidden during scrolling, which is the current behavior before
applying this change.

The pref "layout.accessiblecaret.extendedvisibility" was added for
Fennec to keep ActionBar open when carets temporarily hiding during
panning or zooming. Now we make carets always show by default, so the
pref can be removed. However, the floating toolbar still need to be
notified when the scrolling begins, so we dispatch "scroll" instead.

In gtest, the preference changes were in the middle of the test
function. To make the preference change clearer, I add new pref changes
or move the existing ones to the beginning of the test functions.

The 250ms transition effect added in ua.css is per request of UX
designer in bug 1249201 comment 12.

MozReview-Commit-ID: 8NGvDLPbtNY

--HG--
extra : rebase_source : 3f7a9ebdf4c70b0282dbf9e8f18cbe5cca656dbe
2016-04-21 16:53:40 +08:00
dimi
e56e41f353 Bug 1033450 - consolidate safebrowsing prefs in all.js. r=francois
MozReview-Commit-ID: IKQ1wPHOY17

--HG--
extra : rebase_source : 62bce62fcb9781b6e99c1c43f15ee13e27d77e5e
2016-04-14 15:49:17 +08:00
Carsten "Tomcat" Book
23bcfcba57 Backed out changeset f71acdbd0d45 (bug 1033450) for wrong patch landed
--HG--
extra : rebase_source : a8c1947330e0f156410b6095ff91e0c723f6b50e
2016-04-22 06:01:11 +02:00