Commit Graph

507 Commits

Author SHA1 Message Date
Kartikaya Gupta
c50f42cca3 Bug 716673 - Encapsulate the fling state in Axis. r=pcwalton 2012-01-10 10:06:03 -05:00
Kartikaya Gupta
9b28ae4a9f Bug 716673 - Encapsulate the velocity, locked, and disableSnap variables in Axis. r=pcwalton 2012-01-10 10:06:01 -05:00
Kartikaya Gupta
507223b40b 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
f33ee7053e 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
4ac7142036 Bug 716673 - Collapse unused WAITING_TO_SNAP and SNAPPING flingstates into STOPPED. r=pcwalton 2012-01-10 10:05:55 -05:00
Kartikaya Gupta
d7cab97e1a Bug 716673 - Completely encapsulate Axis variables lastTouchPos and touchPos. r=pcwalton 2012-01-10 10:05:53 -05:00
Kartikaya Gupta
98f37bcfd2 Bug 716673 - Completely encapsulate Axis variable firstTouchPos. r=pcwalton 2012-01-10 10:05:51 -05:00
Kartikaya Gupta
5eeb9e791f Bug 716673 - Refactor some more duplicated code from the track() functions. r=pcwalton 2012-01-10 10:05:49 -05:00
Kartikaya Gupta
c95e0eb66a Bug 716673 - Refactor some repeated code into a startTouch method. r=pcwalton 2012-01-10 10:05:48 -05:00
Kartikaya Gupta
88b3405314 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
b796ad67a5 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
0e66e28bb0 Bug 716673 - Refactor some code that sends messages to Gecko. r=pcwalton 2012-01-10 10:05:42 -05:00
Kartikaya Gupta
7e531bbeb4 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
2d33d2eaa8 Merge mozilla-central to mozilla-inbound 2012-01-10 23:56:12 +00:00
Axel Hecht
6adee5d307 bug 716842, make sure that l10n repacks have mobile/locales/Makefile, r=aki 2012-01-10 11:10:22 +01:00
Richard Newman
2b76adb888 Bug 716811 - Local DB calls getAsBoolean for IS_FOLDER, schema uses integers, ClassCastException results. r=blassey 2012-01-10 00:28:48 -08:00
Brad Lassey
06d5a4419e bug 716818 - potential race condition in GeckoThread r=mfinkle 2012-01-10 00:02:03 -08:00
Brad Lassey
800d9dfc2b bug 715507 - GlobalHistory is accessing Gecko on the wrong thread r=dougt,kats 2012-01-05 16:14:23 -08:00
Brian Nicholson
9ed4be4301 Bug 715673 - Hande browser-lastwindow-close events. r=mfinkle 2012-01-09 11:56:30 -08:00
Brian Nicholson
01ee52648b Bug 715388 - Don't show telemetry doorhanger for session restore. r=mfinkle 2012-01-09 11:51:07 -08:00
Kartikaya Gupta
3e5c0ae97c 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
e043a8c750 Bug 716089 - Fix query syntax for filtering URLs on local DB (r=blassey) 2012-01-10 09:09:32 -08:00
Mike Hommey
567913809a 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
12b5bf3030 Bug 716760 - "Pair device" string addition. r=blassey 2012-01-09 20:45:23 -08:00
Margaret Leibovic
2ffa604881 Bug 716722 - Remove unnecessary code and use Services.jsm in sanitize.js. r=mbrubeck 2012-01-09 15:59:14 -08:00
Chris Peterson
c619e860ec Bug 712791 - Avoid cnn.com crash by catching SQLite exception. r=dougt a=dougt 2012-01-05 16:47:48 -08:00
Margaret Leibovic
329c212bc4 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
23079e1cbb 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
56d1151526 Bug 715673 - Hande browser-lastwindow-close events r=mfinkle 2012-01-09 11:56:30 -08:00
Brian Nicholson
ef65ebdaaf Bug 715388 - Don't show telemetry doorhanger for session restore r=mfinkle 2012-01-09 11:51:07 -08:00
Brian Nicholson
2c9124a331 Bug 697858 - Save restore state in bundle [r=mfinkle] 2012-01-09 11:09:53 -08:00
Joel Maher
bf6761d74e Bug 715309 - robocop needs to have a more uniform log format. r=gbrown 2012-01-07 18:41:08 -05:00
Ed Morley
71e7d54a52 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
003af6373f Bug 715309 - robocop needs to have a more uniform log format. r=gbrown 2012-01-07 08:25:05 -05:00
Sriram Ramasubramanian
0fe075aa6a 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
e568e1ef3e Bug 712808: Redrawn URL bar needs to refresh its values [r=mfinkle] 2011-12-21 15:58:36 -08:00
Chris Peterson
e6473f6a51 Bug 714874 - Disable some Java warnings. r=rnewman r=dougt a=dougt 2012-01-05 17:36:28 -08:00
Chris Peterson
adf7970c58 Bug 714874 - Fix Java warnings about redundant casts. r=pcwalton r=dougt a=dougt 2012-01-06 12:21:49 -08:00
Chris Peterson
b576548e57 Bug 714874 - Fix some Java warnings. r=dougt a=dougt 2012-01-05 10:49:33 -08:00
Chris Peterson
40f55035a6 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
369d520577 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
cdc3fe1942 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
a731c7e15a 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
7fe42fef53 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
915dc13738 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
5c8d0b8337 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
ae3594e9a9 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
85277118d7 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
00c734c9d4 Bug 715303 - Fire focus when clicking select elements. r=mfinkle 2012-01-06 11:36:36 -08:00
Wes Johnston
5920e8b772 Bug 698917 - Remove & from prompt labels. r=mfinkle 2012-01-06 11:36:35 -08:00