Commit Graph

600 Commits

Author SHA1 Message Date
Justin Wood
9e5a881c42 Merge m-c tip to m-i 2012-01-15 05:29:24 -05:00
Richard Newman
88ff884946 Bug 709339 - First mostly functional drop of native Sync. a=mobile 2012-01-14 09:20:31 -08:00
Richard Newman
2b222659e0 Bug 709339 - add sync_options.xml to Android Makefile. a=mobile 2012-01-14 09:20:30 -08:00
Richard Newman
09887034f7 Bug 717869 - fix BrowserProvider.generateGuid to not append trailing newlines. r=blassey 2012-01-14 09:20:30 -08:00
Alex Pakhotin
48820df337 Bug 714950 - Unable to see characters typed in landscape fullscreen VKB. r=blassey 2012-01-06 18:27:09 -08:00
Margaret Leibovic
ffb38a14ad Bug 717284 - Update "Enable plugins" pref strings to be more l10n friendly. r=mfinkle 2012-01-13 11:38:30 -08:00
Margaret Leibovic
091ab3599b Bug 710704 - Make click events work properly in frames. r=wesj 2012-01-12 17:01:32 -08:00
Margaret Leibovic
87d96efb99 Bug 711993 - Catch exception thrown by uri.host in PermissionsHelper observer. r=mfinkle 2012-01-12 13:29:14 -08:00
Doug Turner
f875263117 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
ca69f1d59f Bug 699793 - Clear favicon urls database when history is cleared (r=blassey) 2012-01-13 16:21:20 +00:00
Kartikaya Gupta
d33025d8bc Bug 715836 - Ensure the UI is only modified from the UI thread. r=pcwalton 2012-01-13 07:03:22 -05:00
Kartikaya Gupta
7c67e3822a Bug 715836 - (Cleanup) Remove unused functions. r=pcwalton 2012-01-13 07:03:22 -05:00
Kartikaya Gupta
38a9f42d19 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
b2cee1434e 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
17f04a78f4 Merge mozilla-central to mozilla-inbound 2012-01-13 03:19:46 +00:00
Doug Turner
ba6c3bf88f 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
6043d47e41 bug 711136 - thumbnails on about:home are really poor quality r=mfinkle 2012-01-11 00:09:48 -08:00
Dmitrij Petters
2f5f748999 Bug 714767 - Grey horizontal band on bottom layer of URLBar [r=mbrubeck] 2012-01-11 16:58:19 -08:00
Matt Brubeck
721d5c3c5a Bug 714285 - Fix bug in text input context menu matching [r=wesj] 2012-01-11 16:36:11 -08:00
Matt Brubeck
13a1590242 Bug 712307 - Update the urlbar icons for Android fennec [r=bnicholson] 2012-01-11 16:36:11 -08:00
Matt Brubeck
c80f8e909f Bug 715211 - Update tab menu icons for Android fennec [r=wesj] 2012-01-11 13:59:55 -08:00
Matt Brubeck
d96cb63674 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
6cf70f0479 Bug 707150 - Enable local bookmarks/history database (r=blassey) 2012-01-11 19:47:19 +00:00
Lucas Rocha
567bfd0cb1 Bug 707150 - Fix NullPointerException when getting IS_FOLDER (r=blassey) 2012-01-11 19:47:19 +00:00
Wes Johnston
55fbec3b94 Bug 709078 - Add logging for awesomebar query times. r=lucasr 2012-01-11 10:53:39 -08:00
Ed Morley
13a0a7914c Merge last green changeset of mozilla-inbound to mozilla-central 2012-01-11 17:01:05 +00:00
Benjamin Smedberg
f85430f5f5 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
e0e562f3ef Merge last PGO-green changeset from mozilla-inbound to mozilla-central 2012-01-11 02:39:31 +00:00
Axel Hecht
96eed1ae6c bug 716842, make sure that l10n repacks have mobile/locales/Makefile, r=aki 2012-01-10 11:10:22 +01:00
Richard Newman
e4010f25e4 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
01c81dfb00 Bug 715673 - Hande browser-lastwindow-close events. r=mfinkle 2012-01-09 11:56:30 -08:00
Brian Nicholson
66b3083fa1 Bug 715388 - Don't show telemetry doorhanger for session restore. r=mfinkle 2012-01-09 11:51:07 -08:00
Kartikaya Gupta
5000112b52 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
8fd87cb8ed Bug 716089 - Fix query syntax for filtering URLs on local DB (r=blassey) 2012-01-10 09:09:32 -08:00
Brian Nicholson
1e663bbff4 Bug 709888 - Remove UA switcher. r=mfinkle 2012-01-12 12:26:26 -08:00
Mark Finkle
158b1d0c69 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
269fcac4a9 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
89654fa96e Bug 711199 - Update menu icons for Android 2.2 and 2.3 [r=lucasr] 2012-01-12 08:30:16 -08:00
Richard Newman
a5e8bbe3ca Bug 717056 - more setup strings for Android Sync. r=blassey 2012-01-10 22:56:43 -08:00
Brian Nicholson
5d27905034 Bug 697858 - Save restore state in bundle. r=mfinkle 2012-01-09 11:09:53 -08:00
Margaret Leibovic
3231a98fa6 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
c17d0381c8 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
6af65a3e2d bug 713874 - Black thumbnails are produced by GeckoSoftwareLayerClient.getBitmap() r=mfinkle 2012-01-13 13:10:13 -05:00
Jonathan Kew
42f0146e34 Backed out changeset ba3335f34100 (bug 713874) for Android build failures. 2012-01-14 22:19:31 +00:00
Brad Lassey
548a001326 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
e53de290fb 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
b6d73fd06b Bug 716760 - "Pair device" string addition. r=blassey 2012-01-09 20:45:23 -08:00
Margaret Leibovic
f617037666 Bug 716722 - Remove unnecessary code and use Services.jsm in sanitize.js. r=mbrubeck 2012-01-09 15:59:14 -08:00
Chris Peterson
9b3cf34229 Bug 712791 - Avoid cnn.com crash by catching SQLite exception. r=dougt a=dougt 2012-01-05 16:47:48 -08:00
Margaret Leibovic
7786d2d1d5 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
03ac2b686a 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
14dfb28d69 Bug 715673 - Hande browser-lastwindow-close events r=mfinkle 2012-01-09 11:56:30 -08:00
Brian Nicholson
cb34baeb14 Bug 715388 - Don't show telemetry doorhanger for session restore r=mfinkle 2012-01-09 11:51:07 -08:00
Brian Nicholson
92e93707d5 Bug 697858 - Save restore state in bundle [r=mfinkle] 2012-01-09 11:09:53 -08:00
Joel Maher
fb177d4678 Bug 715309 - robocop needs to have a more uniform log format. r=gbrown 2012-01-07 18:41:08 -05:00
Ed Morley
bc6bc81bd0 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
c220fd6332 Bug 715309 - robocop needs to have a more uniform log format. r=gbrown 2012-01-07 08:25:05 -05:00
Sriram Ramasubramanian
092530e5cc 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
4409cedb5c Bug 712808: Redrawn URL bar needs to refresh its values [r=mfinkle] 2011-12-21 15:58:36 -08:00
Chris Peterson
2fb5958a69 Bug 714874 - Disable some Java warnings. r=rnewman r=dougt a=dougt 2012-01-05 17:36:28 -08:00
Chris Peterson
a4d87cd62d Bug 714874 - Fix Java warnings about redundant casts. r=pcwalton r=dougt a=dougt 2012-01-06 12:21:49 -08:00
Chris Peterson
043eb9f603 Bug 714874 - Fix some Java warnings. r=dougt a=dougt 2012-01-05 10:49:33 -08:00
Chris Peterson
ac5bcdcf66 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
76d5506282 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
189f77cab5 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
c9ddb36599 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
729fb1fa09 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
d17024b104 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
77b70d1197 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
83046cb819 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
ca09bf547d 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
cb5200e379 Bug 715303 - Fire focus when clicking select elements. r=mfinkle 2012-01-06 11:36:36 -08:00
Wes Johnston
321e5dabef Bug 698917 - Remove & from prompt labels. r=mfinkle 2012-01-06 11:36:35 -08:00
Mark Finkle
02a94c079c 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
f89cd96685 Bug 710433 - The bookmark menu item should always say 'Bookmark', not 'Remove' [r=mbrubeck] 2012-01-06 13:10:06 -05:00
Mark Finkle
7d1153e3bf Bug 715347 - Add basic Download Manager support [r=mbrubeck] 2012-01-06 09:34:34 -05:00
Chris Lord
d548470d96 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
9224a45700 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
4c4b997324 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
59707eb70d Bug 715369 - Work around Solo.getCurrentActivity() possibly returning the wrong object. r=jmaher 2012-01-05 21:36:17 -05:00
Kartikaya Gupta
00738767fc 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
5355c82048 Bug 715164 - Guard against another race condition in PZC. r=pcwalton 2012-01-05 18:13:25 -08:00
Brad Lassey
6cb042919a bug 710392 - exclude about:home from top sites on about:home r=lucasr 2012-01-04 21:34:06 -08:00
Kartikaya Gupta
2ddf4b722d 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
dc3dce6a02 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
f37b760178 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
1fcdb20e97 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
f09b03b90c Bug 708597 - Download toaster notification is displayed only for the first download [r=margaret] 2012-01-04 23:36:57 -05:00
Ed Morley
db93f28fbb Backout b48ad2fa6178 (bug 708651) for talos and mochitest failures 2012-01-05 04:25:07 +00:00
James Willcox
462e0daa64 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
d494b4e158 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
cebe94748c Bug 716673 - Fix up copyright and authors. r=pcwalton 2012-01-10 10:06:11 -05:00
Kartikaya Gupta
70f0f1bf83 Bug 716673 - Pull out duplicated hard-coded strings as static variables. r=pcwalton 2012-01-10 10:06:10 -05:00
Kartikaya Gupta
db517f8f24 Bug 716673 - Split out the Axis class from the PanZoomController. r=pcwalton 2012-01-10 10:06:08 -05:00
Kartikaya Gupta
4db2ca3cad Bug 716673 - Split out a SubdocumentScrollHelper from the PanZoomController. r=pcwalton 2012-01-10 10:06:05 -05:00
Kartikaya Gupta
c7f1933c6f Bug 716673 - Encapsulate the fling state in Axis. r=pcwalton 2012-01-10 10:06:03 -05:00
Kartikaya Gupta
a807c16fe2 Bug 716673 - Encapsulate the velocity, locked, and disableSnap variables in Axis. r=pcwalton 2012-01-10 10:06:01 -05:00
Kartikaya Gupta
779c978c29 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
7f58eba51b 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
cb0894c39b Bug 716673 - Collapse unused WAITING_TO_SNAP and SNAPPING flingstates into STOPPED. r=pcwalton 2012-01-10 10:05:55 -05:00