Commit Graph

586 Commits

Author SHA1 Message Date
Ed Morley
329417cd35 Merge mozilla-central to mozilla-inbound 2012-01-13 03:19:46 +00:00
Doug Turner
e1493dd6cd 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
0583e7aa42 bug 711136 - thumbnails on about:home are really poor quality r=mfinkle 2012-01-11 00:09:48 -08:00
Dmitrij Petters
a7b53f4aa8 Bug 714767 - Grey horizontal band on bottom layer of URLBar [r=mbrubeck] 2012-01-11 16:58:19 -08:00
Matt Brubeck
79464a5537 Bug 714285 - Fix bug in text input context menu matching [r=wesj] 2012-01-11 16:36:11 -08:00
Matt Brubeck
7059e800a8 Bug 712307 - Update the urlbar icons for Android fennec [r=bnicholson] 2012-01-11 16:36:11 -08:00
Matt Brubeck
d8f3235f84 Bug 715211 - Update tab menu icons for Android fennec [r=wesj] 2012-01-11 13:59:55 -08:00
Matt Brubeck
6ace19ac3d 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
a94db34801 Bug 707150 - Enable local bookmarks/history database (r=blassey) 2012-01-11 19:47:19 +00:00
Lucas Rocha
af99ba4d51 Bug 707150 - Fix NullPointerException when getting IS_FOLDER (r=blassey) 2012-01-11 19:47:19 +00:00
Wes Johnston
7de822afca Bug 709078 - Add logging for awesomebar query times. r=lucasr 2012-01-11 10:53:39 -08:00
Ed Morley
a870ef3fc6 Merge last green changeset of mozilla-inbound to mozilla-central 2012-01-11 17:01:05 +00:00
Benjamin Smedberg
cec907be24 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
01813b69e4 Merge last PGO-green changeset from mozilla-inbound to mozilla-central 2012-01-11 02:39:31 +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
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
Brian Nicholson
40657a3206 Bug 709888 - Remove UA switcher. r=mfinkle 2012-01-12 12:26:26 -08:00
Mark Finkle
0ca84ffb3a 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
239a252e7a 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
ccc9fa2174 Bug 711199 - Update menu icons for Android 2.2 and 2.3 [r=lucasr] 2012-01-12 08:30:16 -08:00
Richard Newman
a204963e3f Bug 717056 - more setup strings for Android Sync. r=blassey 2012-01-10 22:56:43 -08:00
Brian Nicholson
9bea6c4562 Bug 697858 - Save restore state in bundle. r=mfinkle 2012-01-09 11:09:53 -08:00
Margaret Leibovic
59e93662a6 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
44b79e5958 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
58bc88d22e bug 713874 - Black thumbnails are produced by GeckoSoftwareLayerClient.getBitmap() r=mfinkle 2012-01-13 13:10:13 -05:00
Jonathan Kew
b1adbbce36 Backed out changeset ba3335f34100 (bug 713874) for Android build failures. 2012-01-14 22:19:31 +00:00
Brad Lassey
5357ae134e 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
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
Mark Finkle
4944b17004 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
20223e89ce Bug 710433 - The bookmark menu item should always say 'Bookmark', not 'Remove' [r=mbrubeck] 2012-01-06 13:10:06 -05:00
Mark Finkle
000092c9ba Bug 715347 - Add basic Download Manager support [r=mbrubeck] 2012-01-06 09:34:34 -05:00
Chris Lord
55450d6017 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
dd6d417d5d 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
2fee06e344 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
20a095db65 Bug 715369 - Work around Solo.getCurrentActivity() possibly returning the wrong object. r=jmaher 2012-01-05 21:36:17 -05:00
Kartikaya Gupta
4a223fd44d 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
8aa0553439 Bug 715164 - Guard against another race condition in PZC. r=pcwalton 2012-01-05 18:13:25 -08:00
Brad Lassey
e57413ec24 bug 710392 - exclude about:home from top sites on about:home r=lucasr 2012-01-04 21:34:06 -08:00
Kartikaya Gupta
d2f4ccc15c 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
04aa4f1aef 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
a14cc99e99 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
37a2ec2e34 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
ce69d4152d Bug 708597 - Download toaster notification is displayed only for the first download [r=margaret] 2012-01-04 23:36:57 -05:00
Ed Morley
361ea91c35 Backout b48ad2fa6178 (bug 708651) for talos and mochitest failures 2012-01-05 04:25:07 +00:00
James Willcox
37d3c2bd21 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
1d05dc9cb7 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
612b1d1def Bug 716673 - Fix up copyright and authors. r=pcwalton 2012-01-10 10:06:11 -05:00
Kartikaya Gupta
4493ad9d7b Bug 716673 - Pull out duplicated hard-coded strings as static variables. r=pcwalton 2012-01-10 10:06:10 -05:00
Kartikaya Gupta
dd65c64a25 Bug 716673 - Split out the Axis class from the PanZoomController. r=pcwalton 2012-01-10 10:06:08 -05:00
Kartikaya Gupta
d7b57953c7 Bug 716673 - Split out a SubdocumentScrollHelper from the PanZoomController. r=pcwalton 2012-01-10 10:06:05 -05:00
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
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
Mark Finkle
0c5507b483 Bug 714975 - [ICS] Home Screen icons are too small on ICS [r=wesj] 2012-01-04 15:52:22 -05:00
Brad Lassey
13c544c303 bug 714972 - Opening links from external apps doesn't work after OOM r=mfinkle 2012-01-03 21:47:48 -08:00
Patrick Walton
ab264c019f 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