Commit Graph

283 Commits

Author SHA1 Message Date
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
dc12898494 Bug 704415 - Style the Add-on Manager (phase 1) [r=mbrubeck a=javascript] 2011-12-13 13:42:51 -05:00
Sriram Ramasubramanian
561eabd80c Bug 709255: Avoid multiple instances of TabsTray. [r=mfinkle a=android-only] 2011-12-12 14:25:29 -08: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
Brad Lassey
83ff99096f bug 710194 - Nightly has violated its self-enforced StrictMode policy after a clean install r=mfinkle a=java-only 2011-12-13 11:12:01 -05:00
Lucas Rocha
1aedff0808 Bug 708151 - Fix switch indentation in BrowserProvider (r=blassey, a=mfinkle) 2011-12-13 14:46:58 +00:00
Lucas Rocha
236a1dacec Bug 708151 - Change GUID generation to be more compliant with Sync (r=rnewman, a=mfinkle) 2011-12-13 14:46:58 +00:00
Lucas Rocha
ee4790cb36 Bug 708151 - Add indexes where needed in local bookmarks/history DB (r=blassey, a=mfinkle) 2011-12-13 14:46:58 +00:00
Lucas Rocha
8ed3b08390 Bug 708151 - Handle deleted records in a sync-friendly way (r=blassey, a=mfinkle) 2011-12-13 14:46:58 +00:00
Lucas Rocha
37067a8c68 Bug 708151 - Add _id column to images and implement missing operations (r=blassey, a=mfinkle)
We need all operations (query, delete, insert, and update) for images in order
to implement favicon sync properly.
2011-12-13 14:46:58 +00:00
Lucas Rocha
aedb47c5d3 Bug 708331 - Add keyword, description, and tags columns to Bookmarks (r=mfinkle, a=mfinkle) 2011-12-13 14:46:58 +00:00
Lucas Rocha
c74f44c78c Bug 707636 - Use "signature" permissions on BrowserProvider (r=blassey, a=mfinkle)
To allow apps with same signature than Fennec to access Fennec's local DB via
content provider.
2011-12-13 14:12:03 +00:00
Lucas Rocha
32ea7cbd71 Bug 707124 - Add query to BrowserProvider to fetch DB schema version (r=blassey, a=mfinkle) 2011-12-13 14:12:01 +00:00
Lucas Rocha
40c0a3b972 Bug 707732 - Handle case of updating favicon on non-existing URL (r=blassey, a=mfinkle) 2011-12-13 13:59:37 +00:00
Lucas Rocha
3a8ebee812 Bug 707732 - More robust implementation of add bookmark (r=blassey, a=mfinkle) 2011-12-13 13:59:27 +00:00
Lucas Rocha
482081e5c7 Bug 707732 - More robust implementation of thumbnail update (r=blassey, a=mfinkle)
Also fixes thumbnail update on Honeycomb/ICS.
2011-12-13 13:59:15 +00:00
Lucas Rocha
032142fb4c Bug 701913 - Fix query to check bookmark URL in Honeycomb/ICS (r=blassey, a=mfinkle) 2011-12-13 13:44:54 +00:00
Lucas Rocha
974aaa4bfd Bug 698828 - Fix add bookmark operation in Honeycomb/ICS (r=blassey, a=mfinkle) 2011-12-13 13:44:54 +00:00
Lucas Rocha
ace363cdd7 Bug 701835 - Fix bookmark removal in Honeycomb/ICS (r=blassey, a=mfinkle) 2011-12-13 13:44:54 +00:00
Doug Turner
b35608a242 Bug 708200 - Do not create timer to fire geckoLoaded. r=blassey a=android-only
--HG--
extra : rebase_source : bab7b26936fa41d2f9ab4664e01d050a20038414
2011-12-12 16:27:34 +08:00
Doug Turner
c953cb8966 Bug 708280 - delay checking checking for update until idle to avoid startup path. r=mfinkle
--HG--
extra : rebase_source : 0f8595409e980da3421fd86133bf83238d7ceb55
2011-12-12 16:27:34 +08:00
Doug Turner
f2f02f7573 Bug 709595 - Add a name for each java thread and timer to aide with debugging. r=blassey
--HG--
extra : rebase_source : 1f5472ef5301739425b162d5ce4b28a577daf0fb
2011-12-12 16:27:35 +08:00
Chris Peterson
06f666321d Bug 708114 part 2 - Add resource flag to enable Android StrictMode for nightly and local builds. r=dougt a=android-only 2011-12-12 17:15:38 -08:00
Chris Peterson
cc4bf2588c Bug 708114 part 1 - Comment out Android StrictMode for all build configurations. r=dougt a=android-only 2011-12-12 17:15:23 -08:00
Brad Lassey
e23645ccfa bug 704520 - Flash content does not have a placeholder if on Android 3.x r=snorp a=java-only 2011-12-12 16:47:37 -05:00
Steffen Wilberg
f2bc9372df Bug 709514: Hide about:blocked, about:certerror, about:empty, about:fennec, and about:firefox from Fennec Native's about:about. r=mfinkle, a=js-only 2011-12-12 21:56:23 +01:00
Mark Finkle
f960360d53 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
961a907049 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
324193aaae Bug 709805 - Avoid viewport changes on background tabs. r=pcwalton a=js-only 2011-12-12 13:53:39 -05:00
Kartikaya Gupta
e24b9c4f9e 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
67a3f3ff8b Bug 709103 - Optimize creating and saving thumbnail bitmaps r=blassey a=java-only 2011-12-12 13:50:35 -05:00
Brad Lassey
fbe618425e bug 706574 - show native about:home in onCreate() r=dougt a=blassey, java only 2011-12-12 12:57:04 -05:00
Kartikaya Gupta
f9c4cd982c Bug 708683 - Improve JSON generation by using JSONStringer. r=pcwalton a=java-only 2011-12-09 22:58:10 -05:00
Kartikaya Gupta
d072b75773 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
78ed00239a Backout 03ed6af51318, c65be44ac489, 0ce8da61c6cc, bcc015450e7a because of mochitest failures r=mfinkle a=mfinkle 2011-12-12 09:02:01 -05:00
Doug Turner
395315a60f 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
bd7b08414e 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
5d2d3a562f 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
58b4774f86 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
5dab4a5fb1 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
75c8d2510e Bug 709048 - Over usage of haptic buzz [r=mbrubeck a=khuey] 2011-12-11 20:56:19 -05:00
Chris Peterson
9a2aace931 Bug 706984 - Check whether profile directory exists to avoid NullPointerException. r=dougt a=khuey 2011-12-09 16:22:46 -08:00
Brad Lassey
19b8222b67 bug 709267 - relative STRINGSPATH in mobile/android/base/locales is broken r=khuey 2011-12-09 16:21:33 -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
Kartikaya Gupta
e2c4df2f39 Bug 704784 - Fade scrollbars when content stops moving [r=pcwalton] 2011-12-09 16:05:24 -05:00
Kartikaya Gupta
9297a9e422 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
9622e412bc Bug 708947 - Repair overscroll resistance, and add overscroll resistance when zooming. r=kats 2011-12-09 12:06:15 -08:00
Patrick Walton
7532e6f648 Bug 708928 - Don't render when a finger is down. r=Cwiiis 2011-12-09 12:06:10 -08:00
Patrick Walton
2b937fcd38 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
ddc29785e4 Bug 705145 - Multiple selection lists cannot be scrolled r=mfinkle 2011-12-09 12:03:21 -05:00
Wes Johnston
7e051c8490 Bug 706146 - Limit how far we can zoom into a page r=chrislord 2011-12-09 12:03:19 -05:00
Patrick Walton
937457a3f7 Bug 708519 - Pref off the frame rate meter r=kats 2011-12-09 10:01:31 -05:00
Patrick Walton
e9489c2baa Bug 708519 - Move the frame rate meter to bottom-right r=kats 2011-12-09 10:01:28 -05:00
Patrick Walton
a672f015ea Bug 708519 - Repair the frame rate meter r=kats 2011-12-09 10:01:26 -05:00
Mounir Lamouri
23131a1d8b 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
521479bff6 Bug 705358 - Don't allow fully-zoomed-out axes to be overscrolled. r=kats 2011-12-08 21:31:04 -08: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
Lucas Rocha
de5dc8b879 Bug 708879 - Handle OOM error when loading thumbnail in about:home (r=mbrubeck) 2011-12-09 00:29:09 +00:00
Brian Nicholson
1bfca13d32 Bug 708808 - Cleanup for locale preference [r=mfinkle] 2011-12-08 14:14:44 -08:00
Sriram Ramasubramanian
8fc911c202 Bug 708394: Remove unwanted LayoutInflater [r=mfinkle] 2011-12-07 15:12:51 -08:00
Sriram Ramasubramanian
190b92c004 Bug 707682: NPE while switching/closing tabs [r=mfinkle] 2011-12-06 14:51:08 -08:00
Brian Nicholson
ee59b1d79f Bug 708185 - Remove homepage preference [r=dougt] 2011-12-08 13:42:00 -08:00
Sriram Ramasubramanian
9d9c1a5569 Bug 705481: Action bar background should extend below the menu button [r=mfinkle] 2011-12-08 12:18:45 -08:00
Mark Finkle
d1feebd3b8 Bug 708379 - Haptic buzz when tapping on clickable elements [r=blassey] 2011-12-08 15:42:55 -05:00
Matt Brubeck
68f0a4ccc2 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
1b2bcb3748 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
cfbe7d400c 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
2a66931a7a 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
32fffa10a2 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
c5966fd714 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
7fab9e5490 Bug 704490 - Abstract all bookmark/history access behing a common API (r=blassey) 2011-12-02 17:27:56 +00:00
Mark Finkle
8e1250975d Bug 708525 - about: pages do not load favicons [r=lucasr] 2011-12-08 08:56:45 -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
Brian Nicholson
4c4c2cf36b Bug 701376 - AwesomeBarTabs cleanup [r=mfinkle] 2011-12-07 17:52:05 -08:00
Kartikaya Gupta
7eb5dc6e9d Bug 707675 - Catch and handle a possible OOM while getting a screenshot r=blassey 2011-12-07 17:10:21 -08:00
Patrick Walton
4c255120be 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
09f5bd00c7 Bug 701594 - Part 7: Remove the per-axis bounce functionality. r=kats 2011-12-07 13:34:15 -08:00
Patrick Walton
7916c55aad 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
d8991ee5b2 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
162b9a45d4 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
28eb691095 Bug 701594 - Part 3: Add viewport interpolation functions. r=kats 2011-12-07 10:44:36 -08:00
Patrick Walton
b7fdca35f8 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
da46e3af2b Bug 701594 - Part 1: Precompute the ease-out animation. r=kats 2011-12-07 10:41:58 -08:00
Matt Brubeck
42bd2511c9 Bug 708085 - Remove unused files from mobile/android/themes [r=mfinkle] 2011-12-07 10:04:15 -08:00
Sriram Ramasubramanian
c26d295a6d Bug 705451: Anchor needs to be updated in url bar [r=mfinkle] 2011-12-06 15:15:37 -08:00
Kartikaya Gupta
2bfae064c3 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
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
Kartikaya Gupta
f61c203c26 Backout 884b705c99fb (bug 704738) for twinopen failure 2011-12-06 13:45:32 -05:00
Axel Hecht
7879ad4e90 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
2d1286f531 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
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
Sriram Ramasubramanian
ce8091e63c Bug 707326: Reordering GeckoApp's AbsoluteLayout [r=pcwalton, r-mfinkle] 2011-12-02 15:41:14 -08:00
Steffen Wilberg
7d5d821e0a 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
a0f39bd80b Bug 704738 - Snap to edges on device rotation [r=Cwiiis] 2011-12-05 13:23:32 -05:00
Wes Johnston
03faadb678 Bug 697701 - Double tap zoom support. r=cwiiis 2011-11-15 13:41:19 -08:00