Commit Graph

411 Commits

Author SHA1 Message Date
Henry Chang
f6ee4abf9c Bug 1388501 - Fixed missing PHA warning page on Fennec. r=francois
MozReview-Commit-ID: FPf85QAO2C9

--HG--
extra : rebase_source : 33fa0381479cc454deca8c6061ccd4ebb1e539b1
2017-08-17 17:24:19 +08:00
Axel Hecht
38ddc7aa54 bug 1385227, use proper make steps to put l10n repacks in sequence, r=gps
This drops the abuse of make dependencies to factor our steps
in l10n repacks and language packs.
It's replaced with clobbers, libs, and the packaging, which
can be shared between installers and the language pack.

MozReview-Commit-ID: 2vEHp0QogXQ

--HG--
extra : rebase_source : 3cfad08c20a100a50306fc44f955589c0568e29a
2017-08-04 17:19:12 +02:00
Jonathan Kingston
8c2a7e0104 Bug 1344519 - Add web extension events for containers onUpdated, onCreated and onRemoved r=aswan,baku
MozReview-Commit-ID: 9Zxjc1J2CAt

--HG--
extra : rebase_source : 6f43dd8c245a180a10ef9b38b2a5de5b89b93248
2017-05-14 00:39:32 +01:00
Axel Hecht
aebc0e7f7e bug 1370506, always merge for l10n repacks, with internally set merge dir, r=glandium
To not merge the en-US language pack, the merge-% steps are in
a conditional function that disables that for en-US. Using a function
here as that's easier than a shell if in the merge rule, and
Makefile conditionals don't get evaluated late enough.

To liberate the l10n builds from settings in the automation,
we move the patch logic from LOCALE_MERGEDIR to REAL_LOCALE_MERGEDIR.

To determine strongly when we're in a repack or building a langpack,
the trick here is to

  export IS_LANGUAGE_REPACK

in l10n.mk, and only set that to true in the entry-point rules.

Now, we can use that value in config.mk to define the l10n-specific
rules.

I did the same thing for langpack-%, which allows us to disable
the crashreporter files for language packs, for example.

With that,

  make installers-de

just works, if you have localizations checked out.

For a while, we might run l10n-merge twice in automation, but it's really not
optional, so let's just make sure we run it.


MozReview-Commit-ID: 3nr33CKxkBQ

--HG--
extra : rebase_source : 0605a4adba018fa4b85d563cdafba80b0533bc91
2017-06-16 15:21:16 +02:00
Axel Hecht
2f6175c28a bug 1370506, libs-% and chrome-% targets should set AB_CD, r=glandium
Set AB_CD on per-locale entry point pattern rules.

Not setting this on the repackaging top-level pattern rules, as they
need AB_CD to be en-US to find the original package to unpack.
MozReview-Commit-ID: JqrLYyEyvvb

--HG--
extra : rebase_source : 82c840f16e131fe8f340e21ff86a34c70e3f7f97
2017-06-19 16:51:05 +02:00
Thomas Nguyen
0750620b3e Bug 1366384 - Add Google attribution on Safe Browsing warning pages r=francois,johannh,maliu
MozReview-Commit-ID: AetAscS1Bkw

--HG--
extra : rebase_source : 692c2730e62a5cf4580b19aa8f4e472f75fc97b2
2017-06-14 17:36:02 +08:00
Delphine Lebédel
cac312c658 Bug 1383345 - Add zam and be in Fennec maemo-locale for multi-locale builds, r=flod
MozReview-Commit-ID: BOKQEXODxmF

--HG--
extra : rebase_source : 41007e0d618391a1f407b57a0a6f85aae36ff12d
2017-07-21 18:00:04 -07:00
Matthew Wein
d67b56da85 Bug 1302504 - use mozbrowser to add support for options_ui on Android r=mixedpuppy
MozReview-Commit-ID: IsTOC3pNxJP

--HG--
extra : rebase_source : 662ed1c317e8c480133de40c292622afb9984816
2017-07-07 15:03:33 -04:00
Axel Hecht
c92e5dfc1e bug 1370176, generic configuration for l10n, r=flod,gps
The current way to configure compare-locales has a lot of
assumptions that make our l10n system really stubborn.

The generic configuration is independent of python, and uses
toml files for configuration. They're still modular, but
there's only one file format.

See http://moz-l10n-config.readthedocs.io/en/latest/fileformat.html
for the specification.

Also fixes a few nits in filter.py, where we compared the
entity key as bool, which is false if we pass in ''.
Explicitly compare as "entity is None" to be precise about
when we're checking files.

MozReview-Commit-ID: 5TmfobaImF4

--HG--
extra : rebase_source : 84e56eb2076e74f79677df9e0368811579c1f173
2017-06-05 10:28:33 +02:00
Wes Kocher
3c7545e844 Backed out changeset 91ddd0674124 (bug 1370176) for build bustage a=backout CLOSED TREE
MozReview-Commit-ID: IiyTf0EQtAw
2017-06-09 08:59:49 -07:00
Axel Hecht
8c3bd3e2ac bug 1370176, generic configuration for l10n, r=flod,gps
The current way to configure compare-locales has a lot of
assumptions that make our l10n system really stubborn.

The generic configuration is independent of python, and uses
toml files for configuration. They're still modular, but
there's only one file format.

See http://moz-l10n-config.readthedocs.io/en/latest/fileformat.html
for the specification.

Also fixes a few nits in filter.py, where we compared the
entity key as bool, which is false if we pass in ''.
Explicitly compare as "entity is None" to be precise about
when we're checking files.

MozReview-Commit-ID: 5TmfobaImF4

--HG--
extra : rebase_source : 7c6feee0aa178315cc69fd6e8c7938365193224c
2017-06-05 10:28:33 +02:00
Delphine Lebédel
a69dd29ced Bug 1370287 - (tsz) Drop 'tsz' locale from single-locale builds, r=flod
MozReview-Commit-ID: IO5vS3uzj6g

--HG--
extra : rebase_source : 8ca77acd02c6cdb9f5cce9e43dcd5428a3ca2b07
2017-06-05 17:17:16 -07:00
Delphine Lebédel
bc872feb2a Bug 1369244 - Add 'el' and 'lo' in Fennec maemo-locale for multi-locale builds, r=flod
MozReview-Commit-ID: DtYJr5st80J

--HG--
extra : rebase_source : 9fe0c83af94e4e99816102252e84ad0de691abfb
2017-06-01 14:05:01 -07:00
Delphine Lebédel
c75ed30198 Bug 1348938 - (be) Add Belarusian locale back to Fennec single-locale builds r=flod
MozReview-Commit-ID: A3x8X4VrZf8

--HG--
extra : rebase_source : 2b9addb2a527b9a2cc63e95e0cdf60f6a89dcdaf
2017-06-01 11:55:08 -07:00
Jan Henning
85451c5c8e Bug 1349155 - Show message when clearing user data on shutdown. r=sebastian
Properly clearing data (history etc.) when shutting down via "Quit" can introduce a possibly noticeable delay (up to the order of a few seconds in bad cases) before the UI actually closes. This patch shows a snackbar for this case, so we don't give users the impression of simply randomly hanging during shutdown.

MozReview-Commit-ID: AqYw8qK8xol

--HG--
extra : rebase_source : 3a1f650dd27ef07ec7eb21dc511decbd94c0a99c
2017-03-26 18:41:09 +02:00
Joel Maher
ad58b77441 Bug 1350473 - add BUG_COMPONENT to mobile/* files. r=snorp
MozReview-Commit-ID: HkWLIVAaciF
2017-04-11 09:47:28 -04:00
Delphine Lebédel
f57449f813 Bug 1355190 - Add "bg" and "kab" in Fennec maemo-locale for multi-locale builds. r=flod 2017-04-10 12:51:00 -04:00
Francesco Lodolo (:flod)
be31bc374d Bug 1353507 - Add all Aurora active locales to single-locale and multi-locale Fennec nightly builds r=Pike
MozReview-Commit-ID: 1nWZ630rRcl

--HG--
extra : rebase_source : d7deca712657f1c8363d19eff592c13a0dc7002c
2017-04-04 22:07:18 +02:00
Francesco Lodolo (:flod)
c539d3ed0f Bug 1352690 - Remove exceptions for mobile/searchplugins from filter.py r=Pike
MozReview-Commit-ID: Em6BzWM4lqn

--HG--
extra : rebase_source : db9616ec978c4563f840182236d24b5c881abeaf
2017-04-01 16:02:33 +02:00
Delphine Lebédel
407f92e9cf Bug 1036978 - Localization of un-used toolkit strings shouldn't be reported by compare-locales, r=Pike
Change filter_py to only report on toolkit files referenced in
mobile/locales/jar.mn.

We ignore netwerk, security/manager, devtools/shared, services/sync
on the module level.

MozReview-Commit-ID: 4YRwZHUD1gE

--HG--
extra : rebase_source : 2613456c9c3442ba2d27468fdc106c1778273f6f
2017-03-31 11:59:28 +02:00
Andrea Marchesini
12b54aa0f5 Bug 1299500 - Get rid of DeviceStorage API - part 10 - DeviceStorage, r=ehsan, r=billm 2017-03-08 20:15:45 +01:00
srivatsav
32dab0d403 Bug 1199752 - Removing all tab mirroring UI code. r=sebastian
MozReview-Commit-ID: GKcqpknJSAD

--HG--
extra : amend_source : cde365c92d4427726b29c80c9ea7619ccc629561
2017-02-02 11:27:28 +05:30
Axel Hecht
4458fe9cad bug 1280683, keep a pristine copy of en-US installer for repacks, r=glandium
Let's use a pristine unpackaged directory of the en-US package, and just
rsync that to l10n-stage. That way, all repacks start off with a copy
of en-US without modifications of the previous repack.

Removing clobber-zip, that hasn't been used in ages, on the way.

Moving the creation of the branding dir to the INNER_UNMAKE_PACKAGE,
which is the command that needs it, to simplify rulesets.

MozReview-Commit-ID: 8WJtaAqjmk1

--HG--
extra : rebase_source : 2c60a09bc09c72d5d8cf3058a66f806059c93751
2016-11-23 22:19:19 +01:00
Timothy Guan-tin Chien
0be3a8d10c Bug 1303993 - Display "Save Media" for long tapping unloaded video, r=sebastian
MozReview-Commit-ID: 7L1AJ0a0yFL

--HG--
extra : rebase_source : 1c7c91aadd1893f699821c7ce970f034b1354888
2016-11-15 14:53:28 +08:00
Francesco Lodolo (:flod)
137b1b3a57 Bug 1311693 - Remove Belarusian (be) from nightly single locale builds. r=delphine 2016-10-20 07:12:00 -04:00
Sebastian Hengst
cdcc9e20da Bug 1304829 - rename RELEASE_BUILD to RELEASE_OR_BETA: main part. r=ted,Mossop
MozReview-Commit-ID: 1lCt0xTMV5O
2016-10-08 11:14:49 +02:00
Michael Comella
d5da1a9162 Bug 1290882 - Remove 'Press back to exit' snackbar when entering fullscreen mode. r=ahunt
We decided to remove it because:
 * Modern video controls include an exit fullscreen button
 * After bug 1031519, you have to swipe down from the top of the screen to
display the soft back button so the copy does not make sense.

Note that the `MozShowFullScreenWarning` event was removed previously in the
platform in [1] so we remove the listener attachment here without replacing it.

[1]: https://hg.mozilla.org/integration/fx-team/rev/a6a5f79e630d

MozReview-Commit-ID: HwyyUkWkUUH

--HG--
extra : rebase_source : 99b81c1f71aca357c3a9ea34e63fc7d20bed994f
2016-09-21 14:47:36 -07:00
Kannan Vijayan
c06523ac3b Bug 1292639 - Ask user permission before allowing navigator.publishServer. r=mconley r=ehsan r=sebastian 2016-09-08 14:36:53 -04:00
Makoto Kato
57fc90802b Bug 1299755 - Remove updates.properties from APK. r=sebastian
updates.properties uses on Fennec/XUL.  But after bug 786380, we use native version for update service.

MozReview-Commit-ID: CREAeLdlrJH

--HG--
extra : rebase_source : 1412c541e4c4f9e7d1bb98e2466ae6cc60c062e0
extra : histedit_source : 7a431e1ed942d9766fcd690e4b01bc7774203ba7
2016-09-08 13:25:59 +09:00
Kannan Vijayan
f671b30c0f Backout cbe18f181112 for crashes - bug 1292639 2016-09-07 13:43:40 -04:00
Kannan Vijayan
e7cae3eb49 Bug 1292639 - Ask user permission before allowing navigator.publishServer. r=mconley r=ehsan r=sebastian 2016-08-31 18:14:24 -04:00
Makoto Kato
86b9904afa Bug 1298743 - Remove unused localize resource into mobile/android. r=sebastian
Some resource data is for Fennec/XUL era.  Since these files is unused now, we should remove these from our package.

MozReview-Commit-ID: Dsx3qrSD01h

--HG--
extra : rebase_source : 66b416bcf7933327242bf6b74b88f81d5aac123a
2016-08-29 16:45:37 +09:00
Makoto Kato
9a8b60ffca Bug 1284283 - Remove MozContact API Android backend. r=sebastian
MozReview-Commit-ID: GLhrA1cc1Rq

--HG--
extra : rebase_source : 73efab6d9468388a6ba0be489250d8dd3d185cd6
2016-08-08 15:40:19 +09:00
Cykesiopka
8297eb8984 Bug 1281665 - Change nsIClientAuthDialogs.chooseCertificate() to use hostname instead of CN. r=keeler
chooseCertificate() currently uses a concatenation of the Common Name of the
server cert and the port of the server to allow the user to identify the server
requesting client authentication. Unfortunately, this approach is flawed, since
it doesn't take into account things like SAN entries, which might be very
different from the CN.

Using the hostname instead avoids this problem.

MozReview-Commit-ID: 6XjGCknWNi9

--HG--
extra : transplant_source : k%10N%7B%E8%A4%9B%C9%9A%23Q%D1%99%D2%A3%C0.%2B%7F%A5
2016-07-26 20:16:58 +08:00
Tom Tromey
5538d692d3 Bug 1286877 - do not set c-basic-offset for python-mode; r=gps
This removes the unnecessary setting of c-basic-offset from all
python-mode files.

This was automatically generated using

    perl -pi -e 's/; *c-basic-offset: *[0-9]+//'

... on the affected files.

The bulk of these files are moz.build files but there a few others as
well.

MozReview-Commit-ID: 2pPf3DEiZqx

--HG--
extra : rebase_source : 0a7dcac80b924174a2c429b093791148ea6ac204
2016-07-14 10:16:42 -06:00
Mike Taylor
4fd54506f8 Bug 1285211. Enable "Report Site Issue" menu item in Aurora + Nightly. r=sebastian 2016-07-13 12:32:54 -04:00
Justin Wood
27f34d80f1 Bug 1223385 - use in-tree compare-locales in Makefiles, r=gps
Also fix that the default merge dir in the mach command creates a directory
that's the merge make target, and thus keeps that make target from actually
running.

MozReview-Commit-ID: HWZBPxWuHSy

--HG--
extra : rebase_source : a39157ad9eb99f3eef5d149d003e62a235f92fc1
2016-07-08 11:59:27 -04:00
Yoshi Huang
e24cc195d9 Bug 1274893 - remove -forbid- list from SafeBrowsing. r=francois 2016-07-11 16:11:32 +08:00
Cykesiopka
9533a3d17b Bug 1281661 - Ensure input to NSSDialogService prompt messages are HTML escaped to avoid HTML injection. r=kats,keeler
As of the writing of this patch, NSSDialogService pops up a prompter on
Android as follows (assuming at least one label is requested):
1. NSSDialogService.js calls Prompt.jsm methods and eventually requests the
   prompt be displayed.
2. Prompt.jsm sends a messages to the Java side.
3. The Java side receives the message and eventually calls
   org.mozilla.gecko.prompts.PromptInput.LabelInput.getView().
4. LabelInput.getView() calls android.text.Html.fromHtml().

At no point is any HTML injection prevention done, so in theory NSSDialogService
could be an injection vector.

In practice, it appears that fromHtml() doesn't actually allow anything malicious
to be done. This patch introduces HTML escaping at the NSSDialogService
level just to be safe.

MozReview-Commit-ID: LhHuZKSqx01

--HG--
extra : transplant_source : l%C9%A2%95%9A.%05%1F%CF%5D%02%5E%12N%C1%B7O%7C%1B%8B
2016-06-29 18:48:49 -07:00
Grigory Kruglov
26648ad110 Bug 1277467 - Add OfflineTabStatusDelegate for displaying tab-is-offline notifiations when appropriate r=sebastian
- Use Content:PageShow event to inform Tabs that they were actively loaded from cache
- Move offline notification logic away from browser.js and into a delegate, which displays notifications when
tab in question is user-visible

MozReview-Commit-ID: 2qCACHyWOlp

--HG--
extra : rebase_source : 457a42ebba5cfc32ab7dabce0a8a11d6511b9c08
2016-06-24 16:56:04 -07:00
Wes Kocher
ef24c234ed Merge inbound to central, a=merge 2016-06-24 13:37:12 -07:00
Cykesiopka
577a05865b Bug 307081 - Make nsIClientAuthDialogs::ChooseCertificate() pass an nsIArray of nsIX509Certs, not strings. r=kats,keeler
This provides implementations of ChooseCertificate() with more flexibility, and
allows callers of ChooseCertificate() to be less complex.

A portion of this work involves reimplementing
nsNSSCertificate::FormatUIStrings() in JS and improving UI strings for l10n.

MozReview-Commit-ID: CE7Uc2ntwmZ

--HG--
extra : transplant_source : R%A8eC%CEO2%DC%20%F7%B4V%F3g%E6h%EB%D5%8D3
2016-06-24 00:12:16 -07:00
Cykesiopka
313db6b516 Bug 307081 - Clean up nsIClientAuthDialogs.idl and implementations. r=kats,keeler
This fixes the following in the IDL:
1. Misleading or unclear parameter names in the IDL. |cn| in practice is the
   concatenation of the CN of the server cert and the port of the server, and
   |issuer| is the Organization of the issuer cert of the server cert.
2. Use of the |wstring| type. |AString| is generally preferred, and has the
   benefit of letting implementations skip null checks due to the use of
   references.
3. Using an explicit |canceled| outparam instead of just setting a return type.
   There is no need for the outparam if the return type can be used.
4. Using |long| (int32_t) for |selectedIndex|. |unsigned long| (uint32_t) is
   more logical, and paves the way for future changes.

This fixes the following in the Android implementation:
1. Lack of checks to ensure the QueryInterface() call succeeded. In practice,
   the call will always succeed, but it's good practice to check anyways.
2. Setting a variable to an nsIPrefService instance initially, then later
   setting it to a pref branch instance later on. This is confusing and
   unnecessary.

This fixes the following in the desktop implementation:
1. Lack of null pointer checking.
2. Trying to get a parent window ref off a context that doesn't actually support
   doing so.
3. Setting a variable to an nsIPrefService instance initially, then later
   setting it to a pref branch instance later on. This is confusing and
   unnecessary.
4. Abusal of the CAPS bundle.
5. Unnecessary variables.
6. Variables declared far away from where they are used.
7. Variable shadowing.
8. Style issues.
9. Lack of documentation.

This also fixes the following:
1. Lack of localisation notes.

MozReview-Commit-ID: FTc6XecJd6h

--HG--
extra : transplant_source : %ABQ%8F%E6%A3%25%FE%94%E4%D6X%3D%28%2C%05%5E%FB%84.-
2016-06-24 00:12:11 -07:00
J. Ryan Stinnett
c91928a953 Bug 1253399 - Avoid crashes by checking for QR scanner app. r=sebastian
MozReview-Commit-ID: 6bFrYyt4pzX
2016-06-23 11:59:57 -05:00
Kevin Lam
e730d38cc4 Bug 1245952 - Corrected comment in localization note to reference the corresponding string. r=mcomella 2016-06-08 18:08:00 +02:00
Bhavin Dave
1dd6ff80f3 Bug 893836 - Update Android menu contents to sentence case. r=margaret 2016-05-23 09:20:00 -04:00
Grigory Kruglov
348655f801 Bug 1233250: Part 2 - Better copy for "loaded from cache" snackbar r=sebastian
MozReview-Commit-ID: 1TZnFlU6Mo7

--HG--
extra : rebase_source : ad28ba459bac7c7fd3e9f32bc6c372220a552573
2016-05-10 17:35:40 -07:00
Eugen Sawin
1cb3a78441 Bug 1243431 - [3.6] Add strings for Vibration API permission request doorhanger. r=margaret 2016-05-09 14:38:22 +02:00
Chun-Min Chang
05a818c4cd Bug 1268767 - [Presentation WebAPI] Missing a MPL2 license header for devicePrompt.properties; r=margaret
MozReview-Commit-ID: JRgOGrE7Iu5

--HG--
extra : transplant_source : %BD%BC%CC%C7%DAt%F3%CA%02%8E%89%08%C0%10%1A%98%0D%99%A4P
2016-04-29 14:08:36 +08:00
Chun-Min Chang
4c28b98196 Bug 1232105 - device prompt UI for presentation api; r=margaret
MozReview-Commit-ID: CdSe449XdwF

--HG--
extra : transplant_source : %C9pI%C1%99%24%F2%2A%BE%A8c%B5%D9%90%BA%24%D3%D0%1CE
2016-04-25 11:34:23 +08:00