Commit Graph

17554 Commits

Author SHA1 Message Date
Mark Finkle
91a5e2ec19 Bug 1202154 - Switchboard does not catch Locale related exceptions r=nalexander 2015-09-08 23:49:07 -04:00
Mark Finkle
c18eaff865 Bug 1201384 - Add support for determining Switchboard buckets locally r=chenxia 2015-09-08 23:28:01 -04:00
Michael Comella
cadab87243 Bug 1155855 - Don't override animations when opening the browser from the share overlay. r=liuche
When used to do our own animation when opening the browser from the
share overlay. That caused this bug: we didn't call `finish` until
`onAnimationEnd` but since `startActivity` was called, the application
was switched before `onAnimationEnd`, and thus `finish`, could be
called. When we returned to the share overlay, it was in an unexpected
state (`isAnimating` was true) and the user could no longer interact
with it, blocking access to the app the ShareOverlay was opened from.

We fix this by not doing our custom animations and just calling `finish`.

Note: in any case, overriding the animation when opening the browser
could be unintuitive to users because they might expect a consistent
app-switch animation throughout the system.
2015-08-28 17:32:23 -07:00
Kartikaya Gupta
61e2dbec5c Bug 1201416 - Remove incorrect call to setResolution. r=snorp
The call to setResolution has (I believe) not been needed since bug 732971. Prior
to that resolutions used to be applied on the root document in Fennec, and so
browser.js would have to reapply the desired resolution on every tabswitch.
After that bug, the resolution was saved on the content documents for each tab
and so browser.js no longer needed to reapply the resolution. Until recently
doing this was redundant but harmless.

With bug 1180267 though the browser.js code that tracks the resolution may have
the wrong resolution initially, because that is determined in C++ code. Only
after the Java-side code process the setFirstPaintViewport message and sends
that information to browser.js does everything have the correct resolution. In
the case where a tab loaded in the background is brought into the foreground, the
tab-selected code runs before the setFirstPaintViewport code, and therefore uses
an incorrect resolution. This then screws up the viewport clamping code and causes
the page to get scrolled.
2015-09-08 14:04:54 -04:00
Kartikaya Gupta
e53c26755a Bug 1202652 - Remove redundant and incorrect check when setting displayport margins. r=snorp
The intent of this check is to avoid setting the same margins more than once.
However this is redundant because the code in nsLayoutUtils::SetDisplayPortMargins
already has an equivalent check. Further, this code is wrong because it stores
the old margins per-tab, and so once a new document is loaded the margins may be
the same as "before" but they apply to a different element. In order to be correct
the check would have to track the target element as well as the margin values,
but it's easier to just get rid of this and let nsLayoutUtils handle it.
2015-09-08 14:04:48 -04:00
Kartikaya Gupta
f6fec4cdc7 Bug 1201569 - Remove unused fields. r=snorp 2015-09-08 14:04:42 -04:00
Michael Comella
5a2e205212 Bug 1199041 - Clarify comment in DrawableUtil. r=liuche 2015-09-01 16:26:19 -07:00
Allison Naaktgeboren
310a78f16b Bug 1201324 - Hide savedsearch feature in a nightly flag.r? 2015-09-08 09:54:21 -07:00
Carsten "Tomcat" Book
f76708346b merge mozilla-inbound to mozilla-central a=merge 2015-09-08 15:37:12 +02:00
Martyn Haigh
c2da5e6393 Bug 1201619 - Fix some tab tray dimen issues; r=mcomella 2015-09-03 18:47:58 +01:00
Prateek Arora
852f1655d8 Bug 1197441 - Remove BrowserToolbarBase.setButtonEnabled. r=mcomella 2015-09-01 22:12:31 +05:30
Gian-Carlo Pascutto
a87ceb68d3 Bug 1107372 - Update preferences for new SafeBrowsing prefs structure. r=francois 2015-09-08 08:22:10 +02:00
Wes Kocher
1ffac71f86 Merge m-c to b2ginbound, a=merge 2015-09-04 15:41:50 -07:00
Wes Kocher
f8ff1e61cb Merge inbound to central, a=merge 2015-09-04 15:34:42 -07:00
Fabrice Desré
bfcb2e2e41 Bug 1201145 - Make android intent & web activities coexist peacefully r=snorp 2015-09-04 14:06:49 -07:00
Fabrice Desré
486eb86701 Bug 1200513 - Route http(s) url to gaia r=snorp 2015-09-04 14:06:44 -07:00
Allison Naaktgeboren
da9b0cbd87 Bug 1200371 - ContentResolver.query()'s wildcard % not performing as expected.r=mcomella 2015-09-03 20:17:41 -07:00
Wes Kocher
49ee79c244 Merge m-c to fx-team, a=merge 2015-09-03 14:12:23 -07:00
Carsten "Tomcat" Book
bab23a9d3c Backed out changeset b317ee483a64 (bug 1107372) for causing test failures in test_home_provider.html 2015-09-03 17:02:20 +02:00
Kartikaya Gupta
67033a6721 Bug 1197824 - Remove/simplify more code in browser.js dealing with viewport metadata. r=snorp 2015-09-03 10:30:41 -04:00
Kartikaya Gupta
41b98b3a21 Bug 1197824 - Switch Fennec over to using the zoom constraints from Gecko. r=snorp
Now Fennec can use the message from Gecko with the zoom constraints and we can
delete a bunch of code that did the equivalent job in browser.js
2015-09-03 10:30:41 -04:00
Kartikaya Gupta
1f4c6a816d Bug 1197824 - Stop propagating the default zoom around unnecessarily. r=snorp
The default zoom value is only used on the Java side to clamp the min/max zoom
values in the case where zooming is disabled. We can do this much earlier in
the flow, when we are computing the metadata, and reduce the amount of
redundant information being passed around.
2015-09-03 10:30:40 -04:00
Kartikaya Gupta
f90caaab5c Bug 1201539 - Remove Fennec front-end code to deal with reflow-on-zoom. r=mfinkle 2015-09-04 11:49:48 -04:00
Florian Quèze
ecb2f187fc Bug 1169459 - remove the loadFromJars/jarURIs prefs, r=Mossop. 2015-09-04 11:50:49 +02:00
Gian-Carlo Pascutto
88e8796590 Bug 1107372 - Update preferences for new SafeBrowsing prefs structure. r=francois 2015-09-03 15:36:06 +02:00
Carsten "Tomcat" Book
a6ff6a0c61 merge mozilla-inbound to mozilla-central a=merge 2015-09-03 13:14:37 +02:00
Kartikaya Gupta
cb3b122036 Bug 1201217 - Don't fiddle with the resolution on tab switch when using APZ in fennec. r=rbarker 2015-09-02 16:31:06 -04:00
Carsten "Tomcat" Book
08015ac700 Merge mozilla-central to fx-team 2015-09-02 14:52:27 +02:00
Carsten "Tomcat" Book
81935f3431 merge mozilla-inbound to mozilla-central a=merge 2015-09-02 13:53:06 +02:00
dominique vincent
1dc9e98f9f Bug 1200177 - Form Assistant is not always correctly closed. r=mcomella 2015-08-31 14:28:58 +02:00
Sebastian Kaspari
56a9bf3fa2 Bug 1199596 - Only install "Parental Controls Theme" for restricted profiles and not guest profiles. r=ally
From browser.js's point of view there's no difference between restricted and guest profiles. Both use the
parental controls API. So there are only two "simple" solutions here:

* 1) Add a method to nsIParentalControlsService to determine whether the current profiles is a restricted or
  a guest profile (Something like isGuest()). But then every platform using this interface would require
  to at least implement a stub for this method.

* 2) Add a new restriction that controls installing the theme.

This patch implements option 2. While this restriction is not of much use besides deciding whether we need
to install a specialized theme (DISALLOW_DEFAULT_THEME), it still offers the most flexibility. In a
follow-up bug we could decide to make the restriction configurable by the device admin (requires localized
strings).
2015-08-31 18:09:42 +02:00
Sebastian Kaspari
26d61cfbf5 Bug 1196198 - Use ordered list to find new default panel. r=mhaigh 2015-08-31 14:26:46 +02:00
Sebastian Kaspari
32b4889eaa Bug 1199639 - Block access to about:addons for guest profiles. r=mhaigh 2015-08-28 16:37:35 +02:00
Sebastian Kaspari
cad54d5209 Bug 1195287 - Fix wrong colors in text selection toolbar on v21+. r=mhaigh
This patch creates a copy of the GeckoAppBase style in v21/themes.xml and removes
the custom icons for copy, cut and paste we use on v11+. Instead the system icons,
that match the look&feel of the ActionBar, will be used.
2015-08-28 16:22:11 +02:00
Sebastian Kaspari
d1f60fe006 Bug 1197721 - Restricted profiles: Hide "Display" menu items in non-"split pane" settings list too. r=mhaigh 2015-08-28 13:31:45 +02:00
Sebastian Kaspari
3385433bf5 Bug 1196708 - Restricted profiles: Hide Remove context menu item from Top Sites. r=mhaigh 2015-08-28 12:41:10 +02:00
Sebastian Kaspari
00eeeeb903 Bug 1197171 - Remove "Mark as read/unread" options from Top Sites grid view context menu. r=mhaigh 2015-08-28 10:02:25 +02:00
Sebastian Kaspari
58203743f2 Bug 1200151 - Restricted profiles: Hide developer tools based on restriction. r=ally 2015-08-31 13:52:32 +02:00
Margaret Leibovic
4c4a603dbb Bug 1190301 - Use compound drawables instead of ImageButton views for tab audio indicator. r=mhaigh 2015-08-24 10:12:06 -06:00
Margaret Leibovic
2085d0e695 Bug 1190301 - Enable tab audio indicator by default. r=mcomella 2015-08-24 09:30:00 -06:00
Margaret Leibovic
f3ec535d50 Bug 1190301 - Remove mute button functionality from tab audio indicator. r=mcomella 2015-08-24 08:55:43 -06:00
Michael Comella
a8dad1da57 Bug 1186020 - Convert download animation icons to white. r=liuche
To do this, I ran:
  convert <image> -alpha extract -alpha on <image>

The resultant images were slightly larger than their previous
counterparts so I then compressed them with ImageOptim.
2015-08-26 15:45:06 -07:00
Nick Alexander
a067f87693 No bug - Add |mach android| command. r=me
DONTBUILD NPOTB

This adds a pass-thru |mach android| command.  It's just here to make
it easier to add and remove Android SDK packages: since most folks
don't have the Android tools on their PATH, this saves them having to
root through the object directory to find the path to the tool.
2015-08-26 10:57:49 -07:00
Nick Alexander
2ae57f0216 No bug - Make project-wide default language level be Java 1.7 in IntelliJ. r=me
DONTBUILD NPOTB

Straight from http://stackoverflow.com/a/24751182 and the linked
IntelliJ tickets.
2015-08-21 16:16:16 -07:00
Ryan VanderMeulen
c1dcfb7c4c Merge m-c to fx-team. a=merge 2015-09-01 21:22:15 -04:00
Ryan VanderMeulen
92baa91037 Merge fx-team to m-c. a=merge 2015-09-01 21:15:09 -04:00
Allison Naaktgeboren
22e4820036 CLOSED TREE missing space in commit from Bug 1197054 2015-09-01 16:28:47 -07:00
Allison Naaktgeboren
8a23e8793a Bug 1197054 - Build changes to get rid of bookmarks.inc.r=nalexander 2015-09-01 15:52:26 -07:00
Allison Naaktgeboren
348dde3d42 Bug 1189719 - Recall and display search history within main browser UI.r=mcomella 2015-09-01 15:32:33 -07:00
Ryan VanderMeulen
65057a2bd1 Merge m-c to fx-team. a=merge 2015-09-01 15:20:21 -04:00