Commit Graph

3981 Commits

Author SHA1 Message Date
Kartikaya Gupta
443dea1aa5 Bug 706614 - Catch OOM generating thumbnails [r=mbrubeck]
Prevent an out-of-memory error while generating a thumbnail
from taking down the entire application.
2011-12-03 22:54:05 -05:00
Sriram Ramasubramanian
5582ae25b3 Bug 705041: Verify error in pre-honeycomb versions for ActionBar [r=mfinkle] 2011-11-30 13:30:02 -08:00
Sriram Ramasubramanian
d8baed1d4b Bug 703656: Optimize tab adapter in TabsTray [r=mfinkle] 2011-11-22 12:32:45 -08:00
Kartikaya Gupta
a69a9e30dc Bug 707285 - Disallow browser.js from overriding viewport size [r=pcwalton]
Don't allow Gecko to set the viewport size because Java knows
this better. Allowing this behaviour could result in Bad Things(TM)
under certain race conditions such as described in bug 707285.
2011-12-03 10:56:39 -05:00
Alex Pakhotin
d82ac0e9de Bug 705457 - Tab key should move focus to the next field in a form. r=blassey 2011-11-30 11:25:17 -08:00
Lucas Rocha
52b1dd6e45 Backout 839f36123bce (bug 704490) for Try failure 2011-12-02 18:38:46 +00:00
Kartikaya Gupta
198e445505 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
Lucas Rocha
9f79e9c188 Bug 704490 - Abstract all bookmark/history access behing a common API (r=blassey) 2011-12-02 17:27:56 +00:00
Lucas Rocha
37ed412cf6 Bug 705212 - Update go/search icon on AwesomeBar for ICS/Honeycomb (r=mfinkle) 2011-12-02 16:49:28 +00:00
Lucas Rocha
9707206ccc Bug 706550 - Rename "All Sites" tab to "Top Sites" in AwesomeBar (r=mfinkle) 2011-12-02 16:47:42 +00:00
Lucas Rocha
39351308a7 Bug 706848 - Remove unused imports from AwesomeBar and AwesomeBarTabs (r=mfinkle) 2011-12-02 16:44:28 +00:00
Lucas Rocha
3e78a0807c Bug 706848 - Remove unnecessary @Override instances from AwesomeBarTabs (r=mfinkle) 2011-12-02 16:44:26 +00:00
Mark Finkle
d48af11cfe 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
f1328d9ec3 Bug 706644 - Going back from about:home still displays about:home [r=blassey] 2011-12-02 11:12:43 -05:00
Mark Finkle
9a77159dea 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
Brad Lassey
e30512cbdb merge birch to mozilla-central
--HG--
rename : embedding/android/GeckoBatteryManager.java => mobile/android/base/GeckoBatteryManager.java
2011-12-06 13:55:36 -05:00
Brian Nicholson
ac7e4b15f3 Bug 705725 - Move preferences getting out of the startup path [r=dougt] 2011-12-01 17:27:11 -08:00
Brad Lassey
5689f095b7 bug 706901 - follow up to fix bad merge r=me 2011-12-01 19:02:05 -05:00
Brad Lassey
c0cdd1991c bug 706901 - Get generating screenshot off the main thread if possible r=dougt 2011-12-01 17:54:19 -05:00
Brad Lassey
ae000b5126 bug 706822 - Delay when opening the AwesomeScreen and intermittent UI pauses when scrolling through listing of items r=dougt 2011-12-01 17:53:02 -05:00
Brad Lassey
7a912a3ab1 bug 701791 - startup: android.view.MotionEvent.getActionMasked on Sony Ericsson Xperia x10i (NPE's) r=dougt 2011-12-01 17:47:40 -05:00
Patrick Walton
e98c0ea719 Bug 705170 - Use OES_draw_texture to render textures to the screen. r=Cwiiis 2011-12-01 14:05:41 -08:00
Mark Finkle
ee41b52022 Bug 706830 - pressing 'back' doesn't return user to about:home [r=mbrubeck] 2011-12-01 15:12:45 -05:00
Chris Lord
fcc9f69952 Bug 706615 - Panning motion slows, then jerks. r=kats
The velocity filter patch from bug #705114 changed how displace worked during
panning, but this accidentally changed how it worked in some non-panning
situations (such as at the end of a fling or snap animation).
2011-12-01 19:27:50 +00:00
Kartikaya Gupta
dda6a2f2ad Bug 704690 - Abort flings on gecko viewport update [r=Cwiiis]
If the Java code is in the middle of a fling when Gecko sends
a viewport update, abort the fling, cancel the velocity, and
re-fling. The re-fling is purely to get the page snapped to an
edge if needed.
2011-12-01 09:37:37 -05:00
Kartikaya Gupta
ccc8348e7b 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
Doug Turner
90a5064d29 merge with m-c 1900e3edd32d 2011-11-30 22:30:21 -08:00
Brad Lassey
c6bb01a8e6 bug 706383 - Save screenshot in bundle, adjust indentation r=dougt 2011-11-30 21:31:41 -05:00
Brad Lassey
1e66378a55 bug 706658 - ennec defaults to about:support as a start page r=mfinkle 2011-11-30 21:28:05 -05:00
Brad Lassey
bee6223eb3 bug 705993 - read recommended-addons.json from the profile dir r=mfinkle 2011-11-30 21:28:05 -05:00
Brad Lassey
7a0c8e8d0d bug 706393 - Add API to GeckoApp to get profile dir r=mfinkle 2011-11-30 21:28:05 -05:00
Brad Lassey
3698f79b04 bug 706383 - Save screenshot in bundle, clean up old unused code r=dougt 2011-11-30 21:28:05 -05:00
Brad Lassey
5fb54118ff bug 706383 - Save screenshot in bundle r=dougt 2011-11-30 21:28:05 -05:00
Brad Lassey
7b84124a56 bug 704022 - PlaceholderLayerClient OOM at ByteBuffer.allocateDirect r=dougt 2011-11-30 21:28:04 -05:00
Matt Brubeck
4778ca4038 Bug 706705 - Fix "this.browser.contentDocument.body is null" error message [r=wesj] 2011-11-30 17:03:24 -08:00
Mark Finkle
bb7023e142 Bug 706351 - Add support for Console API r=mbrubeck 2011-11-30 17:37:59 -05:00
Wes Johnston
0e1b36a437 Bug 704579 - Tap highlights. r=cwiiis 2011-11-30 16:10:25 -05:00
Wes Johnston
0a63e02a8c Bug 705505 - Extend panzoom threshold. r=kats 2011-11-30 16:10:22 -05:00
Kartikaya Gupta
d2b1f74489 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
Steffen Wilberg
a137115608 Bug 706272: Vertically align (center) the Clear button in about.config. r=mfinkle 2011-11-30 19:34:18 +01:00
Chris Lord
dc4c4696ff 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
d0da5dbcd5 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
2a9de63f03 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
491f40f206 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
515ffb4b4b 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
caaa7ad208 bug 704307 - strictmode Disk read Violation when loading awesomebar r=dougt 2011-11-29 22:54:07 -05:00
Brad Lassey
f3e0f2f6bb bug 705402 - Save thumbnails in the history DB r=dougt 2011-11-29 22:54:07 -05:00
Brad Lassey
51d42cb870 bug 706325 - add thumbnails to tab objects r=dougt 2011-11-29 22:54:07 -05:00
Doug Turner
ffd2ca8cc0 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
91903e02a3 bug 705726 - No need to schedule redraw when conntecting gecko. r=pwalton 2011-11-29 16:29:16 -08:00