Commit Graph

684 Commits

Author SHA1 Message Date
Marco Bonardo
6136ce1761 Merge last green PGO from inbound to central 2012-01-19 11:34:17 +01:00
Wes Johnston
7da30b80c3 Bug 713922 - Don't allow empty password for master password. r=mfinkle 2012-01-18 08:50:11 -08:00
Wes Johnston
b04763a035 Bug 716161 - Don't allow clicking disabled selects. r=mfinkle 2012-01-18 08:49:48 -08:00
James Willcox
8f71c6ffa1 Bug 707439 - Fix Flash plugin positioning
--HG--
extra : rebase_source : aaa41297d293ffde1aabe5632ade6c416b4d541f
2012-01-18 10:41:35 -05:00
Margaret Leibovic
40b26a936f Bug 706835 - Remove the new tab indicator animation on about:home load. r=mfinkle 2012-01-17 20:47:16 -08:00
James Willcox
43d0cd88c2 Bug 719233 - Only use direct texturing on whitelisted devices r=blassey 2012-01-18 20:41:28 -05:00
Brad Lassey
54d9038cfc bug 713503 - prefetch urls from known url shortening sites before gecko is running r=mfinkle 2012-01-09 23:50:56 -08:00
Mark Finkle
5c3773f10c Bug 704415 - Style the Add-on Manager [r=wesj] 2012-01-17 23:09:09 -05:00
Brian Nicholson
0906f19349 Bug 712970 - Show 'tabs from last time' in about:home [r=mfinkle] 2012-01-17 22:40:43 -05:00
Brad Lassey
6b050c9a78 bug 711543 - Get thumbnail images of tabs loaded in the background, and display them in the tab menu r=mfinkle 2012-01-16 22:23:04 -05:00
Chris Peterson
49931ac044 Bug 717841 part 2 - Fix HistoryQueryTask's time range checks. r=lucasr f=dougt a=dougt 2012-01-12 17:38:08 -08:00
Chris Peterson
a41d7efd0e Bug 717841 part 1 - Replace Date().getTime() calls with SystemClock.uptimeMillis or System.currentTimeMillis(). r=kats f=dougt a=dougt 2012-01-13 11:08:39 -08:00
Chris Peterson
6dd9dafe4a Bug 709845 - Tab.java: fix checkstyle warnings about extra imports, missing access modifiers, trailing whitespace. r=dougt a=dougt 2012-01-17 10:26:58 -08:00
Chris Peterson
33d9055f6f Bug 709845 - Update history's URL after redirect. r=dougt a=dougt 2012-01-12 12:22:48 -08:00
Matt Brubeck
50d0fc0a8d Bug 712760 - Add some smaller font inflation size options [r=mfinkle] 2012-01-17 12:39:45 -08:00
Mounir Lamouri
5c5c80c069 Bug 713687 - Part 4 - Network API Android backend: use enable/disable notifications to prevent listening when not needed. r=dougt 2012-01-16 15:01:07 +01:00
Mounir Lamouri
f8190ab1af Bug 713687 - Part 3 - Network API Android backend: make GeckoNetworkManager a singleton. r=dougt 2012-01-16 18:17:34 +01:00
Mounir Lamouri
f56d160181 Bug 713687 - Part 2 - Network API Android backend: listen to network changes and notify the DOM. r=dougt 2012-01-17 19:40:39 +01:00
Mounir Lamouri
b60b13293e Bug 713687 - Part 1 - Network API Android backend: get current information. r=dougt 2012-01-16 14:44:07 +01:00
Mounir Lamouri
225b0dc455 Bug 677166 - Part 2 - Add .mozConnection to Navigator object. r=sicking 2012-01-16 13:23:28 +01:00
Mounir Lamouri
7bb7d516d6 Bug 713377 - Part 2 - Don't build GeckoSmsManager.java when WebSMS backend is disabled. r=dougt,cjones 2012-01-17 19:38:04 +01:00
Mounir Lamouri
02eca2001b Bug 713377 - Part 1 - Add a --disable-websms-backend build option. r=blassey 2012-01-16 19:53:09 +01:00
Mounir Lamouri
ee6e3ecdef Bug 674725 - Part AV - Port WebSMS to Android Native UI. r=blassey,dougt 2012-01-17 19:52:17 +01:00
Margaret Leibovic
ff4e46f4f1 Bug 718499 - Save as PDF saves content from the wrong tab. r=mfinkle 2012-01-18 12:53:12 -08:00
Geoff Brown
7441fcfb97 Bug 715198 - disable cache compression (avoid failures when new profile accessed by old software versions); r=bjarne 2012-01-17 12:51:17 +01:00
Alex Pakhotin
be1ec60c6f Bug 717902 - Form autocomplete pop-up with the available suggestions is not displayed in landscape mode when HKB is used. r=blassey 2012-01-16 17:58:56 -08:00
Margaret Leibovic
ff2a7de2cd Bug 711206 - Use an empty title for awesombar on about:home. r=mfinkle 2012-01-17 14:57:21 -08:00
Geoff Brown
9c5858c66f Bug 716937 - Robocop: make testBookmark more reliable; r=jmaher 2012-01-18 13:44:47 -05:00
Lucas Rocha
3121ec43fd Bug 704922 - Fix racy behaviour of bookmark checks in Tab (r=mfinkle) 2012-01-16 14:57:36 +00:00
Phil Ringnalda
32a082e93a Back out bccc0adeebd7 (bug 715198) for test failures aplenty 2012-01-15 18:45:03 -08:00
bjarne@runitsoft.com
61438ef0ae Bug 715198 - browser is loading compressed data directly to the page, r=Josh Aas
--HG--
extra : rebase_source : e700c1427bae274fdc6882def455345c24c8064d
2012-01-15 12:15:00 -08:00
Michael Kohler
851f08fb8f Bug 707711 - No way to delete bookmarks r=mfinkle 2012-01-15 16:51:23 -05:00
Mark Finkle
7197ddb1ce Bug 718257 - Syntax error breaks add-on install restart doorhanger [r=mbrubeck] 2012-01-15 11:50:03 -05:00
Mark Finkle
5c0e7c5ddb Bug 717739 - turn off non-native sync [r=mbrubeck] 2012-01-15 11:49:53 -05:00
Justin Wood
09b3d2e3d1 Merge m-c tip to m-i 2012-01-15 05:29:24 -05:00
Richard Newman
21ac5270c0 Bug 709339 - First mostly functional drop of native Sync. a=mobile 2012-01-14 09:20:31 -08:00
Richard Newman
d934a37e0c Bug 709339 - add sync_options.xml to Android Makefile. a=mobile 2012-01-14 09:20:30 -08:00
Richard Newman
01c32d241a Bug 717869 - fix BrowserProvider.generateGuid to not append trailing newlines. r=blassey 2012-01-14 09:20:30 -08:00
Alex Pakhotin
d54871e391 Bug 714950 - Unable to see characters typed in landscape fullscreen VKB. r=blassey 2012-01-06 18:27:09 -08:00
Margaret Leibovic
9cecd65269 Bug 717284 - Update "Enable plugins" pref strings to be more l10n friendly. r=mfinkle 2012-01-13 11:38:30 -08:00
Margaret Leibovic
f41eacef75 Bug 710704 - Make click events work properly in frames. r=wesj 2012-01-12 17:01:32 -08:00
Margaret Leibovic
e4a1a0f85c Bug 711993 - Catch exception thrown by uri.host in PermissionsHelper observer. r=mfinkle 2012-01-12 13:29:14 -08:00
Doug Turner
ef2628309f Bug 712576 - On Android, we place a criteria on the location provider such that it must return a 'fine' grain location. It could be that this prevents some location providers -- ones that have network but not a GPS backed device -- from working. r=jdm 2012-01-13 16:01:58 -08:00
Lucas Rocha
9811bd7a04 Bug 699793 - Clear favicon urls database when history is cleared (r=blassey) 2012-01-13 16:21:20 +00:00
Kartikaya Gupta
89ed0c631a Bug 715836 - Ensure the UI is only modified from the UI thread. r=pcwalton 2012-01-13 07:03:22 -05:00
Kartikaya Gupta
bbbab56248 Bug 715836 - (Cleanup) Remove unused functions. r=pcwalton 2012-01-13 07:03:22 -05:00
Kartikaya Gupta
fbe4beb181 Bug 715326 - Fix viewport position when zooming up a page that is smaller than the viewport on both axes. r=pcwalton
Take a page that has width PW and height PH, where PW is less
than the viewport width VW and PH is less than the viewport height
VH, and VW/PW > VH/PH. If we scale this up to fit the viewport,
then the vertical viewport position ends up scrolled to the bottom
(or partway to the bottom depending on how long the page is). This
fixes that by shifting the focal point in this case.
2012-01-12 22:47:56 -05:00
Kartikaya Gupta
52ece93e89 Bug 715326 - Don't round the page size in browser.js. r=pcwalton
Rounding the page size before sending it to Java serves no real
purpose, and introduces rounding errors that I have observed to
be up to a couple of pixels, depending on the screen size and page
dimensions.
2012-01-12 22:47:33 -05:00
Ed Morley
fef529aa3f Merge mozilla-central to mozilla-inbound 2012-01-13 03:19:46 +00:00
Doug Turner
fa1ccb4066 Bug 704467 - Crash in mozalloc_abort | __swrite | dexDataMapAlloc. Protect against a bad class cast. r=wesj 2012-01-12 09:59:59 -08:00
Brad Lassey
22c554386f bug 711136 - thumbnails on about:home are really poor quality r=mfinkle 2012-01-11 00:09:48 -08:00
Dmitrij Petters
c51cec0b9a Bug 714767 - Grey horizontal band on bottom layer of URLBar [r=mbrubeck] 2012-01-11 16:58:19 -08:00
Matt Brubeck
9c1f38ec11 Bug 714285 - Fix bug in text input context menu matching [r=wesj] 2012-01-11 16:36:11 -08:00
Matt Brubeck
4546e35675 Bug 712307 - Update the urlbar icons for Android fennec [r=bnicholson] 2012-01-11 16:36:11 -08:00
Matt Brubeck
f6c3e10b48 Bug 715211 - Update tab menu icons for Android fennec [r=wesj] 2012-01-11 13:59:55 -08:00
Matt Brubeck
49e7361dde Bug 714920 - Don't include Copy All or Select All in context menu for empty fields [r=mfinkle] 2012-01-11 13:59:39 -08:00
Lucas Rocha
ea6184b0e6 Bug 707150 - Enable local bookmarks/history database (r=blassey) 2012-01-11 19:47:19 +00:00
Lucas Rocha
ef74dc5283 Bug 707150 - Fix NullPointerException when getting IS_FOLDER (r=blassey) 2012-01-11 19:47:19 +00:00
Wes Johnston
393aa7ea7b Bug 709078 - Add logging for awesomebar query times. r=lucasr 2012-01-11 10:53:39 -08:00
Ed Morley
8128c5973e Merge last green changeset of mozilla-inbound to mozilla-central 2012-01-11 17:01:05 +00:00
Benjamin Smedberg
bd5d1c37d3 Bug 715576 - libalerts_s.dylib is incorrectly-named (_s indicates a static library) and links against the static-js library, which is bad. Make it link against either libxul (static-js) or the dynamic-js library correctly, and rename it. r=ted 2012-01-11 11:28:21 -05:00
Ed Morley
d27cab927f Merge last PGO-green changeset from mozilla-inbound to mozilla-central 2012-01-11 02:39:31 +00:00
Axel Hecht
a28ef42d7d bug 716842, make sure that l10n repacks have mobile/locales/Makefile, r=aki 2012-01-10 11:10:22 +01:00
Richard Newman
d744669418 Bug 716811 - Local DB calls getAsBoolean for IS_FOLDER, schema uses integers, ClassCastException results. r=blassey 2012-01-10 00:28:48 -08:00
Brian Nicholson
aec90184e2 Bug 715673 - Hande browser-lastwindow-close events. r=mfinkle 2012-01-09 11:56:30 -08:00
Brian Nicholson
340efb27b8 Bug 715388 - Don't show telemetry doorhanger for session restore. r=mfinkle 2012-01-09 11:51:07 -08:00
Kartikaya Gupta
d43e5e5177 Bug 716937 - Make the testBookmark test actually pass. r=jmaher
Previously it would type in a URL and then attempt to verify it
as something else. Fix so that it doesn't try to verify a wrong
URL.
2012-01-10 14:15:18 -05:00
Lucas Rocha
a5c0991c1d Bug 716089 - Fix query syntax for filtering URLs on local DB (r=blassey) 2012-01-10 09:09:32 -08:00
Brian Nicholson
2eeefbbb43 Bug 709888 - Remove UA switcher. r=mfinkle 2012-01-12 12:26:26 -08:00
Mark Finkle
6812be51e4 Bug 717231 - Downloads are not added to the Download Manager (stock ICS 4.0.3) [r=mbrubeck] 2012-01-12 15:16:31 -05:00
Kartikaya Gupta
bb00f53b94 Bug 713011 - Add a check to ensure we are running on the correct thread. r=blassey 2012-01-11 17:08:14 -05:00
Matt Brubeck
97ac097da1 Bug 711199 - Update menu icons for Android 2.2 and 2.3 [r=lucasr] 2012-01-12 08:30:16 -08:00
Richard Newman
adfe516a33 Bug 717056 - more setup strings for Android Sync. r=blassey 2012-01-10 22:56:43 -08:00
Brian Nicholson
1c0a095a66 Bug 697858 - Save restore state in bundle. r=mfinkle 2012-01-09 11:09:53 -08:00
Margaret Leibovic
d900b3db5b Bug 715889 - Don't try to show the form autocomplete popup in full-screen VKB. r=mfinkle 2012-01-10 17:38:58 -08:00
Margaret Leibovic
ab1f60ad56 Bug 710835 - Listen for input events instead of composition* events for form autocomplete. r=mfinkle 2012-01-10 16:25:23 -08:00
Brad Lassey
fb5cf486c0 bug 713874 - Black thumbnails are produced by GeckoSoftwareLayerClient.getBitmap() r=mfinkle 2012-01-13 13:10:13 -05:00
Jonathan Kew
1fed2b4bed Backed out changeset ba3335f34100 (bug 713874) for Android build failures. 2012-01-14 22:19:31 +00:00
Brad Lassey
232084ed7f bug 713874 - Black thumbnails are produced by GeckoSoftwareLayerClient.getBitmap() r=mfinkle
--HG--
extra : rebase_source : 18d463ca4c44610a07ba7de582c6f114404eab8f
2012-01-13 13:10:13 -05:00
Mike Hommey
1f4341fcce Bug 701371 - Rename mozutils to mozglue, and move it to top-level. r=khuey,a=brendan
--HG--
rename : memory/mozutils/Makefile.in => mozglue/Makefile.in
rename : memory/mozutils/Makefile.in => mozglue/build/Makefile.in
rename : memory/mozutils/dummy.cpp => mozglue/build/dummy.cpp
rename : memory/mozutils/fixcrt.py => mozglue/build/fixcrt.py
rename : memory/mozutils/mozutils.def.in => mozglue/build/mozglue.def.in
2011-12-28 08:24:02 +01:00
Richard Newman
7b839dea73 Bug 716760 - "Pair device" string addition. r=blassey 2012-01-09 20:45:23 -08:00
Margaret Leibovic
15621044d3 Bug 716722 - Remove unnecessary code and use Services.jsm in sanitize.js. r=mbrubeck 2012-01-09 15:59:14 -08:00
Chris Peterson
fedcea5b3b Bug 712791 - Avoid cnn.com crash by catching SQLite exception. r=dougt a=dougt 2012-01-05 16:47:48 -08:00
Margaret Leibovic
1b230543e5 Bug 714787 - When clearing site permissions, also clear content prefs that keep track of how many times a permission was granted. r=dougt 2012-01-06 16:48:29 -08:00
Ed Morley
20bdf3d208 Backout a9f4c0795560 (bug 715673), 05dfaf51fa83 (bug 715388) & af32a0da45c9 (bug 697858) for native Android test failures 2012-01-09 22:45:30 +00:00
Brian Nicholson
1e02395b68 Bug 715673 - Hande browser-lastwindow-close events r=mfinkle 2012-01-09 11:56:30 -08:00
Brian Nicholson
fefb0a0e17 Bug 715388 - Don't show telemetry doorhanger for session restore r=mfinkle 2012-01-09 11:51:07 -08:00
Brian Nicholson
e928222458 Bug 697858 - Save restore state in bundle [r=mfinkle] 2012-01-09 11:09:53 -08:00
Joel Maher
f737f74e0a Bug 715309 - robocop needs to have a more uniform log format. r=gbrown 2012-01-07 18:41:08 -05:00
Ed Morley
23a62f3731 Backout 8ec01f6f316f (bug 705175), a1dc0efef542 (bug 716077), b5686f25b258 (bug 710445), 32f8d3be2ad1 (bug 715309) for mochitest/reftest failures on Android & Windows 2012-01-07 14:57:58 +00:00
Joel Maher
55e9820bbd Bug 715309 - robocop needs to have a more uniform log format. r=gbrown 2012-01-07 08:25:05 -05:00
Sriram Ramasubramanian
7ab03df661 Bug 712574: Use better includes avoiding merges [r=mfinkle r=blassey]
--HG--
rename : mobile/android/base/resources/layout-v11/awesomebar_search.xml => mobile/android/base/resources/layout-v11/awesomebar.xml
2011-12-21 00:51:56 -08:00
Sriram Ramasubramanian
2e7aaa6540 Bug 712808: Redrawn URL bar needs to refresh its values [r=mfinkle] 2011-12-21 15:58:36 -08:00
Chris Peterson
419e1317c5 Bug 714874 - Disable some Java warnings. r=rnewman r=dougt a=dougt 2012-01-05 17:36:28 -08:00
Chris Peterson
200596fe4c Bug 714874 - Fix Java warnings about redundant casts. r=pcwalton r=dougt a=dougt 2012-01-06 12:21:49 -08:00
Chris Peterson
c4b1d936b9 Bug 714874 - Fix some Java warnings. r=dougt a=dougt 2012-01-05 10:49:33 -08:00
Chris Peterson
57f2f0b54a Bug 714874 - Split Fennec and Sync java files to allow different compile flags. r=rnewman r=dougt a=dougt 2012-01-05 15:02:41 -08:00
Ed Morley
bd182f3db6 Remove non-existent/duplicate *makefiles.sh entries, update conditionals, style fixes (no bug); rs=build 2012-01-07 01:00:28 +00:00
Patrick Walton
3ddda8502c Bug 708746 - Part 5: Make the initial viewport size and page size equal to the device screen dimensions instead of 1 pixel by 1 pixel. r=kats 2012-01-06 16:42:48 -08:00
Patrick Walton
55e20a410f Bug 708746 - Part 4: Remove viewport metadata updates that occur after the document is shown. r=mbrubeck 2012-01-06 16:42:47 -08:00
Patrick Walton
96ca6f9422 Bug 708746 - Part 3: Don't display a document until we've changed the browser size to match its viewport. r=kats 2012-01-06 16:42:46 -08:00
Patrick Walton
fc098021e1 Bug 708746 - Part 2: Key viewport metadata to each content document instead of each tab. r=mbrubeck 2012-01-06 16:42:44 -08:00
Wes Johnston
8effa1a66b Bug 708651 - Create a fake profile directory if BrowserProvider is started before Gecko. r=blassey 2012-01-04 17:28:04 -08:00
Margaret Leibovic
93c55fa913 Bug 715730 - Flash app restarts after clicking a selection when click to play is turned on. r=mfinkle 2012-01-06 11:57:45 -08:00
Matt Brubeck
5aa558c071 Bug 714789 - Don't show "Open in new tab" for non-openable links [r=mfinkle] 2012-01-06 11:44:33 -08:00
Wes Johnston
e785c9e153 Bug 715303 - Fire focus when clicking select elements. r=mfinkle 2012-01-06 11:36:36 -08:00
Wes Johnston
0e3ad63d23 Bug 698917 - Remove & from prompt labels. r=mfinkle 2012-01-06 11:36:35 -08:00
Mark Finkle
3cc65e1645 Bug 703450 - Restore tabs when waking up, always open external links in new tab [r=mbrubeck] 2012-01-06 13:10:16 -05:00
Mark Finkle
3ee4d7ac5b Bug 710433 - The bookmark menu item should always say 'Bookmark', not 'Remove' [r=mbrubeck] 2012-01-06 13:10:06 -05:00
Mark Finkle
4a5b83a444 Bug 715347 - Add basic Download Manager support [r=mbrubeck] 2012-01-06 09:34:34 -05:00
Chris Lord
21e7ac3639 Bug 709120 - Update non-visible tiles asynchronously. r=pcwalton
Only update tiles that intersect with the screen, and asynchronously update
invisible tiles over multiple subsequent frames. This has the effect of
spreading out non-critical texture-upload over time and removes some juddering
on devices that don't support gralloc.
2012-01-06 11:22:52 +00:00
Chris Lord
f0a2ffe64f Bug 709120 - Use MultiTileLayer in Android native fennec. r=pcwalton
This uses MultiTileLayer instead of SingleTileLayer for devices that don't have
gralloc support. This has the advantage of reduced memory usage due to less
wastage from power-of-two textures, and can be a performance boost due to slow
sub-image updates on some devices.
2012-01-06 11:22:38 +00:00
Chris Lord
362960fc3a Bug 709120 - Add MultiTileLayer to Android native fennec. r=pcwalton
This adds a new layer type that uses multiple SingleTileLayer's to implement
tiled layer support. This also assumes a back-buffer that is tiled, so that
texture updates can remain fast (relatively speaking).
2012-01-06 11:22:24 +00:00
Kartikaya Gupta
0803af5ef6 Bug 715369 - Work around Solo.getCurrentActivity() possibly returning the wrong object. r=jmaher 2012-01-05 21:36:17 -05:00
Kartikaya Gupta
8247dd9f56 Bug 715444 - Handle races where the event being listened for comes before the listener is registered. r=jmaher 2012-01-05 21:36:17 -05:00
Kartikaya Gupta
bbadda79a3 Bug 715164 - Guard against another race condition in PZC. r=pcwalton 2012-01-05 18:13:25 -08:00
Brad Lassey
24ef09c9a6 bug 710392 - exclude about:home from top sites on about:home r=lucasr 2012-01-04 21:34:06 -08:00
Kartikaya Gupta
c153eccc9d Bug 715443 - [2/2] More robotium cleanup. r=jmaher
- Extract utility functions into BaseTest so that there's a bunch of duplicated code everywhere
- Use long instead of Long in testPan to avoid object creation
2012-01-05 10:20:22 -05:00
Kartikaya Gupta
63822f6725 Bug 715443 - [1/2] Robotium cleanup. r=jmaher
- Extract a common BaseTest class to hold the duplicated setup/tearDown stuff
- Convert 2-space indent to 4-space indent in keeping with rest of android code
- Prefix class member variables with 'm'
- Convert tabs to spaces, remove trailing whitespace
- Remove unused imports
- Use generics to reduce unchecked warnings
2012-01-05 10:20:22 -05:00
Kartikaya Gupta
5a5c192707 Bug 715011 - Ensure that panning of subwindows can still happen while the top window is locked on one or both axes. r=Cwiiis 2012-01-04 13:25:11 -05:00
Kartikaya Gupta
63480a77d6 Bug 715011 - Check the computed style instead of the element style to determine scrollableness. r=Cwiiis 2012-01-04 13:24:56 -05:00
Mark Finkle
5cd16b6a23 Bug 708597 - Download toaster notification is displayed only for the first download [r=margaret] 2012-01-04 23:36:57 -05:00
Ed Morley
afefb38ea6 Backout b48ad2fa6178 (bug 708651) for talos and mochitest failures 2012-01-05 04:25:07 +00:00
James Willcox
1d127eda80 Bug 715190 - Clear existing GL errors before trying to check for a new one r=clord 2012-01-04 21:51:11 -05:00
Wes Johnston
1f86dcacc2 Bug 708651 - Create a fake profile directory if BrowserProvider is started before Gecko. r=blassey 2012-01-04 17:28:04 -08:00
Kartikaya Gupta
d22dffb0d4 Bug 716673 - Fix up copyright and authors. r=pcwalton 2012-01-10 10:06:11 -05:00
Kartikaya Gupta
81aff56834 Bug 716673 - Pull out duplicated hard-coded strings as static variables. r=pcwalton 2012-01-10 10:06:10 -05:00
Kartikaya Gupta
62222ffa24 Bug 716673 - Split out the Axis class from the PanZoomController. r=pcwalton 2012-01-10 10:06:08 -05:00
Kartikaya Gupta
e8461b8c51 Bug 716673 - Split out a SubdocumentScrollHelper from the PanZoomController. r=pcwalton 2012-01-10 10:06:05 -05:00
Kartikaya Gupta
47ca55bbb5 Bug 716673 - Encapsulate the fling state in Axis. r=pcwalton 2012-01-10 10:06:03 -05:00
Kartikaya Gupta
2d917018bf Bug 716673 - Encapsulate the velocity, locked, and disableSnap variables in Axis. r=pcwalton 2012-01-10 10:06:01 -05:00
Kartikaya Gupta
8a93b6f933 Bug 716673 - Use the locked velocity instead of unlocked velocity in a couple of places. r=pcwalton 2012-01-10 10:05:59 -05:00
Kartikaya Gupta
b927405877 Bug 716673 - Fix up the advanceFling() step. r=pcwalton
- Refactor the code a little to ensure we don't do any flinging
  if the panning is being overridden.
- Collapse duplicated/inconsistent code in the fling-termination
  conditions so that it makes sense now.
2012-01-10 10:05:57 -05:00
Kartikaya Gupta
78ab72ec22 Bug 716673 - Collapse unused WAITING_TO_SNAP and SNAPPING flingstates into STOPPED. r=pcwalton 2012-01-10 10:05:55 -05:00
Kartikaya Gupta
ce93ccd236 Bug 716673 - Completely encapsulate Axis variables lastTouchPos and touchPos. r=pcwalton 2012-01-10 10:05:53 -05:00
Kartikaya Gupta
37b010df8a Bug 716673 - Completely encapsulate Axis variable firstTouchPos. r=pcwalton 2012-01-10 10:05:51 -05:00
Kartikaya Gupta
cbc7a48aaa Bug 716673 - Refactor some more duplicated code from the track() functions. r=pcwalton 2012-01-10 10:05:49 -05:00
Kartikaya Gupta
373c8a080c Bug 716673 - Refactor some repeated code into a startTouch method. r=pcwalton 2012-01-10 10:05:48 -05:00
Kartikaya Gupta
8f611820ca Bug 716673 - Misc cleanups in PanZoomController. r=pcwalton
- Remove unused imports.
- Move all class variables together, and make some final.
- Fix up some comments.
- Remove unused methods.
- Remove some dead code
- Move some functions around so they are grouped based on behaviour.
2012-01-10 10:05:46 -05:00
Kartikaya Gupta
6c1ed49ef0 Bug 716673 - Remove some dead code. r=pcwalton
Events that come in for the non-primary pointer are ACTION_POINTER_DOWN
rather than ACTION_DOWN, so this code will never get exercised.
2012-01-10 10:05:43 -05:00
Kartikaya Gupta
149e223a11 Bug 716673 - Refactor some code that sends messages to Gecko. r=pcwalton 2012-01-10 10:05:42 -05:00
Kartikaya Gupta
67cf21cbba Bug 716673 - Remove unnecessary finalize() function. r=pcwalton
The finalize will never be called because GeckoAppShell holds
on to the PZC (as a GeckoEventListener) thereby preventing it
from ever getting GC'd.
2012-01-10 10:05:40 -05:00
Ed Morley
0b5b50b67c Merge mozilla-central to mozilla-inbound 2012-01-10 23:56:12 +00:00
Brad Lassey
cd8cf6f1e3 bug 716818 - potential race condition in GeckoThread r=mfinkle 2012-01-10 00:02:03 -08:00
Brad Lassey
88e3637cca bug 715507 - GlobalHistory is accessing Gecko on the wrong thread r=dougt,kats 2012-01-05 16:14:23 -08:00
Mark Finkle
0824cb64ed Bug 714975 - [ICS] Home Screen icons are too small on ICS [r=wesj] 2012-01-04 15:52:22 -05:00
Brad Lassey
c3aecb494c bug 714972 - Opening links from external apps doesn't work after OOM r=mfinkle 2012-01-03 21:47:48 -08:00
Patrick Walton
4d03f73178 Bug 709492 - Part 4: Send a viewport size upon loading Gecko so that we don't suppress painting for the first page. r=kats 2012-01-03 22:55:10 -08:00
Patrick Walton
463cb8081a Bug 709492 - Part 3: Tie viewport updates to drawing to avoid page transition flicker. r=kats 2012-01-03 22:55:04 -08:00
Patrick Walton
198ecb0063 Bug 709492 - Part 2: Forward the painting suppression flag from the presentation shell to the Android widget code. r=kats 2012-01-03 22:54:51 -08:00