Commit Graph

357 Commits

Author SHA1 Message Date
Mark Finkle
3fc456040e Bug 709103 - Optimize creating and saving thumbnail bitmaps (OOM fix) r=kats a=java-only 2011-12-12 15:04:59 -05:00
Chris Lord
51e3c16d50 Bug 705092 - Kinetic scrolling is too slow. r=pcwalton a=java-only
This introduces a friction factor, so that the deceleration is relative to
the current velocity. Now, the faster you scroll, the slower the view
decelerates, allowing you to page through longer pages easier.
2011-12-12 18:56:15 +00:00
Kartikaya Gupta
000efbc764 Bug 709805 - Avoid viewport changes on background tabs. r=pcwalton a=js-only 2011-12-12 13:53:39 -05:00
Kartikaya Gupta
6f7f212151 Bug 704738 - Resize page content on device rotation. r=Cwiiis a=java-only
Some cleanup: ensure we abort and re-bounce the viewport
if the device is rotated during a double-tap zoom. Also
rename variables to be more appropriate
2011-12-12 11:22:34 -05:00
Mark Finkle
07b82a9779 Bug 709103 - Optimize creating and saving thumbnail bitmaps r=blassey a=java-only 2011-12-12 13:50:35 -05:00
Brad Lassey
3a1dd2d282 bug 706574 - show native about:home in onCreate() r=dougt a=blassey, java only 2011-12-12 12:57:04 -05:00
Kartikaya Gupta
83ac728832 Bug 708683 - Improve JSON generation by using JSONStringer. r=pcwalton a=java-only 2011-12-09 22:58:10 -05:00
Kartikaya Gupta
b1ca40ea1a Bug 708683 - Fix NaN viewport values. r=pcwalton
The zero page width and height values were
causing the zoom scale to go to Infinity, introducing
all sorts of badness in the viewport values.
2011-12-09 22:57:57 -05:00
Mark Finkle
1889190bef Backout 03ed6af51318, c65be44ac489, 0ce8da61c6cc, bcc015450e7a because of mochitest failures r=mfinkle a=mfinkle 2011-12-12 09:02:01 -05:00
Doug Turner
7c49e9b41d Bug 709658 - Do not startup GL until we are ready to paint something. r=blassey a=cjones
--HG--
extra : rebase_source : dc1453f8e5cba91d2dd6b430b63a2ca2e4624db0
2011-12-12 17:09:40 +08:00
Doug Turner
73940d0817 Bug 709595 - Add a name for each java thread and timer to aide with debugging. r=blassey
--HG--
extra : rebase_source : 552494a1086e706109296ca4c503c1d75796d852
2011-12-12 16:27:35 +08:00
Doug Turner
d50a058c40 Bug 708280 - delay checking checking for update until idle to avoid startup path. r=mfinkle
--HG--
extra : rebase_source : 1d3a07f4416918bd5ab71b7eaff54c63e9ffd1e4
2011-12-12 16:27:34 +08:00
Doug Turner
3acfb7a1e5 Bug 708200 - Do not create timer to fire geckoLoaded. r=blassey
--HG--
extra : rebase_source : a1a40df2375d9258c4179a8cb520dc65fb023d16
2011-12-12 16:27:34 +08:00
Richard Newman
1d2040cab9 Bug 709432 - don't unconditionally replace inserted record GUIDs. r=blassey, a=blassey (Java-only) 2011-12-11 22:24:40 -08:00
Mark Finkle
779081a42a Bug 709048 - Over usage of haptic buzz [r=mbrubeck a=khuey] 2011-12-11 20:56:19 -05:00
Chris Peterson
5a675f9b40 Bug 706984 - Check whether profile directory exists to avoid NullPointerException. r=dougt a=khuey 2011-12-09 16:22:46 -08:00
Brad Lassey
647951bed7 bug 709267 - relative STRINGSPATH in mobile/android/base/locales is broken r=khuey 2011-12-09 16:21:33 -05:00
Margaret Leibovic
45b9a679f1 Bug 708464 - Create click to play UI for fennec native. r=mfinkle 2011-12-09 14:04:19 -08:00
Kartikaya Gupta
1886fd70e9 Bug 704784 - Fade scrollbars when content stops moving [r=pcwalton] 2011-12-09 16:05:24 -05:00
Kartikaya Gupta
d8bfd1e721 Bug 704784 - Tweak scrollbars to look nicer [r=pcwalton]
Scrollbars now have rounded endcaps, are a little smaller, and there
is a 1-pixel gap between the bar and the edge of the viewport. Just
generally making them look nicer.
2011-12-09 15:58:36 -05:00
Patrick Walton
891ca8a49d Bug 708947 - Repair overscroll resistance, and add overscroll resistance when zooming. r=kats 2011-12-09 12:06:15 -08:00
Patrick Walton
bbf5b6e455 Bug 708928 - Don't render when a finger is down. r=Cwiiis 2011-12-09 12:06:10 -08:00
Patrick Walton
1364a4dcca Bug 708921 - Bounce back during overscroll when the magnitude of the velocity vector exceeds the stopped threshold. r=kats 2011-12-09 12:06:06 -08:00
Wes Johnston
f045cb0b7d Bug 705145 - Multiple selection lists cannot be scrolled r=mfinkle 2011-12-09 12:03:21 -05:00
Wes Johnston
994afc9cb8 Bug 706146 - Limit how far we can zoom into a page r=chrislord 2011-12-09 12:03:19 -05:00
Patrick Walton
e3e31fa399 Bug 708519 - Pref off the frame rate meter r=kats 2011-12-09 10:01:31 -05:00
Patrick Walton
8b55bb8f19 Bug 708519 - Move the frame rate meter to bottom-right r=kats 2011-12-09 10:01:28 -05:00
Patrick Walton
0d2ad420dc Bug 708519 - Repair the frame rate meter r=kats 2011-12-09 10:01:26 -05:00
Mounir Lamouri
78503a17d3 Bug 706449 - Fix SMS receiver registration/unregistration that was broken with a m-c merge in birch. r=blassey 2011-12-09 19:31:01 +08:00
Patrick Walton
36a666a157 Bug 705358 - Don't allow fully-zoomed-out axes to be overscrolled. r=kats 2011-12-08 21:31:04 -08:00
Patrick Walton
5d9395a5c4 Bug 707935 - Prevent page size changes until document.readyState reads "complete". r=kats 2011-12-08 21:30:26 -08:00
Lucas Rocha
3ac2a5da7f Bug 708879 - Handle OOM error when loading thumbnail in about:home (r=mbrubeck) 2011-12-09 00:29:09 +00:00
Brian Nicholson
df2410b05f Bug 708808 - Cleanup for locale preference [r=mfinkle] 2011-12-08 14:14:44 -08:00
Sriram Ramasubramanian
c8220d6913 Bug 708394: Remove unwanted LayoutInflater [r=mfinkle] 2011-12-07 15:12:51 -08:00
Sriram Ramasubramanian
2df3d58a93 Bug 707682: NPE while switching/closing tabs [r=mfinkle] 2011-12-06 14:51:08 -08:00
Brian Nicholson
27aa1654be Bug 708185 - Remove homepage preference [r=dougt] 2011-12-08 13:42:00 -08:00
Sriram Ramasubramanian
64fd0146ee Bug 705481: Action bar background should extend below the menu button [r=mfinkle] 2011-12-08 12:18:45 -08:00
Mark Finkle
168c7cca25 Bug 708379 - Haptic buzz when tapping on clickable elements [r=blassey] 2011-12-08 15:42:55 -05:00
Matt Brubeck
c6aa3b8a5b Bug 708076 - Clean up redundant components in AboutRedirector.js [r=mfinkle]
--HG--
extra : rebase_source : 38525ed687358cd99de2c4593fa13e0b806b2b44
2011-12-08 09:37:57 -08:00
Matt Brubeck
6d98f000e6 Bug 698593 - (3/3) Override "about:" to redirect to the mobile about page [r=mfinkle]
--HG--
extra : rebase_source : b143ad5379a82b9b591063df41f8b2d1caebef70
2011-12-08 09:37:57 -08:00
Matt Brubeck
dcc9969770 Bug 698593 - (2/3) Add the "About Firefox" preference [r=sriram]
--HG--
extra : rebase_source : 62fbe6413ba5626d521d2ada7ac2d4ab03ff9c5c
2011-12-08 09:37:57 -08:00
Matt Brubeck
5442d8e4bc Bug 698593 - (1/3) Reorganize and clean up the Android preferences screen [r=sriram]
--HG--
extra : rebase_source : 218f65b9f6c763d63fa1628cae7ebda291dcbe19
2011-12-08 09:37:57 -08:00
Lucas Rocha
506997e220 Bug 704490 - Introduce new local bookmarks/history database (r=blassey)
Local DB is disabled by default for now.
2011-12-08 16:37:21 +00:00
Lucas Rocha
beb6791262 Bug 704490 - Add API to get directory for any given profile (r=mfinkle)
And make it public to be accessible from other packages.
2011-12-08 15:52:45 +00:00
Lucas Rocha
8164a18e67 Bug 704490 - Abstract all bookmark/history access behing a common API (r=blassey) 2011-12-02 17:27:56 +00:00
Mark Finkle
1b8b383ddc Bug 708525 - about: pages do not load favicons [r=lucasr] 2011-12-08 08:56:45 -05:00
Mark Finkle
4f76153bcc Bug 696433 - Improve link rel scanning for favicons [r=mbrubeck] 2011-12-08 08:56:43 -05:00
Mark Finkle
384b178ad2 Bug 704970 - Favicon missing on URL bar; visible in awesome screen [r=mbrubeck] 2011-12-08 08:56:41 -05:00
Mark Finkle
71f0fca61f Bug 706882 - Bad viewport description on startup [r=mbrubeck] 2011-12-07 22:21:03 -05:00
Brian Nicholson
0e12fc388f Bug 701376 - show search engine(s) when there are no/few awesomebar results [r=mfinkle] 2011-12-07 17:52:07 -08:00
Brian Nicholson
f839f36ad2 Bug 701376 - AwesomeBarTabs cleanup [r=mfinkle] 2011-12-07 17:52:05 -08:00
Kartikaya Gupta
7f551e9f3f Bug 707675 - Catch and handle a possible OOM while getting a screenshot r=blassey 2011-12-07 17:10:21 -08:00
Patrick Walton
eca59cea07 Bug 701594 - Part 8: Make double-tap-to-zoom use the bounce infrastructure. r=kats 2011-12-07 13:34:52 -08:00
Patrick Walton
eb55e8ee3d Bug 701594 - Part 7: Remove the per-axis bounce functionality. r=kats 2011-12-07 13:34:15 -08:00
Patrick Walton
f12990e26b Bug 701594 - Part 6: Separate out fling and bounce animations and make them use the "valid viewport metrics" infrastructure. r=kats 2011-12-07 13:33:55 -08:00
Patrick Walton
1cacd2ead0 Bug 701594 - Part 5: Factor out the fling timer setting functions into separate functions. r=kats 2011-12-07 13:07:24 -08:00
Patrick Walton
af7f95c60e Bug 701594 - Part 4: Make LayerController.setViewportMetrics() not automatically assume it was called by the layer client. r=kats 2011-12-07 10:48:12 -08:00
Patrick Walton
799a4d2086 Bug 701594 - Part 3: Add viewport interpolation functions. r=kats 2011-12-07 10:44:36 -08:00
Patrick Walton
350a1f0eb7 Bug 701594 - Part 2: Don't duplicate state in the layer controller and pan zoom controller axes. r=kats 2011-12-07 10:44:02 -08:00
Patrick Walton
017d92c57f Bug 701594 - Part 1: Precompute the ease-out animation. r=kats 2011-12-07 10:41:58 -08:00
Matt Brubeck
e74361d640 Bug 708085 - Remove unused files from mobile/android/themes [r=mfinkle] 2011-12-07 10:04:15 -08:00
Sriram Ramasubramanian
11899d2d93 Bug 705451: Anchor needs to be updated in url bar [r=mfinkle] 2011-12-06 15:15:37 -08:00
Kartikaya Gupta
c0dc783d39 Bug 706251 - Add panning performance API r=blassey
Add a PanningPerfAPI class with static methods to record panning
performance.
2011-12-01 14:11:10 -05:00
Kartikaya Gupta
e171c019ab Bug 707483 - (Cleanup) Remove some unused event listeners [r=mfinkle] 2011-12-06 13:56:17 -05:00
Kartikaya Gupta
c8344cd9fa Bug 707483 - (Cleanup) Move tab-specific event handlers from BrowserEventHandler to Tab [r=mfinkle] 2011-12-06 13:53:10 -05:00
Kartikaya Gupta
f8621069fb 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
Kartikaya Gupta
2b2ab1b75a Backout 884b705c99fb (bug 704738) for twinopen failure 2011-12-06 13:45:32 -05:00
Axel Hecht
dec0b6b8de bug 702302, bug 705137, enable l10n repacks for native UI, r=blassey,wesj
Fixing the l10n.ini and filter.py for both native and xul UI.
Fixing the repack logic for native to support both single-locale repacks
and multi-locale builds.
Removing some deb packaging code, that's not of any use for android native.
2011-12-06 16:54:12 +01:00
Kartikaya Gupta
46d166e4a5 Bug 704738 - Resize page content on device rotation [r=wesj]
If the device rotates, ensure we don't end up with grey
areas because the page didn't zoom in enough.
2011-12-06 10:39:09 -05:00
Chris Lord
ed2769240b 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
Sriram Ramasubramanian
b90571e40e Bug 707326: Reordering GeckoApp's AbsoluteLayout [r=pcwalton, r-mfinkle] 2011-12-02 15:41:14 -08:00
Steffen Wilberg
ef1a8ebdeb Bug 707575: about:fennec (about:firefox) appears too small (zoomed out) because of missing viewport meta tag. r=mfinkle 2011-12-05 19:26:44 +01:00
Kartikaya Gupta
03a607be02 Bug 704738 - Snap to edges on device rotation [r=Cwiiis] 2011-12-05 13:23:32 -05:00
Wes Johnston
4cca3b2143 Bug 697701 - Double tap zoom support. r=cwiiis 2011-11-15 13:41:19 -08:00
Kartikaya Gupta
6b7a25adf8 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
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
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
Doug Turner
f900dd9348 Backing out 09ad1564cd78. Wrong patch. 2011-11-29 16:27:23 -08:00
Brad Lassey
b7f648d079 bug 701380 - follow up to fix buring r=me 2011-11-29 18:54:27 -05:00
Brad Lassey
c349068ffe 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
e14a1263dc 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
Doug Turner
fd66d7f7e3 no bug - remove content sink prefs and use default. r=pwalton
--HG--
extra : rebase_source : bcb4a50cb5e86b5566c1b81a896bc0079daa6490
2011-11-29 15:27:39 -08:00
Matt Brubeck
56ea9fee69 Bug 706215 - Send viewport updates from JS when metadata changes [r=mfinkle] 2011-11-29 14:45:18 -08:00
Matt Brubeck
9133e6f193 Bug 706160 - Don't auto-scale frameset pages [r=mfinkle] 2011-11-29 12:58:31 -08:00
Brian Nicholson
297189d240 Bug 697857 - User Agent Switcher [r=mfinkle] 2011-11-29 10:43:29 -08:00
Steffen Wilberg
7e13c782bd Bug 705850: Change about:config placeholder text from 'Filter Preferences' to 'Search Preferences'. r=mfinkle 2011-11-29 19:03:58 +01:00
Matt Brubeck
697444d318 Clean up whitespace in browser.js (no bug - whitespace-only change) 2011-11-29 09:42:43 -08:00
Matt Brubeck
734e19cab8 Bug 694901 - (2/2) Set default zoom level based on viewport [r=mfinkle] 2011-11-29 09:35:26 -08:00
Matt Brubeck
0ddaaecca9 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
8ebe010aaa 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
8d0a8a6b27 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
104abf1f74 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
4a2aa490d5 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
ef583c8cb7 Backout beea574981d2, e3266cb5a2a7 - tree is burning (no bug) 2011-11-29 08:42:22 -05:00
Brad Lassey
568e97033e follow up to bug 701380 to fix build bustage r=me 2011-11-29 08:13:03 -05:00
Brad Lassey
6846d03611 bug 701380 - Implement a native about:home (start page) r=mfinkle 2011-11-29 01:38:35 -05:00
Doug Turner
1d5339a13a 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
914f5fc925 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
afefb31925 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
377f7d1a7f 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
bed47cbf6c 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
84b3393f4c 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
a143dac0b2 Bug 703923 follow-up: remove trailing whitespace from config.xhtml. rubber-stamp-r=mfinkle 2011-11-24 19:40:25 +01:00
Steffen Wilberg
a4fc2aecba 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
e29471b786 Bug 701374 - Show go or search icon in awesomescreen entry (r=mfinkle) 2011-11-24 16:54:39 +00:00
Chris Lord
fbc9d23069 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
5e76922a0f Bug 704156 - Unable to overwrite selection in awesome bar using HKB. r=blassey 2011-11-23 23:11:06 -08:00
Brad Lassey
22d4dc5205 bug 704217 - Quit doesn't work before Gecko is up r=dougt 2011-11-24 02:04:26 -05:00
Doug Turner
c9a51c38d7 no bug - revert content sink perfs back. r=mfinkle 2011-11-23 20:53:50 -08:00
Doug Turner
260e9dc2be Bug 705020 - drop enable-js-diagnostics flag from nightly mozconfig. r=mbrubeck 2011-11-23 17:08:42 -08:00
Doug Turner
4875527bb8 Bug 704898 - Reenable elfhack. r=mbrubeck
--HG--
extra : rebase_source : 7f92377a1786fb9b920e4c6ca4a6c8b18ae3a742
2011-11-23 15:41:41 -08:00
Sriram Ramasubramanian
30ca3013cf Bug 702264: Patch 2: Honeycomb/ICS needs action bar support [r=mfinkle] 2011-11-23 11:04:47 -08:00
Sriram Ramasubramanian
946eac34a2 Bug 702264: Patch 1: Fixing the styles and themes for ICS [r=mfinkle] 2011-11-23 00:01:38 -08:00
Chris Lord
f33a13bfe4 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
40bd8c7a06 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
d30a6066e3 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
5a6d7e467b 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
22a6438a2a 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
c5ca0523a3 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
b60ba3c957 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
5fa63cc7ba Bug 699303 - Kinetic panning need to stop more sharply. r=dougt 2011-11-22 22:01:45 -08:00
Jim Chen
425b5f76b3 Bug 704414 - Remove debug button and wait 5s in native UI; r=dougt 2011-11-22 01:56:55 -05:00
Margaret Leibovic
e74a981c5c 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
62614800ad Bug 703630 - Disable share menuitem for certain protocols. r=blassey 2011-11-22 16:44:58 -08:00
Margaret Leibovic
91fa63e14b 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
c0949bde97 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
5633135cf2 no bug. revert some of the birch changes. r=glandium 2011-11-22 13:21:23 -08:00
Doug Turner
357eaf5609 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
eae682107a Bug 703602 - Close cursor when getting favicon URL (r=kats) 2011-11-22 14:07:47 +00:00
Mark Finkle
f266ecdfc3 Bug 696532 - Basic add-on manager support [r=wesj] 2011-11-22 01:12:59 -05:00
Alex Pakhotin
ac1dca4d92 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
c4399cc167 Bug 703803: Black bar in Honeycomb awesomebar r=mfinkle 2011-11-21 15:41:50 -08:00
Kartikaya Gupta
5692e21327 Bug 704225 - Don't dismiss an undisplayed dialog [r=mfinkle] 2011-11-21 18:16:22 -05:00
Kartikaya Gupta
fda37b75c1 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
c50cca59b5 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
0953f3725d Bug 702619: Closing tabs faster causing NPE. [r=mfinkle] 2011-11-21 12:21:10 -08:00
Margaret Leibovic
fd0d92ac18 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
1bf3150420 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
9f8d627d5a Bug 699937 - (Cleanup) Remove unused timestamp values [r=Cwiiis] 2011-11-21 15:26:45 -05:00
Kartikaya Gupta
249c8b6092 Bug 704117 - Fix null title in HistoryEntry [r=sriram]
Code in GeckoApp assumes that the title and url fields
in HistoryEntry will always be non-null, so fix possible
NPEs by not putting null values in them.
2011-11-21 14:08:34 -05:00
Kartikaya Gupta
d0ca82724f Bug 704117 - (Cleanup) Remove unnecessary string creations [r=sriram] 2011-11-21 14:08:34 -05:00
Brad Lassey
30ddff5926 bug 704043 - don't show transition animation when closing awesome bar r=dougt 2011-11-21 14:05:39 -05:00
Doug Turner
fe7bd72d93 no bug - disable screenshot until Google bug 16941 is worked around. r=mfinkle 2011-11-21 10:16:52 -08:00
Kartikaya Gupta
c23d956a56 Bug 704114 - Fix missing texture crash [r=pcwalton]
During startup there is a race condition where the
LayerRenderer might request a paint of the root layer before
the root layer has successfully generated a texture.
This might happen if the transaction lock is already held
when the root layer attempts to generate the texture. Fix
by inserting a null guard that aborts the paint if the texture
has not been generated.
2011-11-21 12:17:24 -05:00
Kartikaya Gupta
78a4e4a515 Bug 703256 - Fix incorrect thread access [r=pcwalton]
Make sure things that touch the zoom/pan state and view
hierarchy are executing on the main UI thread.
2011-11-21 10:06:20 -05:00
Kartikaya Gupta
23f0e6aac8 Bug 700559 - Fix crash in startSnap() [r=pcwalton]
There exist conditions where the position of the page can change
between the call to fling() and the running of the FlingRunnable,
since the FlingRunnable gets bounced off two threads. This can
cause the Axis to end up in state WAITING_TO_SNAP with no
overscroll. Instead of crashing, handle this case more gracefully.
2011-11-21 09:20:33 -05:00
Brad Lassey
9e18690221 bug 701703 - Null pointer exception thrown loading Fennec Start Page r=dougt 2011-11-19 19:46:31 -05:00
Patrick Walton
69d2f32878 Bug 703421 - Implement the Android draw metadata listener to fix races. r=kats 2011-11-18 18:07:14 -08:00
Matt Brubeck
2849653950 Bug 703127 - Remove unused CSS, XBL, and images from mobile/android [r=mfinkle] 2011-11-18 16:05:01 -08:00
Matt Brubeck
b05255f0e9 Bug 703127 - Remove unused JS and XUL files from mobile/android [r=mfinkle] 2011-11-18 16:04:41 -08:00
Margaret Leibovic
6609b2c172 Bug 699418 - Implement about:config in html. r=mfinkle 2011-11-18 15:41:42 -08:00
Brian Nicholson
e5de650daa Whitespace fix for GeckoApp (no bug) [r=me] 2011-11-18 14:49:15 -08:00
Kartikaya Gupta
1530e9fefe Bug 701586 - Axis lock during panning [r=pcwalton]
Maintain an axis lock when the user is panning within
12 degrees on either side of the vertical or horizontal
axes. When the axis lock is enabled movement along
the other axis is ignored.
2011-11-18 16:08:17 -05:00