Commit Graph

71 Commits

Author SHA1 Message Date
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
Kartikaya Gupta
a82a546f57 Bug 704950 - Add a message to update the Java viewport [r=Cwiiis]
Add a Viewport:Update message that can be sent from browser.js
to the Java side to force an update to the viewport information.
2011-11-29 09:58:35 -05:00
Kartikaya Gupta
0d69c9733d Bug 704950 - Remove java guess to reset viewport [r=Cwiiis]
This removes the "mNewContent" java-side guess as to when
gecko has loaded new content.
2011-11-29 09:58:22 -05:00
Mark Finkle
710acf764f Backout beea574981d2, e3266cb5a2a7 - tree is burning (no bug) 2011-11-29 08:42:22 -05:00
Brad Lassey
2e347ceb4e follow up to bug 701380 to fix build bustage r=me 2011-11-29 08:13:03 -05:00
Brad Lassey
3819538c94 bug 701380 - Implement a native about:home (start page) r=mfinkle 2011-11-29 01:38:35 -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
Steffen Wilberg
965d5487e6 Bug 703920: In about:config, filter prefs when pressing the enter key, and close the keyboard. Remove the Filter button. r=mfinkle 2011-11-28 21:04:42 +01:00
Lucas Rocha
cbb49e6d66 Bug 705105 - Only dismiss VKB when selecting lazy-loaded tabs in AwesomeBar (r=mfinkle) 2011-11-28 10:34:54 +00:00
L. David Baron
7fcbca9d91 Turn down the sizing for font inflation a bit (bug 627842), at least until we sort out Android dpi issues. (Bug 705278) 2011-11-27 11:42:19 -08:00
Alex Pakhotin
51aa142c96 Bug 704721 - [ICS/Honeycomb] - VKB backspace key dismisses keyboard and deletes two characters only on the URL bar. r=blassey 2011-11-24 18:19:52 -08:00
L. David Baron
2111bcaa30 Enable font size inflation for Android native mobile browser. (Bug 627842, patch 18)
This applies the same patch made to the default preferences of XUL
fennec (mobile/xul/app/mobile.js) in Bug 627842, patch 4 (changeset
d3e230bec2f9, r=roc) to the default preferences of Android Fennec.
2011-11-24 15:40:14 -08:00
Steffen Wilberg
a809d8e5ac Bug 703923 follow-up: remove trailing whitespace from config.xhtml. rubber-stamp-r=mfinkle 2011-11-24 19:40:25 +01:00
Steffen Wilberg
7be5ab1cd6 Bug 703923: Disable 'Reset' buttons in about:config on prefs with default values. r=mfinkle 2011-11-24 19:37:40 +01:00
Lucas Rocha
ab3c69ab8f Bug 701374 - Show go or search icon in awesomescreen entry (r=mfinkle) 2011-11-24 16:54:39 +00:00
Chris Lord
fc33ada9d6 Bug 704516 - Blacklist HTC's flash-lite plugin. r=snorp
Not sure what HTC's plugin does, but it breaks the usage of the Adobe Flash
plugin for us, so blacklist it.
2011-11-24 11:29:15 +00:00
Alex Pakhotin
a392116882 Bug 704156 - Unable to overwrite selection in awesome bar using HKB. r=blassey 2011-11-23 23:11:06 -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
Doug Turner
4202a9562a no bug - revert content sink perfs back. r=mfinkle 2011-11-23 20:53:50 -08:00
Doug Turner
dfdfd8ebfb Bug 705020 - drop enable-js-diagnostics flag from nightly mozconfig. r=mbrubeck 2011-11-23 17:08:42 -08:00
Doug Turner
dc36e628ff Bug 704898 - Reenable elfhack. r=mbrubeck
--HG--
extra : rebase_source : 7f92377a1786fb9b920e4c6ca4a6c8b18ae3a742
2011-11-23 15:41:41 -08:00
Sriram Ramasubramanian
9e30346ac5 Bug 702264: Patch 2: Honeycomb/ICS needs action bar support [r=mfinkle] 2011-11-23 11:04:47 -08:00
Sriram Ramasubramanian
021960d0d0 Bug 702264: Patch 1: Fixing the styles and themes for ICS [r=mfinkle] 2011-11-23 00:01:38 -08:00
Chris Lord
9fedb8cff5 Bug 703141 - Remove bogus viewport reply tracking. r=kats
If we sent a viewport to Gecko that causes no change in what's drawn on the
screen, we wouldn't receive a reply and this would cause us to deadlock until
a redraw happens for some other reason.

As viewport changes are throttled at max 1 per 350ms, just remove this check.
After IRC discussion, it was deemed unnecessary.
2011-11-23 20:04:05 +00:00
Chris Lord
87c7f83f90 Bug 703141 - Restore usage of the redraw hint. r=kats
Earlier patches mistakenly removed the redraw hint. This restores it, and
alters its behaviour to work correctly with regards to the viewport. This
should help mitigate some checker-boarding and performance issues when panning
and zooming.
2011-11-23 19:08:20 +00:00
Chris Lord
e1f427eb2e Bug 703141 - Fix plugin positioning and sizing. r=kats, pcwalton
This fixes plugin position/size in the new displayport-viewport scheme.
2011-11-23 19:08:11 +00: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
Doug Turner
94fd52e120 Bug 689713 - Warm up the DNS cache in Java when launching with a URL intent. r=blassey 2011-11-23 00:43:08 -08:00
Patrick Walton
731b3a3fc8 Bug 699303 - Kinetic panning need to stop more sharply. r=dougt 2011-11-22 22:01:45 -08:00
Jim Chen
feab7df664 Bug 704414 - Remove debug button and wait 5s in native UI; r=dougt 2011-11-22 01:56:55 -05: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
Margaret Leibovic
fc969160bf Bug 703630 - Disable share menuitem for certain protocols. r=blassey 2011-11-22 16:44:58 -08:00
Margaret Leibovic
7c4ce16fa9 Bug 703922 - Toggle boolean prefs with one click (and fix typo that broke pref types). r=mfinkle 2011-11-22 16:44:04 -08:00
Doug Turner
f35c0f213e no bug. Disable saving last screenshot until http://code.google.com/p/android/issues/detail?id=16941 is worked around 2011-11-22 13:44:44 -08:00
Doug Turner
3a1c4e5614 no bug. revert some of the birch changes. r=glandium 2011-11-22 13:21:23 -08:00
Doug Turner
3640ceaf27 Merge with mozilla-central 6f998cc964be
--HG--
rename : embedding/android/GeckoApp.java => mobile/android/base/GeckoApp.java
2011-11-22 12:48:22 -08:00
Lucas Rocha
aa01c77c08 Bug 703602 - Close cursor when getting favicon URL (r=kats) 2011-11-22 14:07:47 +00:00
Mark Finkle
4ee4367b2a Bug 696532 - Basic add-on manager support [r=wesj] 2011-11-22 01:12:59 -05:00
Alex Pakhotin
3ca50b0d12 Bug 701947 - VKB does not appear when tapping into an iframe text box. r=mfinkle 2011-11-21 20:15:05 -08:00
Sriram Ramasubramanian
f9fb23a50e Bug 703803: Black bar in Honeycomb awesomebar r=mfinkle 2011-11-21 15:41:50 -08:00
Kartikaya Gupta
78ba8c0530 Bug 704225 - Don't dismiss an undisplayed dialog [r=mfinkle] 2011-11-21 18:16:22 -05:00
Kartikaya Gupta
ce1d19dc0a Bug 701351 - Add scroll indicators [r=pcwalton]
Add blocky scroll indicators to the java compositor.
2011-11-21 18:15:29 -05:00
Kartikaya Gupta
4a0bb1f169 Bug 701351 - Back out 0aeaa4995892 (XUL scrollbars) [r=mfinkle]
This removes the XUL scrollbars introduced in bug 695569, as
they no longer work with the layers code.
2011-11-21 18:15:29 -05:00
Sriram Ramasubramanian
a22b6c6c49 Bug 702619: Closing tabs faster causing NPE. [r=mfinkle] 2011-11-21 12:21:10 -08:00
Margaret Leibovic
3cff4e95c8 Bug 703765 - The updatePopup call after Tab:Close can result in a NPE. r=mfinkle 2011-11-21 14:24:24 -08:00
Kartikaya Gupta
c7cbaca86e Bug 699937 - Prevent getting stuck in overscroll [r=Cwiiis]
Tapping while the page is in overscroll cancels the snap
back and leaves the page stuck in overscroll. To fix,
ensure we always try a snapback when the user removes their
finger.
2011-11-21 15:26:45 -05:00
Kartikaya Gupta
d583e84389 Bug 699937 - (Cleanup) Remove unused timestamp values [r=Cwiiis] 2011-11-21 15:26:45 -05:00