Commit Graph

66 Commits

Author SHA1 Message Date
Brad Lassey
690edac9e0 bug 706383 - Save screenshot in bundle r=dougt 2011-11-30 21:28:05 -05:00
Brad Lassey
e37fccddf5 bug 704022 - PlaceholderLayerClient OOM at ByteBuffer.allocateDirect r=dougt 2011-11-30 21:28:04 -05:00
Wes Johnston
53f126bec4 Bug 704579 - Tap highlights. r=cwiiis 2011-11-30 16:10:25 -05:00
Wes Johnston
c9b2105a53 Bug 705505 - Extend panzoom threshold. r=kats 2011-11-30 16:10:22 -05:00
Kartikaya Gupta
da116c45a0 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
Chris Lord
307be0441c Bug 705171 - Render when necessary, instead of continuously. r=kats,pcwalton
Set the render mode to RENDERMODE_WHEN_DIRTY and request a redraw when a layer
transaction ends and when the viewport in LayerController changes. This stops
us from drawing continuously.
2011-11-30 17:27:13 +00:00
Chris Lord
d00ca6f79c Bug 705114 - Filter velocity changes for kinetic panning. r=kats
Certain devices, such as the HTC Flyer, deliver motion events with identical
coordinates before a touch-release event. This causes kinetic panning to fail,
as the calculated velocity is only based on the last two events.

Introduce a velocity change factor, so that the velocity can only change by a
certain amount per event. This has the effect of smoothing velocity changes
and fixes the bug on the HTC Flyer, at least.
2011-11-30 11:32:49 +00:00
Doug Turner
a3e7dac5b5 no bug - more exceptions on ics. This block also throws a android.database.sqlite.SQLiteException. I am just going to catch everything for now. r=me 2011-11-30 00:13:36 -08:00
Brad Lassey
5f5d2704af no bug - fix crashing when we unregister an sms handler that isn't registered r=dougt 2011-11-30 01:57:04 -05:00
Doug Turner
eda415d74d no bug - Add try-catch blocks to the stuff that is throwing caused by 9aa68bb7be35 and 9a578e5405f5. r=me 2011-11-29 22:02:55 -08:00
Brad Lassey
8162819b01 bug 704307 - strictmode Disk read Violation when loading awesomebar r=dougt 2011-11-29 22:54:07 -05:00
Brad Lassey
fd1a67b876 bug 705402 - Save thumbnails in the history DB r=dougt 2011-11-29 22:54:07 -05:00
Brad Lassey
8fa901c3ce bug 706325 - add thumbnails to tab objects r=dougt 2011-11-29 22:54:07 -05:00
Doug Turner
0a640468d8 Merge with mozilla-central 95bca70369ef
--HG--
rename : embedding/android/AndroidManifest.xml.in => mobile/android/base/AndroidManifest.xml.in
rename : embedding/android/GeckoApp.java => mobile/android/base/GeckoApp.java
rename : embedding/android/GeckoAppShell.java => mobile/android/base/GeckoAppShell.java
rename : embedding/android/GeckoEvent.java => mobile/android/base/GeckoEvent.java
rename : embedding/android/GeckoSmsManager.java => mobile/android/base/GeckoSmsManager.java
rename : embedding/android/Makefile.in => mobile/android/base/Makefile.in
2011-11-29 20:58:39 -08:00
Doug Turner
f366c56d8b bug 705726 - No need to schedule redraw when conntecting gecko. r=pwalton 2011-11-29 16:29:16 -08:00
Doug Turner
22dd926d47 Backing out 09ad1564cd78. Wrong patch. 2011-11-29 16:27:23 -08:00
Brad Lassey
993aad8807 bug 701380 - follow up to fix buring r=me 2011-11-29 18:54:27 -05:00
Brad Lassey
7842ed81b5 bug 701380 - Implement a native about:home (start page) r=mfinkle
--HG--
extra : rebase_source : 3b61498dc4a17fbec21531bd831994f81fb85532
2011-11-29 01:38:35 -05:00
Doug Turner
96cd9b3757 bug 705726 - No need to schedule redraw when conntecting gecko. r=pwalton
--HG--
extra : rebase_source : 684e1bd83e010b213416c5bb715c16c07c3b74ea
2011-11-29 15:30:33 -08:00
Brian Nicholson
5c4e1e6a80 Bug 697857 - User Agent Switcher [r=mfinkle] 2011-11-29 10:43:29 -08:00
Kartikaya Gupta
37965779eb 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
81e4d56a16 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
ecf24f982e Backout beea574981d2, e3266cb5a2a7 - tree is burning (no bug) 2011-11-29 08:42:22 -05:00
Brad Lassey
b8b507dcad follow up to bug 701380 to fix build bustage r=me 2011-11-29 08:13:03 -05:00
Brad Lassey
46bfa5de8b bug 701380 - Implement a native about:home (start page) r=mfinkle 2011-11-29 01:38:35 -05:00
Lucas Rocha
24e4fc2171 Bug 705105 - Only dismiss VKB when selecting lazy-loaded tabs in AwesomeBar (r=mfinkle) 2011-11-28 10:34:54 +00:00
Alex Pakhotin
2ff4314077 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
Lucas Rocha
14a33e25d6 Bug 701374 - Show go or search icon in awesomescreen entry (r=mfinkle) 2011-11-24 16:54:39 +00:00
Chris Lord
e1bb35b515 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
275a6a5c8e Bug 704156 - Unable to overwrite selection in awesome bar using HKB. r=blassey 2011-11-23 23:11:06 -08:00
Brad Lassey
e22e225291 bug 704217 - Quit doesn't work before Gecko is up r=dougt 2011-11-24 02:04:26 -05:00
Sriram Ramasubramanian
19a30c4375 Bug 702264: Patch 2: Honeycomb/ICS needs action bar support [r=mfinkle] 2011-11-23 11:04:47 -08:00
Sriram Ramasubramanian
cedb71c5cc Bug 702264: Patch 1: Fixing the styles and themes for ICS [r=mfinkle] 2011-11-23 00:01:38 -08:00
Chris Lord
ff98b1c36d 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
133e2a7438 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
3bc8eb0f77 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
2215a89fc3 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
43d46bf721 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
8947fea4fd 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
0239539b27 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
40f99fd608 Bug 699303 - Kinetic panning need to stop more sharply. r=dougt 2011-11-22 22:01:45 -08:00
Jim Chen
2428877ca6 Bug 704414 - Remove debug button and wait 5s in native UI; r=dougt 2011-11-22 01:56:55 -05:00
Margaret Leibovic
f4a6275a37 Bug 703630 - Disable share menuitem for certain protocols. r=blassey 2011-11-22 16:44:58 -08:00
Doug Turner
a16047fbe4 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
cb49e80219 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
3cd78443a9 Bug 703602 - Close cursor when getting favicon URL (r=kats) 2011-11-22 14:07:47 +00:00
Sriram Ramasubramanian
bfc25d5ab2 Bug 703803: Black bar in Honeycomb awesomebar r=mfinkle 2011-11-21 15:41:50 -08:00
Kartikaya Gupta
c890086112 Bug 704225 - Don't dismiss an undisplayed dialog [r=mfinkle] 2011-11-21 18:16:22 -05:00
Kartikaya Gupta
1fa479b70e Bug 701351 - Add scroll indicators [r=pcwalton]
Add blocky scroll indicators to the java compositor.
2011-11-21 18:15:29 -05:00
Sriram Ramasubramanian
7e3234a633 Bug 702619: Closing tabs faster causing NPE. [r=mfinkle] 2011-11-21 12:21:10 -08:00