Brian Nicholson
01ee52648b
Bug 715388 - Don't show telemetry doorhanger for session restore. r=mfinkle
2012-01-09 11:51:07 -08:00
Margaret Leibovic
329c212bc4
Bug 714787 - When clearing site permissions, also clear content prefs that keep track of how many times a permission was granted. r=dougt
2012-01-06 16:48:29 -08:00
Ed Morley
23079e1cbb
Backout a9f4c0795560 (bug 715673), 05dfaf51fa83 (bug 715388) & af32a0da45c9 (bug 697858) for native Android test failures
2012-01-09 22:45:30 +00:00
Brian Nicholson
56d1151526
Bug 715673 - Hande browser-lastwindow-close events r=mfinkle
2012-01-09 11:56:30 -08:00
Brian Nicholson
ef65ebdaaf
Bug 715388 - Don't show telemetry doorhanger for session restore r=mfinkle
2012-01-09 11:51:07 -08:00
Brian Nicholson
2c9124a331
Bug 697858 - Save restore state in bundle [r=mfinkle]
2012-01-09 11:09:53 -08:00
Patrick Walton
a731c7e15a
Bug 708746 - Part 4: Remove viewport metadata updates that occur after the document is shown. r=mbrubeck
2012-01-06 16:42:47 -08:00
Patrick Walton
7fe42fef53
Bug 708746 - Part 3: Don't display a document until we've changed the browser size to match its viewport. r=kats
2012-01-06 16:42:46 -08:00
Patrick Walton
915dc13738
Bug 708746 - Part 2: Key viewport metadata to each content document instead of each tab. r=mbrubeck
2012-01-06 16:42:44 -08:00
Margaret Leibovic
ae3594e9a9
Bug 715730 - Flash app restarts after clicking a selection when click to play is turned on. r=mfinkle
2012-01-06 11:57:45 -08:00
Matt Brubeck
85277118d7
Bug 714789 - Don't show "Open in new tab" for non-openable links [r=mfinkle]
2012-01-06 11:44:33 -08:00
Wes Johnston
00c734c9d4
Bug 715303 - Fire focus when clicking select elements. r=mfinkle
2012-01-06 11:36:36 -08:00
Kartikaya Gupta
37a2ec2e34
Bug 715011 - Check the computed style instead of the element style to determine scrollableness. r=Cwiiis
2012-01-04 13:24:56 -05:00
Patrick Walton
37040a8f9f
Bug 709492 - Part 3: Tie viewport updates to drawing to avoid page transition flicker. r=kats
2012-01-03 22:55:04 -08:00
Patrick Walton
5d1122e7e9
Bug 709492 - Part 2: Forward the painting suppression flag from the presentation shell to the Android widget code. r=kats
2012-01-03 22:54:51 -08:00
Mark Finkle
817d2c46c9
Bug 711515 - Opening links from external apps doesn't work if session restore is active [r=mbrubeck]
2012-01-04 01:21:49 -05:00
Mark Finkle
e674c30132
Bug 714602 - Use defaultPrevented instead of the deprecated getPreventDefault() [r=mbrubeck]
2012-01-03 13:57:36 -05:00
Patrick Walton
d075492ab2
Backed out bug 709492 due to breakage with external urls. r=backout
2011-12-30 18:47:06 -05:00
Patrick Walton
2031047064
Bug 714230 - Unsuppress drawing for background tabs when they're shown. r=kats
2011-12-30 14:04:47 -08:00
Kartikaya Gupta
76e35d12eb
Bug 712761 - Fix returning incorrect object from openURI. r=dougt
2011-12-27 00:58:18 -05:00
Mark Finkle
422c8452a8
Bug 714234 - Handle window.close() via DOMWindowClose r=wesj
2011-12-30 14:48:21 -05:00
Kartikaya Gupta
60ba88826b
Bug 709924 - Adjust viewportExcess after scrollIntoView(). r=Cwiiis
...
We need to adjust the viewportExcess after calling scrollIntoView() because
Gecko may not properly scroll the item into view. This happens because
Gecko is unaware of the actual visible content area being affected by the
applied zoom.
2011-12-29 22:30:47 -05:00
Mark Finkle
adddb57f80
Bug 713887 - Javascript error when using the menu quit to quit fennec r=mbrubeck
2011-12-29 23:35:53 -05:00
Patrick Walton
92f6456e90
Bug 709492 - Part 5: Reset the metadata instead of updating it when a new page is shown. r=kats
2011-12-29 15:10:31 -08:00
Patrick Walton
0fff0f0bdd
Bug 709492 - Part 4: Hide the page when navigating, and expose it when the new page appears. r=kats
2011-12-29 15:10:30 -08:00
Patrick Walton
a09787cb39
Bug 709492 - Part 2: Implement draw suppression. r=kats
2011-12-29 15:10:27 -08:00
Julien Vermet
01974ead00
Bug 699543 - "Show a 'new tab' toast alert when opening a background tab" [r=mbrubeck]
2011-11-27 06:49:00 -08:00
Kartikaya Gupta
8b735d9513
Bug 710297 - Send page size updates to Java more often during load. r=Cwiiis
2011-12-27 00:57:27 -05:00
Geoff Lankow
c801a48c75
Backed out 3 changesets (bug 710297, bug 712386, bug 712761) for perma-orange on Android native m1 and m2
...
Backed out changeset 3b1e6033d3ff (bug 712761)
Backed out changeset bb41941cdf9d (bug 710297)
Backed out changeset d4f9960e286a (bug 712386)
2011-12-28 01:00:02 +13:00
Margaret Leibovic
ae82e69c1b
Bug 712588 - Clear location not available in 'Clear Site Settings' [r=mfinkle]
2011-12-22 11:50:44 -08:00
Mark Finkle
d58ced4180
Bug 713600 - MasterPassword helper is missing _tokenName [r=blassey]
2011-12-27 01:07:44 -05:00
Kartikaya Gupta
776d9d3ad3
Bug 712761 - Fix returning incorrect object from openURI. r=dougt
2011-12-27 00:58:18 -05:00
Kartikaya Gupta
bd69e07903
Bug 710297 - Send page size updates to Java more often during load. r=Cwiiis
2011-12-27 00:57:27 -05:00
Mark Finkle
c0153da69a
Bug 712414 - Throbber does not stop after running on pages that use document.write without document.close [r=mbrubeck]
2011-12-21 16:34:02 -05:00
Wes Johnston
a91160fa34
Bug 700527 - Master password support for native fennec. r=mfinkle
2011-12-21 13:08:01 -08:00
Patrick Walton
16beb9fe59
Bug 712527 - Save and restore the deck's selected panel when removing a tab. r=mfinkle
2011-12-20 21:13:20 -08:00
Brian Nicholson
7e66688065
Bug 697858 - Restore tabs from previous session, including history [r=mfinkle]
2011-12-20 20:41:45 -05:00
Margaret Leibovic
46a35a688e
Bug 710885 - In some cases tapping to activate Flash does not activate Flash. r=mfinkle
2011-12-20 13:26:01 -08:00
Margaret Leibovic
c793a7040f
Bug 710703 - Use "plugins" instead of "flash" in strings. r=mfinkle
2011-12-19 11:43:39 -08:00
Matt Brubeck
73adaab87c
Bug 699052 - Android back button should close the selected tab and return to the parent tab when possible [r=mfinkle]
2011-12-19 10:44:52 -08:00
Kartikaya Gupta
4b76dae543
Bug 711232 - Fix multiple useless zooms during page load. r=pcwalton
2011-12-16 17:01:02 -05:00
Kartikaya Gupta
6c2c87e744
Bug 708745 - Do a better job of opening new tabs. r=mfinkle
2011-12-16 17:01:03 -05:00
Wes Johnston
4dd5300b6c
Bug 708273 - Add save image support. r=mfinkle
2011-12-19 08:44:48 -08:00
Mark Finkle
a60f7d9bf4
Bug 711855 - Unable to access the Add-Ons Manager - URL is not valid and cannot be loaded [r=mbrubeck]
2011-12-19 01:28:44 -05:00
Matt Brubeck
dde6ccdccc
Merge mozilla-central to mozilla-inbound
2011-12-18 08:22:53 -08:00
Doug Turner
1961b6a4c9
Backout of de081ef87383
2011-12-17 21:52:36 -08:00
Doug Turner
f9a8bfd666
Backout of b407ff123b6f
2011-12-17 21:52:19 -08:00
Kartikaya Gupta
0da2ea7675
Bug 708745 - Do a better job of opening new tabs. r=mfinkle
2011-12-16 17:01:03 -05:00
Kartikaya Gupta
6400f16533
Bug 711232 - Fix multiple useless zooms during page load. r=pcwalton
2011-12-16 17:01:02 -05:00
Mark Finkle
4dd8e37e7b
Bug 703378 - Native Fennec executes javascript: urls pasted or typed into the awesome bar [r=mbrubeck]
2011-12-16 14:32:32 -05:00
Margaret Leibovic
497010a089
Bug 706876 - Create "Clear Site Settings" menuitem. r=mfinkle
2011-12-17 13:50:09 -08:00
Matt Brubeck
206f46bb11
Bug 703029 - Add text inflation font size prefs to the UI [r=mfinkle]
2011-12-15 10:43:56 -08:00
Matt Brubeck
3670abddbb
Bug 710578 - Pages without contentDocument cause JSON exception in handleLocationChange [r=mfinkle a=javascript]
2011-12-14 16:36:29 -05:00
Sriram Ramasubramanian
90c2cc8371
Bug 695444 - Form history autocomplete. r=mfinkle a=android-only
2011-12-06 16:44:08 -08:00
Margaret Leibovic
9e29357fce
Bug 707665 - Save as PDF option should be disabled for about:home and any XUL documents. r=mfinkle a=android-only
2011-12-13 16:23:35 -08:00
Wes Johnston
ae86d30802
Bug 697265 - Support clipboard operations in edit fields [r=mfinkle a=android-only]
2011-12-13 19:17:56 -05:00
Margaret Leibovic
a82ff315ba
Bug 702653 - Add prefs for flash activation on demand/always on/off. r=mfinkle a=no-cpp
2011-12-13 14:28:45 -08:00
Chris Lord
b77fdce4a3
Bug 708683 - Guard more rigorously against bad viewport updates. r=kats a=android-only
...
Check more values in browser.js when updating the viewport, and restructure
the JSON conversion in Java so that it's easier to tell what value caused a
bad viewport if it comes from Java.
2011-12-13 14:12:07 -05:00
Mark Finkle
57eedcd517
Bug 701374 - Show go or search icon in awesomescreen field, as appropriate [r=lucasr a=android-only]
2011-12-13 11:31:35 -05:00
Kartikaya Gupta
324193aaae
Bug 709805 - Avoid viewport changes on background tabs. r=pcwalton a=js-only
2011-12-12 13:53:39 -05:00
Mark Finkle
75c8d2510e
Bug 709048 - Over usage of haptic buzz [r=mbrubeck a=khuey]
2011-12-11 20:56:19 -05:00
Margaret Leibovic
490887fde0
Bug 708464 - Create click to play UI for fennec native. r=mfinkle
2011-12-09 14:04:19 -08:00
Wes Johnston
ddc29785e4
Bug 705145 - Multiple selection lists cannot be scrolled r=mfinkle
2011-12-09 12:03:21 -05:00
Patrick Walton
2249c14cc9
Bug 707935 - Prevent page size changes until document.readyState reads "complete". r=kats
2011-12-08 21:30:26 -08:00
Brian Nicholson
ee59b1d79f
Bug 708185 - Remove homepage preference [r=dougt]
2011-12-08 13:42:00 -08:00
Mark Finkle
d1feebd3b8
Bug 708379 - Haptic buzz when tapping on clickable elements [r=blassey]
2011-12-08 15:42:55 -05:00
Mark Finkle
20cda4349a
Bug 696433 - Improve link rel scanning for favicons [r=mbrubeck]
2011-12-08 08:56:43 -05:00
Mark Finkle
77aefa4612
Bug 704970 - Favicon missing on URL bar; visible in awesome screen [r=mbrubeck]
2011-12-08 08:56:41 -05:00
Mark Finkle
ef3ebad836
Bug 706882 - Bad viewport description on startup [r=mbrubeck]
2011-12-07 22:21:03 -05:00
Brian Nicholson
fdca4ff694
Bug 701376 - show search engine(s) when there are no/few awesomebar results [r=mfinkle]
2011-12-07 17:52:07 -08:00
Kartikaya Gupta
0118dfd530
Bug 707483 - (Cleanup) Remove some unused event listeners [r=mfinkle]
2011-12-06 13:56:17 -05:00
Kartikaya Gupta
86f6ec8f54
Bug 707483 - (Cleanup) Move tab-specific event handlers from BrowserEventHandler to Tab [r=mfinkle]
2011-12-06 13:53:10 -05:00
Kartikaya Gupta
968342ec65
Bug 707483 - Make javascript scrollTo work properly [r=pcwalton]
...
If a scroll event comes in that changes the scroll coordinates
from those that were last set by user scrolling in Java, then
update the Java viewport with the new coordinates. Note that
this may occur in the middle of a draw, when Gecko already has
the transaction lock acquired on the tile buffer. Therefore we
need to delay the update until after the draw is complete.
2011-12-06 13:50:21 -05:00
Chris Lord
3a9018b8c2
Bug 703573 - Make document sub-frames scrollable. r=kats
...
The new Java compositor only handles scrolling the top-level scroll-frame. Use
browser.js to detect when a sub-frame is being scrolled and send an 'override'
event to Java to tell it to pass us scroll events instead of calling the
scroll function on the LayerController.
2011-12-06 15:13:14 +00:00
Wes Johnston
03faadb678
Bug 697701 - Double tap zoom support. r=cwiiis
2011-11-15 13:41:19 -08:00
Kartikaya Gupta
ca310383d4
Bug 696319 - Scroll window as needed when soft keyboard is up [r=mfinkle]
...
Send an event to scroll to the focused input field when the
soft keyboard comes up. Ensure that this happens *after* the
viewport change event is sent to Gecko, so that Gecko actually
knows that browser viewport is smaller and doesn't just no-op
the scroll request.
2011-12-03 22:59:27 -05:00
Kartikaya Gupta
446c9f4861
Bug 707132 - Adjust viewport used for meta-viewport calculations [r=mbrubeck]
...
Calculate the viewport size based on the user-visible content area
and the zoom factor, rather than relying on the screen size, since
the screen size doesn't take into account things like the URL bar
and android chrome that may be visible.
2011-12-02 13:11:40 -05:00
Mark Finkle
9741f4dd0b
Bug 707015 - BrowserApp.addTab(aURI) doesn't put the new tab in the foreground [r=sriram]
2011-12-02 11:12:47 -05:00
Mark Finkle
1c14a5a24e
Bug 707014 - JavaScript Error: 'frame.frameElement is null' {file: 'chrome://browser/content/browser.js' line: 1856} [r=wesj]
2011-12-02 11:04:09 -05:00
Kartikaya Gupta
839d10d1a1
Bug 704690 - Scroll on in-page links [r=Cwiiis]
...
Force a viewport update to Java when there is an in-page
navigation, as this will change the scroll coordinates.
This includes splitting the existing sendViewportUpdate
function into two - one that does the update and the other
that just does the send.
2011-12-01 09:36:41 -05:00
Brad Lassey
32a48bfb11
bug 706658 - ennec defaults to about:support as a start page r=mfinkle
2011-11-30 21:28:05 -05:00
Matt Brubeck
ffd79c0df1
Bug 706705 - Fix "this.browser.contentDocument.body is null" error message [r=wesj]
2011-11-30 17:03:24 -08:00
Mark Finkle
633f56677a
Bug 706351 - Add support for Console API r=mbrubeck
2011-11-30 17:37:59 -05:00
Wes Johnston
712552b3b3
Bug 704579 - Tap highlights. r=cwiiis
2011-11-30 16:10:25 -05:00
Kartikaya Gupta
732704cfd5
Bug 706207 - Fix incorrect pageWidth in viewport update [r=dougt]
...
Missing pieces of the document resulted in pageWidth getting
assigned to NaN, which was serialized as null by JSON. This
resulted in an exception over in Java-land when deserialization
was attempted, and killed the viewport update entirely.
2011-11-30 14:22:40 -05:00
Matt Brubeck
3fd08560d7
Bug 706215 - Send viewport updates from JS when metadata changes [r=mfinkle]
2011-11-29 14:45:18 -08:00
Matt Brubeck
1ccfc047ef
Bug 706160 - Don't auto-scale frameset pages [r=mfinkle]
2011-11-29 12:58:31 -08:00
Brian Nicholson
7dc6886a4d
Bug 697857 - User Agent Switcher [r=mfinkle]
2011-11-29 10:43:29 -08:00
Matt Brubeck
e8179a3f68
Clean up whitespace in browser.js (no bug - whitespace-only change)
2011-11-29 09:42:43 -08:00
Matt Brubeck
392f22cf1c
Bug 694901 - (2/2) Set default zoom level based on viewport [r=mfinkle]
2011-11-29 09:35:26 -08:00
Matt Brubeck
13060b3cfe
Bug 694901 - (1/2) Set viewport size based on meta[name="viewport"] tag [r=mfinkle]
2011-11-29 09:35:26 -08:00
Kartikaya Gupta
84de7a77e9
Bug 702983 - Reset viewport on opening new tab [r=Cwiiis]
...
Track the last-known viewport size in browser.js, and
open new tabs with that size.
2011-11-29 09:58:54 -05:00
Kartikaya Gupta
350991bfac
Bug 704950 - Update viewport as needed [r=Cwiiis]
...
Force updates to the Java-side viewport from
browser.js when loading a new page and switching
tabs. Ensure the scroll position and zoom are also
reset when needed.
2011-11-29 09:58:43 -05:00
Doug Turner
f0ff52a0d2
Bug 701627 - slashdot.org doesn't fire MozScrolledAreaChanged events as the page gets bigger while loading. r=mfinkle
2011-11-28 21:40:53 -08:00
Brad Lassey
86b6bcc9a5
bug 704217 - Quit doesn't work before Gecko is up r=dougt
2011-11-24 02:04:26 -05:00
Chris Lord
0d4094f225
Bug 703141 - Try to draw aligned to the pixel grid. r=pcwalton
...
To stop bad-looking text/fuzzy images, try to draw aligned to the pixel grid.
2011-11-23 19:07:51 +00:00
Chris Lord
bf1ae74962
Bug 703141 - Reinstate zooming and add CSS zooming after viewport change. r=kats
...
This patch reinstates pinch-zooming and adds CSS re-scaling so that after
zooming, the page is rendered at the scaled resolution and you get clear text.
--HG--
rename : mobile/android/base/gfx/IntSize.java => mobile/android/base/gfx/FloatSize.java
2011-11-23 19:07:47 +00:00
Chris Lord
bfee9933b5
Bug 703141 - Refactor around the idea of a viewport and displayport. r=kats
...
This patch refactors the code to make some of the value names and ownership
clearer, and to add the idea of a 'viewport' within a 'displayport'. The
displayport is the area of the page which is visible to the underlying buffer
and the viewport is the area of the page which is visible through the
application window.
--HG--
rename : mobile/android/base/ui/ViewportController.java => mobile/android/base/gfx/ViewportMetrics.java
2011-11-23 19:07:29 +00:00
Margaret Leibovic
76fd94d2e8
Bug 701797 - (Part 1) Use download manager API in saveAsPDF to handle progress notifications. r=mfinkle
2011-11-22 16:46:10 -08:00
Mark Finkle
4ee4367b2a
Bug 696532 - Basic add-on manager support [r=wesj]
2011-11-22 01:12:59 -05:00