Commit Graph

4113 Commits

Author SHA1 Message Date
Kartikaya Gupta
615a89926b Bug 709805 - Avoid viewport changes on background tabs. r=pcwalton a=js-only 2011-12-12 13:53:39 -05:00
Kartikaya Gupta
46f2f122ed 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
ed3c49df91 Bug 709103 - Optimize creating and saving thumbnail bitmaps r=blassey a=java-only 2011-12-12 13:50:35 -05:00
Brad Lassey
1147c02b90 bug 706574 - show native about:home in onCreate() r=dougt a=blassey, java only 2011-12-12 12:57:04 -05:00
Kartikaya Gupta
68bdd4c576 Bug 708683 - Improve JSON generation by using JSONStringer. r=pcwalton a=java-only 2011-12-09 22:58:10 -05:00
Kartikaya Gupta
77c643ef3e 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
ea12c1c403 Backout 03ed6af51318, c65be44ac489, 0ce8da61c6cc, bcc015450e7a because of mochitest failures r=mfinkle a=mfinkle 2011-12-12 09:02:01 -05:00
Doug Turner
d65f2f0da5 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
5882c7e5b3 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
b1ad9e0889 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
9ed241d60d 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
c2b5331b98 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
3d1a40bcf2 Bug 709048 - Over usage of haptic buzz [r=mbrubeck a=khuey] 2011-12-11 20:56:19 -05:00
Chris Peterson
914033ec4f Bug 706984 - Check whether profile directory exists to avoid NullPointerException. r=dougt a=khuey 2011-12-09 16:22:46 -08:00
Brad Lassey
fa7ec2249b bug 709267 - relative STRINGSPATH in mobile/android/base/locales is broken r=khuey 2011-12-09 16:21:33 -05:00
Margaret Leibovic
da208576c5 Bug 708464 - Create click to play UI for fennec native. r=mfinkle 2011-12-09 14:04:19 -08:00
Kartikaya Gupta
82f722dafb Bug 704784 - Fade scrollbars when content stops moving [r=pcwalton] 2011-12-09 16:05:24 -05:00
Kartikaya Gupta
1da899baa6 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
012b6710a7 Bug 708947 - Repair overscroll resistance, and add overscroll resistance when zooming. r=kats 2011-12-09 12:06:15 -08:00
Patrick Walton
f46acf9043 Bug 708928 - Don't render when a finger is down. r=Cwiiis 2011-12-09 12:06:10 -08:00
Patrick Walton
043e3dd5e4 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
cec0ef7f3d Bug 705145 - Multiple selection lists cannot be scrolled r=mfinkle 2011-12-09 12:03:21 -05:00
Wes Johnston
6376aab69f Bug 706146 - Limit how far we can zoom into a page r=chrislord 2011-12-09 12:03:19 -05:00
Patrick Walton
9a8e9bb15f Bug 708519 - Pref off the frame rate meter r=kats 2011-12-09 10:01:31 -05:00
Patrick Walton
1e3d22a377 Bug 708519 - Move the frame rate meter to bottom-right r=kats 2011-12-09 10:01:28 -05:00
Patrick Walton
daa98e075b Bug 708519 - Repair the frame rate meter r=kats 2011-12-09 10:01:26 -05:00
Mounir Lamouri
4a4b6b7a15 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
d5510b2109 Bug 705358 - Don't allow fully-zoomed-out axes to be overscrolled. r=kats 2011-12-08 21:31:04 -08:00
Patrick Walton
ff888a57ab Bug 707935 - Prevent page size changes until document.readyState reads "complete". r=kats 2011-12-08 21:30:26 -08:00
Matt Brubeck
1c476ec47b Bug 708937 - Don't run Android-specific functions on non-Android platforms [r=mfinkle] 2011-12-08 20:12:01 -08:00
Lucas Rocha
4acadc5eea Bug 708879 - Handle OOM error when loading thumbnail in about:home (r=mbrubeck) 2011-12-09 00:29:09 +00:00
Brian Nicholson
c85a220f73 Bug 708808 - Cleanup for locale preference [r=mfinkle] 2011-12-08 14:14:44 -08:00
Sriram Ramasubramanian
e20ff87046 Bug 708394: Remove unwanted LayoutInflater [r=mfinkle] 2011-12-07 15:12:51 -08:00
Sriram Ramasubramanian
0d94e75bf4 Bug 707682: NPE while switching/closing tabs [r=mfinkle] 2011-12-06 14:51:08 -08:00
Brian Nicholson
20ac7c0adf Bug 708185 - Remove homepage preference [r=dougt] 2011-12-08 13:42:00 -08:00
Sriram Ramasubramanian
6c2d81e8b0 Bug 705481: Action bar background should extend below the menu button [r=mfinkle] 2011-12-08 12:18:45 -08:00
Mark Finkle
0fb8c161b9 Bug 708379 - Haptic buzz when tapping on clickable elements [r=blassey] 2011-12-08 15:42:55 -05:00
Matt Brubeck
aa2949b6ff 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
f596912e73 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
298e0be493 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
ff7cad3ddf 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
5164ba85c4 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
4bb7890251 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
0240070f42 Bug 704490 - Abstract all bookmark/history access behing a common API (r=blassey) 2011-12-02 17:27:56 +00:00
Mark Finkle
c23d927bf7 Bug 708525 - about: pages do not load favicons [r=lucasr] 2011-12-08 08:56:45 -05:00
Mark Finkle
dce3d92e60 Bug 696433 - Improve link rel scanning for favicons [r=mbrubeck] 2011-12-08 08:56:43 -05:00
Mark Finkle
7743ccfa61 Bug 704970 - Favicon missing on URL bar; visible in awesome screen [r=mbrubeck] 2011-12-08 08:56:41 -05:00
Jan Bambach
1984c5a018 Bug 707677 - Use defaultPrevented instead of the deprecated getPreventDefault() in front-end code. r=dao 2011-12-08 10:21:32 +01:00
Masayuki Nakano
b26f243504 backout 34b8fe028357 2011-12-08 16:42:45 +09:00
Mark Finkle
e1b0ff8d43 Bug 706882 - Bad viewport description on startup [r=mbrubeck] 2011-12-07 22:21:03 -05:00
Masayuki Nakano
67ab8bc88a Bug 700199 EventUtils.js should use synthesized events for sendKey(), sendChar() and sendString() rather than untrusted events r=ehsan+smaug+enndeakin+dolske 2011-12-07 14:13:06 +09:00
Brian Nicholson
40cf92be54 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
fd4a33f486 Bug 701376 - AwesomeBarTabs cleanup [r=mfinkle] 2011-12-07 17:52:05 -08:00
Kartikaya Gupta
442fc65cca Bug 707675 - Catch and handle a possible OOM while getting a screenshot r=blassey 2011-12-07 17:10:21 -08:00
Patrick Walton
248af5a25c 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
16631cef12 Bug 701594 - Part 7: Remove the per-axis bounce functionality. r=kats 2011-12-07 13:34:15 -08:00
Patrick Walton
45593fc7d0 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
4a96159cee 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
bd59295e9c 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
c22e958de7 Bug 701594 - Part 3: Add viewport interpolation functions. r=kats 2011-12-07 10:44:36 -08:00
Patrick Walton
78b9fe16da 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
8bec5742fe Bug 701594 - Part 1: Precompute the ease-out animation. r=kats 2011-12-07 10:41:58 -08:00
Matt Brubeck
2fc7edb100 Bug 708085 - Remove unused files from mobile/android/themes [r=mfinkle] 2011-12-07 10:04:15 -08:00
Sriram Ramasubramanian
254f9ac8b8 Bug 705451: Anchor needs to be updated in url bar [r=mfinkle] 2011-12-06 15:15:37 -08:00
Ed Morley
5df2f323a8 Merge last green changeset of mozilla-inbound to mozilla-central
--HG--
rename : mobile/xul/installer/package-manifest.in => b2g/installer/package-manifest.in
2011-12-07 09:27:36 +00:00
Blake Kaplan
4757794925 Bug 707883 - Make nsITelephonyWorker more generic in preparation for more workers. r=bent 2011-12-06 16:47:35 +08:00
Blake Kaplan
79ed79c31c Bug 707883 - Move RadioManager from dom/telephony to dom/system/b2g and then make the worker component the only stuff in dom/telephony. The idea is that the RadioManager is a generic component that manages several workers implemented in various dom/* directories. r=bent
--HG--
rename : dom/telephony/worker-component/Makefile.in => dom/system/b2g/Makefile.in
rename : dom/telephony/RadioManager.cpp => dom/system/b2g/RadioManager.cpp
rename : dom/telephony/RadioManager.h => dom/system/b2g/RadioManager.h
rename : dom/telephony/worker-component/nsIRadioInterface.idl => dom/telephony/nsIRadioInterface.idl
rename : dom/telephony/worker-component/nsITelephonyWorker.idl => dom/telephony/nsITelephonyWorker.idl
rename : dom/telephony/worker-component/nsTelephonyWorker.js => dom/telephony/nsTelephonyWorker.js
rename : dom/telephony/worker-component/nsTelephonyWorker.manifest => dom/telephony/nsTelephonyWorker.manifest
rename : dom/telephony/worker-component/ril_consts.js => dom/telephony/ril_consts.js
rename : dom/telephony/worker-component/ril_worker.js => dom/telephony/ril_worker.js
2011-12-06 14:10:51 +08:00
Brad Lassey
da3f119c51 bug 708171 - XUL fennec hangs on start up, follow up to fix missed review comment r=mbrubeck 2011-12-06 20:52:51 -08:00
Brad Lassey
f61d0020ea bug 708171 - XUL fennec hangs on start up r=mbrubeck 2011-12-06 20:24:33 -08:00
Kartikaya Gupta
d7fe093722 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
0cf4fa2d5b Bug 707483 - (Cleanup) Remove some unused event listeners [r=mfinkle] 2011-12-06 13:56:17 -05:00
Kartikaya Gupta
92d1c34ffe Bug 707483 - (Cleanup) Move tab-specific event handlers from BrowserEventHandler to Tab [r=mfinkle] 2011-12-06 13:53:10 -05:00
Kartikaya Gupta
5d06f92224 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
7b8edc0586 Backout 884b705c99fb (bug 704738) for twinopen failure 2011-12-06 13:45:32 -05:00
Axel Hecht
1e635cd3f5 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
f573cb88fd 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
11a0149c9a 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
b64d84ae3a Bug 707326: Reordering GeckoApp's AbsoluteLayout [r=pcwalton, r-mfinkle] 2011-12-02 15:41:14 -08:00
Steffen Wilberg
70d7dfa873 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
e519a8f623 Bug 704738 - Snap to edges on device rotation [r=Cwiiis] 2011-12-05 13:23:32 -05:00
Wes Johnston
fd749418cf Bug 697701 - Double tap zoom support. r=cwiiis 2011-11-15 13:41:19 -08:00
Kartikaya Gupta
cb40afef41 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
e7a47c7a57 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
8004a5b031 Bug 705041: Verify error in pre-honeycomb versions for ActionBar [r=mfinkle] 2011-11-30 13:30:02 -08:00
Sriram Ramasubramanian
068a32a466 Bug 703656: Optimize tab adapter in TabsTray [r=mfinkle] 2011-11-22 12:32:45 -08:00
Kartikaya Gupta
a2dac44a5d 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
4b9236a1fa 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
5d847cd2c3 Backout 839f36123bce (bug 704490) for Try failure 2011-12-02 18:38:46 +00:00
Kartikaya Gupta
700f3e80ec 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
97d5542205 Bug 704490 - Abstract all bookmark/history access behing a common API (r=blassey) 2011-12-02 17:27:56 +00:00
Lucas Rocha
4371f3e59d Bug 705212 - Update go/search icon on AwesomeBar for ICS/Honeycomb (r=mfinkle) 2011-12-02 16:49:28 +00:00
Lucas Rocha
ff918c0f8d Bug 706550 - Rename "All Sites" tab to "Top Sites" in AwesomeBar (r=mfinkle) 2011-12-02 16:47:42 +00:00
Lucas Rocha
8c319730fa Bug 706848 - Remove unused imports from AwesomeBar and AwesomeBarTabs (r=mfinkle) 2011-12-02 16:44:28 +00:00
Lucas Rocha
9e3ddd3676 Bug 706848 - Remove unnecessary @Override instances from AwesomeBarTabs (r=mfinkle) 2011-12-02 16:44:26 +00:00
Mark Finkle
f46b9389d2 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
1de81ac3e5 Bug 706644 - Going back from about:home still displays about:home [r=blassey] 2011-12-02 11:12:43 -05:00
Mark Finkle
4f75250356 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
ef43bddba9 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
0ad7c93490 Bug 705725 - Move preferences getting out of the startup path [r=dougt] 2011-12-01 17:27:11 -08:00
Brad Lassey
f10333a841 bug 706901 - follow up to fix bad merge r=me 2011-12-01 19:02:05 -05:00