Commit Graph

477971 Commits

Author SHA1 Message Date
Carsten "Tomcat" Book
e2460bb825 Backed out changeset 73f7e5190b38 (bug 1276738)
--HG--
extra : rebase_source : b6574931f58cc4cb7b3fb5dc8eba2b27896c5591
2016-06-02 08:12:37 +02:00
Carsten "Tomcat" Book
843b0170b4 Backed out changeset 1a7d17e9e15d (bug 1276738)
--HG--
extra : rebase_source : 83f65314933d86ff54c0cad8a7480a5cb3ab08cc
2016-06-02 08:12:35 +02:00
Carsten "Tomcat" Book
d8b4ef6666 Backed out changeset ea2da46bde0a (bug 1276738)
--HG--
extra : rebase_source : 70d3c54736de976bacd7a87f22544f85afb41a42
2016-06-02 08:12:34 +02:00
Carsten "Tomcat" Book
c9f7f417f6 Backed out changeset 0ac161595496 (bug 1276738)
--HG--
extra : rebase_source : d08ff4ed252c847b83ecba484a235cb2504fe9db
2016-06-02 08:12:32 +02:00
Carsten "Tomcat" Book
1273c5e897 Backed out changeset c60082ec436a (bug 1276738)
--HG--
extra : rebase_source : 6b3b8faf3573a45235a1793c0f76877c986d6fd9
2016-06-02 08:12:31 +02:00
Carsten "Tomcat" Book
89a0a376e3 Backed out changeset 14e071360b24 (bug 1276738)
--HG--
extra : rebase_source : 131a077096427b580c8c1f8f6e5609d12f385b93
2016-06-02 08:12:29 +02:00
Benoit Girard
d1a26c1e94 Backout d9111a0d9a44(bug 1274046) for windows bustage on a CLOSED TREE
MozReview-Commit-ID: 3qdijVGuw3O
2016-06-02 01:56:58 -04:00
Jean-Yves Avenard
94b2b53bfe Bug 1275381: [aac] Rework AudioSpecificConfig if extensions are present. r=cpearce,kamidphish,?kamidphish
WMF is very strict with the AudioSpecificConfig passed on and will error if an unknown extension is found. Attempt to detect those extensions and remove them if necessary.

MozReview-Commit-ID: KbooPiHmDbN

--HG--
extra : rebase_source : 849628daae33e0dca6ac3735dd8abc05e7554937
2016-06-02 12:07:06 +10:00
Michael Comella
aeb8cb76b8 Bug 1273689 - review - remove inner class & move methods to containing class; use BrowserAppDelegateWithReference. r=me
It's all a little cleaner.
2016-06-01 17:46:19 -07:00
Michael Comella
af565b6cbb Bug 1277214 - Move MOZ_DISABLE_* to single MOZ_IN_AUTOMATION env var. r=grisha
We hit an issue where adding a new env var, MOZ_DISABLE_TELEMETRY, added env10
and caused crashes. I suspect the issue is that there are is now a double-digit
number of env vars (bug 1277390). Here, we do the quick fix by removing
MOZ_DISABLE_TELEMETRY & repurposing MOZ_DISABLE_SWITCHBOARD to be generic.

While we're at it, we simplify the code by making the setDisabled methods a
strict getter without checking for how many times they're called.

MozReview-Commit-ID: 19DDbVYRZ2

--HG--
extra : rebase_source : 1590ae4f49bf725ab8a3bb26f10dab324903aa8c
2016-06-01 16:46:44 -07:00
Michael Comella
4bbd712e84 Bug 1277214 - Stop reading env vars when the key no longer exists. r=grisha
In the previous implementation, we'd stop reading when the value would return
null, however, this breaks with SafeIntents where null is returned if a value
throws a runtime exception - i.e. we might stop reading at env2 if it throws
even though env3+ exist.

MozReview-Commit-ID: 7iZgUAjBSmB

--HG--
extra : rebase_source : a7440dd14bb406afcd6ac1ec514bf0b188b5b2b7
2016-06-01 16:29:26 -07:00
Michael Comella
aaa16e308e Bug 1277214 - Use SafeIntent in getEnvVarMap. r=grisha
MozReview-Commit-ID: 5eXjgCsd6Rl

--HG--
extra : rebase_source : 4c6c9cf2b41cd5ba236c273104723bc9f6e3dafc
2016-06-01 15:34:34 -07:00
Michael Comella
dd4052c5e0 Bug 1277214 - Move remaining SafeIntentUtils functions to IntentUtils. r=grisha
I feel this better follows the util class pattern: IntentUtils acts on Intents
as StringUtils would act on Strings.

MozReview-Commit-ID: 7n2B9q1KlSy

--HG--
rename : mobile/android/base/java/org/mozilla/gecko/util/SafeIntent.java => mobile/android/base/java/org/mozilla/gecko/mozglue/SafeIntent.java
extra : rebase_source : ac953ac44f91f1d9b8fa4c0c2a21c539974e9df8
2016-06-01 15:32:41 -07:00
Michael Comella
200e23d1c7 Bug 1277214 - Move SafeIntent to its own class. r=grisha
This gets used often enough that it's annoying to do full class name imports.

MozReview-Commit-ID: 7Yhp1NCgwQw

--HG--
extra : rebase_source : 4e4875153d171d8eb4c8ce49f8a6e6170ac5c616
2016-06-01 15:27:41 -07:00
Michael Comella
9fda412bd8 Bug 1277214 - Add javadoc to explain SafeIntent. r=grisha
MozReview-Commit-ID: LqQm6yAKbr5

--HG--
extra : rebase_source : ddad22a46263fd13955b89828547158c9c723ecb
2016-06-01 15:21:36 -07:00
Nick Fitzgerald
da8d89330d Bug 1277414 - Remove the memprof actor; r=ejpbruel 2016-06-02 10:04:27 -07:00
Matteo Ferretti
a41de14037 Bug 1267278 - remove the usage of some add-on SDK modules, and refactoring the unit tests; r=jryans
- removed responsive.html/events.js
 - added `isActiveForWindow` method to `ResponsiveUIManager`
 - simplified how the check for RDM menu is done
 - re-enabled tests for OS X debug in e10s
 - refactored tests using `BrowserTestUtils`

MozReview-Commit-ID: 1TADh1dRVcU
2016-06-02 18:55:22 +02:00
Eddy Bruel
df95089a05 Bug 1272724 - Move nodeSpec into its own file;r=ejpbruel 2016-06-02 17:46:11 +02:00
Eddy Bruel
6cd5859b6c Bug 1265730 - Decouple StyleEditorFront from StyleEditorActor;r=jryans 2016-06-02 17:42:24 +02:00
Raul Glogovetan
aa3e78365b Bug 1018721 - Changed wording for screenshot button tooltip. r=vporof 2016-06-02 09:54:24 -05:00
Jeremy Chen
0350d6fe11 Bug 1277134 - Add built-in fsmonitor support for Mercurial version>=3.8. r=gps
The hgwatchman project has been renamed to fsmonitor and has been moved
into Mercurial core, as of version 3.8.
Accordingly, for Mercurial >= 3.8, we shall skip installing hgwatchman
but just set fsmonitor in hgrc file instead.

DONTBUILD (NPOTB)

MozReview-Commit-ID: 426rla5riCM

--HG--
extra : rebase_source : 359eb135a2c16361125da6f1fe97eedf9434032e
2016-06-01 16:40:55 +08:00
Xidorn Quan
1ea928e4bc Bug 1224918 part 2 - Remove SETDCT_{AUTO,NONE,NORMAL,SYSTEM_FONT} and use Unused to indicate unsupported units. r=dbaron
MozReview-Commit-ID: 2OjVfafdgG6

--HG--
extra : rebase_source : 37e53646cb493614aea59687fedce7e658c3dc42
2016-06-01 15:50:32 +10:00
Makoto Kato
57055eaa38 Bug 1277156 - TaskbarPreview::Disable should check whether window is destroyed. r=jimm
TaskbarTabPreview object will be released by GC.  So when Disable method is called, window may already destroyed.  So we should check whether window is destroyed.

MozReview-Commit-ID: MGz3JmDh37

--HG--
extra : rebase_source : 43a859cbcb729718b59745182c94ef3688a44f0f
2016-06-01 14:30:23 +09:00
Wes Kocher
f4ebafb9f3 Merge m-c to inbound, a=merge 2016-06-01 17:17:15 -07:00
Mike Hommey
b7e8b04493 Bug 1277124 - Remove outdated definition in GeckoProgram. r=mshal
When building a desktop version of Firefox with MOZ_LINKER enabled, the
zlib library is necessary for mozglue. The mozglue library is statically
linked to programs on desktop builds of Firefox, and the required setup
for those things is done in the GeckoProgram template, along with adding
the necessary zlib linkage.

Not sure how events went through but the current definitions in
mozglue/build/moz.build and config/external/zlib/moz.build make it that
USE_LIBS += ['mozglue'] currently implies zlib being linked in that case
without it being done explicitly in GeckoProgram, so remove that.
2016-06-02 08:48:45 +09:00
Mike Hommey
49fc9b5422 Bug 1277087 - Always add in-tree search paths when bootstrapping mach. r=gps 2016-06-02 08:48:44 +09:00
Mike Hommey
79e124f382 Bug 1277087 - Change how the buildconfig module searches for config.status. r=gps
So far, we relied on the module being copied over in the virtualenv, and
the module itself would try to find config.status in parent directories
of its own location. Unfortunately, this falls short when the source
tree's build/ directory appears early in the sys.path.

With this change, we don't copy the module to the virtualenv anymore,
and try to find config.status in parent directories of the python
executable, which, when running from the virtualenv, will be equivalent
to the current behavior.
2016-06-02 08:48:42 +09:00
Carsten "Tomcat" Book
cd94cb207b Merge mozilla-central to fx-team 2016-06-01 15:09:07 +02:00
Carsten "Tomcat" Book
c2494b5883 merge mozilla-inbound to mozilla-central a=merge 2016-06-01 15:07:48 +02:00
Carsten "Tomcat" Book
80f07395be Backed out changeset ef722ca61b23 (bug 1276073) for frequent timeouts like in browser_dbg_search-symbols.js 2016-06-01 15:06:05 +02:00
Mike de Boer
037ad62636 Bug 1276884 - fix nits in TabAttributes.jsm and TabState.jsm. r=ttaubert 2016-06-01 14:48:18 +02:00
Mike de Boer
209b2cc9c4 Bug 1276884 - fix nits in RunState.jsm. r=ttaubert 2016-06-01 14:48:16 +02:00
Mike de Boer
1d6e78f4da Bug 1276884 - fix nits in PrivacyFilter.jsm and PrivacyLevel.jsm. r=ttaubert 2016-06-01 14:48:15 +02:00
Alexandre Poirot
a8bb16eb76 Bug 1276073 - Ensure source is loaded and selected before running debugger tests. r=jlongster 2016-06-01 02:23:07 -07:00
Jan Odvarko
4c7c013e43 Bug 1276229 - Move PropRep Component into its own module; r=jryans
MozReview-Commit-ID: EWhmTGuVwSH
2016-06-01 00:38:46 -07:00
Matthew Noorenberghe
8f89f328e1 Bug 1274712 - Follow-up to also change doNotTrackCheckbox.accesskey. rs=flod,johannh
MozReview-Commit-ID: BVSlJ9qAaJs

--HG--
extra : amend_source : dd58c5ed09a22f70f8537346a8091874604552f9
2016-06-01 00:34:10 -07:00
Carsten "Tomcat" Book
ad436d89e5 Backed out changeset b541ce3cbff5 (bug 1277087) for ab build failures
--HG--
extra : rebase_source : bad752021d110e22a4942fd23a9ec04c780a677c
2016-06-01 09:19:06 +02:00
Nicholas Nethercote
9ec20a644f Bug 1277122 - Add missing null checks for pixman_image_create_bits(). r=seth,lsalzman.
--HG--
extra : rebase_source : dec917d2efd9a262bd06816dcbb541acd3892340
2016-06-01 14:27:30 +10:00
Michael Comella
9912677a15 Bug 1277071 - Move PREF_SEQ_COUNT to CorePingBuilder. r=jonalmeida
MozReview-Commit-ID: 44R0ahE094N

--HG--
extra : rebase_source : a7283f8da674ea315f9fa0ac0dd59dead66f3e80
extra : source : e22b131d462f845529713d8a3e0612525d06b78c
2016-05-31 16:33:08 -07:00
Michael Comella
82181ad56b Bug 1270191 - Correct my previous patches to more faithfully reproduce the refactored code. r=liuche
The previous code checked:

if (env.startsWith("MOZ_DISABLE_SWITCHBOARD=")) {
    if (!env.endsWith("=")) {

So it would not pass with the empty String but my previous revision permitted
the empty string.

Practically speaking, I don't think it matters because this is only used in
remoteautomation.py where the value is 1, but better safe than sorry.

MozReview-Commit-ID: DLtmvWlQYs7

--HG--
extra : rebase_source : 3c96cf81f729911bfefcc103f46068bd9b8fb202
2016-05-31 17:25:17 -07:00
Michael Comella
1e85dedec9 Bug 1270191 - Disable telemetry upload during tests. r=grisha
MozReview-Commit-ID: GoQQRfGRvd4

--HG--
extra : rebase_source : c2d56638e078012766e8f7c9b64de6d3988e6dbc
2016-05-31 17:04:40 -07:00
Michael Comella
8fc95417b0 Bug 1270191 - Move Experiments to env var solution. r=grisha
MozReview-Commit-ID: 5Rpdyg7zpNG

--HG--
extra : rebase_source : 1642484993287d489060e95e3fbeb62232b422c6
2016-05-31 17:04:25 -07:00
Michael Comella
b50b3795da Bug 1270191 - Add IntentUtils.getEnvVarMap. r=grisha
MozReview-Commit-ID: 7ojczu4rOnD

--HG--
extra : rebase_source : f33965372fdfdb801d5f9b999c91dd591f6c856c
2016-05-31 16:48:03 -07:00
Michael Comella
790cfdc8dd Bug 1273689 - Rename CorePingDelegate. r=sebastian
We are doing more than just uploading in the delegate now.

I didn't fix this in the previous commits because version control makes this
non-trivial.

MozReview-Commit-ID: IjXsQC19k2S

--HG--
extra : rebase_source : 710fd827dd1468ca22c6372d101d3541040005ce
2016-05-31 15:39:58 -07:00
Michael Comella
e81040062d Bug 1273689 - Upload in onStop for first run. r=sebastian
MozReview-Commit-ID: 4UReiDeNCg4

--HG--
extra : rebase_source : f8b71109e5673c083b1f7d9d184f901998a40174
2016-05-31 15:32:41 -07:00
Michael Comella
9022a32d3c Bug 1273689 - Move session measurement calls to CorePingDelegate. r=sebastian
MozReview-Commit-ID: EPLUd5Uq0Pc

--HG--
extra : rebase_source : ad7f650414c15ac44b64acb371a04f3cfea3d0e2
2016-05-31 14:16:04 -07:00
Michael Comella
3013ee94dd Bug 1273689 - Factor out getSharedPreferences call. r=sebastian
The same preferences will be used by the new code & the old code.

MozReview-Commit-ID: BXuSQjhhXQq

--HG--
extra : rebase_source : 8824624c524392c0178535c47bf9657ba9cf9168
2016-05-31 14:07:26 -07:00
Michael Comella
0d36237547 Bug 1273689 - Elaborate on why we upload when we do. r=sebastian
MozReview-Commit-ID: DIxkY3F3Z6S

--HG--
extra : rebase_source : 0e13c316b6fc4a5522a52f75c5f00ffd54a7baab
2016-05-31 15:32:04 -07:00
Michael Comella
8bae604593 Bug 1273689 - Move core ping upload to BrowserAppDelegate. r=sebastian
This lets us put the two paths of upload code all in the same place.

MozReview-Commit-ID: BUsdyEAcdDO

--HG--
extra : rebase_source : a854facb606afd95764feac19fb5ef64f216addf
2016-05-31 13:57:44 -07:00
Bryce Van Dyk
cfe431113f Bug 1277136 - External Media Tests: Fix typos, update context usage, update gmp reset script. r=maja_zf
- Fix a typo in media.gmp-eme-adobe.version pref strings.
- Update reset gmp script call to be from content context. This
would fail if done from the chrome process.
- Update reset gmp script to use new requestMediaKeySystemAccess
syntax.

MozReview-Commit-ID: FzDgkOWQF9A

--HG--
extra : rebase_source : 5a3082978bd80d994320017c6917e121fa40a742
2016-06-01 08:33:30 +12:00