Commit Graph

5049 Commits

Author SHA1 Message Date
Doug Turner
222fba130c Merge with mozilla-central 2012-02-16 18:06:54 -08:00
Kartikaya Gupta
64f4f0f8e3 Cache the checkberboard color so that we don't redo a bunch of work uselessly 2012-02-16 12:04:37 -05:00
Kartikaya Gupta
3ad69b3dbd Bug 727565 - Fix new compiler warnings for javac 1.7. r=bnicholson 2012-02-15 22:55:47 -05:00
Sriram Ramasubramanian
cb1c69f23d Bug 727610: Supporting fullscreen on ICS. [r=mfinkle] 2012-02-15 16:14:02 -08:00
Brad Lassey
ab48da35f9 bug 726930 - speed up tab thumbnails r=mfinkle 2012-02-17 10:52:26 -08:00
Mike Hommey
06578da801 Bug 713622 - Re-enable elfhack on Fennec XUL. r=mbrubeck 2012-02-17 08:55:36 +01:00
Patrick Walton
fa07e9b633 Don't render while pinching. Reduces jank and makes zooming easier to debug. 2012-02-13 22:48:00 -08:00
Patrick Walton
062af3911c Scale the displayport by the zoom factor 2012-02-13 22:32:31 -08:00
Patrick Walton
dd0a3bbc18 Fix scissor rect and use the Java compositor's cached viewport metrics when drawing decorations 2012-02-13 20:20:38 -08:00
Kartikaya Gupta
daf42909cc Guard against OOMing in GeckoGLLayerClient.getBitmap like we were doing in GeckoSoftwareLayerClient 2012-02-13 18:15:27 -05:00
Patrick Walton
b4211fd4ba Expose ActivateProgram() and DeactivateProgram() to widget 2012-02-13 13:55:10 -08:00
Kartikaya Gupta
3eaca9fb0c Reduce diff against m-c; remove unrelated change in AboutHomeContent 2012-02-13 17:43:08 -05:00
Kyle Machulis
2fed82f6c6 Bug 711601 - Bluetooth Implementation on B2G - patch 1: Boilerplate code for creating navigator.mozBluetooth object. r=bent 2012-02-15 13:37:13 -08:00
Kyle Machulis
55bf17714a Bug 711601 - Bluetooth Implementation on B2G - patch 1: Boilerplate code for creating navigator.mozBluetooth object. r=bent 2012-02-14 17:51:52 -08:00
Patrick Walton
09501a39aa Split out Java compositor shader program activation and deactivation into separate functions 2012-02-13 12:27:09 -08:00
Ali Juma
a74c63a281 Enable zooming. 2012-02-12 15:06:34 -05:00
Patrick Walton
8a076808c5 Deactivate vertex attribute arrays and the program. Seems to fix the crashes on PowerVR. 2012-02-10 23:50:13 -08:00
Patrick Walton
78cb81814f Uncomment the Java compositor integration, except for the part that causes PowerVR crashes 2012-02-10 23:03:02 -08:00
Patrick Walton
3b99552765 Fix browser.js ReferenceError 2012-02-10 16:17:15 -08:00
Ali Juma
64839a1fdf Fix race conditions when updating view transform, by switching to an absolute transform. 2012-02-10 16:08:24 -05:00
Ali Juma
96f267b56a Merge heads. 2012-02-10 10:31:31 -05:00
Patrick Walton
fdcd9a93f7 Expose the necessary Java routines to render decorations through JNI 2012-02-09 22:58:18 -08:00
Richard Newman
098eea8f40 Bug 727725 - Incorrect assertion in GlobalSession. 2012-02-16 14:58:31 -08:00
Richard Newman
85abf16249 Bug 726194 - Sync pairing succeeds, but is OFF. 2012-02-16 14:28:04 -08:00
Matt Brubeck
fe86b1e34e Bug 728005 - Crash when entering full screen mode on Android 2.3 [r=sriram] 2012-02-16 14:22:27 -08:00
Mark Finkle
de6c422c44 Bug 726399 - Robotium: Add simple test for 'Open Link' context menu r=gbrown 2012-02-16 14:32:33 -05:00
Mark Finkle
3e353a996a Backout eb9c17efd1e4, wrong patch 2012-02-16 14:21:52 -05:00
Mark Finkle
0051759203 Bug 727730 - Add support for Share Link context menu r=mbrubeck 2012-02-16 14:07:12 -05:00
Mark Finkle
a70ef92093 Bug 726399 - Robotium: Add simple test for 'Open Link' context menu r=gbrown 2012-02-16 14:06:58 -05:00
Justin Lebar
cc201aa57f Bug 727381 - On Android Fennec, send haptic feedback while a vibration is playing, so as not to clobber it. r=blassey 2012-02-15 13:56:00 -05:00
Ali Juma
54af353fd7 Code cleanup. 2012-02-09 17:39:04 -05:00
Mike Hommey
afba0fac42 Bug 728872 - NULL-check mSoftwareLayerClient in GeckoApp$SessionSnapshotRunnable.run. r=mfinkle 2012-02-21 08:11:37 +01:00
Lucas Rocha
4c9b55784a Bug 723841 - Add a foreign key to bookmarks table and sanitize special folders (r=rnewman) 2012-02-20 19:28:27 +00:00
Lucas Rocha
bbd029f43e Bug 723841 - Define a constant for the predefined root id for bookmarks (r=rnewman) 2012-02-20 19:28:27 +00:00
Lucas Rocha
b12f77ee39 Bug 723841 - Generalize code to create or update special folders (r=rnewman) 2012-02-20 19:28:27 +00:00
Lucas Rocha
4b17e0fc01 Bug 723841 - Factor out methods to create each part of the database (r=rnewman) 2012-02-20 19:28:27 +00:00
Chris Lord
fdf006bca5 Bug 709813 - Fix full-screen mode in native android fennec. r=mbrubeck
The style rule that gets set for full-screen mode was conflicting with how we
size the browser element for viewport/displayport support. Size the browser
using min-width/height to work around this.
2012-02-20 17:21:56 +00:00
Kyle Machulis
0ec84a60d2 Bug 711601 - B2G Bluetooth Boiler Plate r=bent 2012-02-20 16:15:19 +01:00
Patrick Walton
efc1f6ee1d Split up the LayerRenderer's drawing logic in preparation for exposing it to JNI 2012-02-08 22:27:01 -08:00
Patrick Walton
83f031eba7 Bug 723036 - Port the Java compositor to OpenGL ES 2.0 2012-02-08 21:13:08 -08:00
Benoit Girard
beb2ae7df8 Merge viewport with tip 2012-02-08 20:42:17 -05:00
Benoit Girard
b262f4ad9d Merge working on Nexus S 2012-02-08 20:23:27 -05:00
Ali Juma
a2d1806910 Merge. 2012-02-08 19:55:13 -05:00
Benoit Girard
ea6c7d744f Merge fixes 2012-02-08 19:01:21 -05:00
Benoit Girard
2f35d690b6 Merge m-c into maple 2012-02-08 16:43:22 -05:00
Patrick Walton
0910dba276 Remove CSS transforms as they're basically incompatible with displayports 2012-02-08 13:12:12 -08:00
Ali Juma
b0394626a2 Fix incorrect rendering after orientation change. 2012-02-08 16:09:10 -05:00
Benoit Girard
ad35e17cb4 Merge working head with display port head 2012-02-08 12:18:27 -05:00
Benoit Girard
9b2cd37240 Remove RemoveAbstractView, pushing new head 2012-02-08 10:46:26 -05:00
Patrick Walton
67c4b7f7be Allow redraw while a finger is down. Make this logic work properly later. 2012-02-07 23:37:29 -08:00
Patrick Walton
008db0822a Lower the minimum viewport change delay to 25 for now 2012-02-07 23:10:58 -08:00
Patrick Walton
aa35ff3cd3 Use a display port in browser.js. Disable zooming and CSS viewport adjustment for now. 2012-02-07 22:45:41 -08:00
Ali Juma
ac787b0863 Move surface ownership to GLContextProviderEGL.
--HG--
extra : rebase_source : a3f83d279de5087a521a938d66c4e7b5dee79d74
2012-02-06 16:53:09 -05:00
Ali Juma
f9ebf5ebe2 Pause/resume composition on surface destruction/creation. 2012-02-06 13:57:06 -05:00
Ali Juma
92e59fd959 Add support for pausing/resuming composition from Java. 2012-02-05 13:33:38 -05:00
Patrick Walton
402747340d Stand up async panning and zooming 2012-02-03 23:31:05 -08:00
Patrick Walton
50c7df015c Poke the compositor to composite on a pan or zoom; stub AndroidBridge::GetViewTransform() 2012-02-03 18:35:58 -08:00
Patrick Walton
9159739ff5 Stub ViewTransform code; unbork the viewport size a bit 2012-02-03 16:39:15 -08:00
Patrick Walton
0b4a53c433 Add a virtual layer and GL layer client implementation 2012-02-03 15:48:26 -08:00
Benoit Girard
8b06842a39 Change delay to 15ms 2012-02-03 14:18:48 -05:00
Kartikaya Gupta
df1633e270 Bug 723295 - Prevent startup crashes on devices with API level >= 8 and no SD card. r=wesj 2012-02-25 23:22:40 -05:00
Kartikaya Gupta
56e190cf8f Bug 726382 - Fold the GeckoDirProvider and a bunch of duplicated/complicated code into a new GeckoProfile class. r=wesj 2012-02-25 23:22:40 -05:00
Ryan VanderMeulen
498e286582 Back out 940194c616f2 (bug 729237) on suspicion of Android XUL bustage. 2012-02-25 22:09:23 -05:00
Eitan Isaacson
b803f96348 Bug 729237 - Fixed AndroidBridge emit a11y event function, added java string class as class member. r=blassey 2012-02-25 20:38:27 -05:00
Benoit Girard
92aebc0551 Remove deadcode 2012-02-03 10:26:54 -05:00
Patrick Walton
cc6fa599ae Eliminate coupling between the software layer client and the rest of Fennec 2012-02-02 23:30:41 -08:00
Patrick Walton
c2c88cf60a Pull parts of GeckoSoftwareLayerClient that will be used for GL layers into a generic GeckoLayerClient class 2012-02-02 22:07:05 -08:00
Patrick Walton
2b6bcfedfa Partial removal of tiling, stub callouts 2012-02-02 19:28:22 -08:00
Benoit Girard
8c2ddab43b Fix problems with Nexus S init 2012-02-02 13:57:38 -05:00
Patrick Walton
59e0040294 Turn on OMTC by default; fix crash when acquiring EGL surface 2012-02-01 23:54:01 -08:00
Benoit Girard
36780c8b69 Progress on omtc integration 2012-02-01 16:18:35 -05:00
Benoit Girard
7468656545 Move registerCxxCompositor to FlexView 2012-02-01 14:15:52 -05:00
Ali Juma
bc530734b9 Merge m-c to kiwifox 2012-02-01 12:07:14 -05:00
Patrick Walton
107405a6ee Initial import of the flexible GL surface view 2012-01-31 21:35:52 -08:00
Benoit Girard
a6b4978cad Android build fixes 2012-01-31 14:28:37 -05:00
Benoit Girard
7768764c56 merge mc into kiwifox 2012-01-31 13:55:51 -05:00
Doug Turner
1fff79230b Bug 720092 - java.lang.IndexOutOfBoundsException: getChars (0 ... 88168) ends beyond length 0. We do not know why this is happening yet. This patch catches the throw and logs what values we have for start and end. r=alexp 2012-01-31 09:24:31 -08:00
Kartikaya Gupta
248b760bba Bug 721125 - Prevent the edge resistance from being negative, which can wreak havoc on the viewport. r=pcwalton 2012-01-31 00:42:40 -05:00
Benoit Girard
8b421129d7 Merge fixes 2012-01-30 15:57:30 -05:00
Chris Lord
c1e993df15 Bug 722068 - Fix invalidation during animations in MultiTileLayer. r=pcwalton
The buffer in MultiTileLayer is invalidated each time the origin or resolution
changes. MultiTileLayer was using the last updated origin/resolution instead of
the last set, so if Gecko was animating and locked the layer for long enough,
the buffer would be incorrectly invalidated due to the origin/resolution not
being updated.
2012-01-31 09:36:02 +00:00
Chris Lord
30f5d53aa8 Bug 720613 - Prevent resizing before the surface has been created. r=pcwalton
Prevent trying to resize the buffer before the surface has been created. At
that point, we wouldn't know our maximum texture size, so we would've thrown a
RuntimeException.
2012-01-31 09:36:00 +00:00
Benoit Girard
cc153dc324 Mergi mc to kiwifox, lots of conflicts so may not build 2012-01-30 13:38:20 -05:00
Matt Brubeck
bb579357ab Bug 720400 - Crash in nsPluginInstanceOwner::RemovePluginView @ mozilla::AndroidBridge::EnsureJNIThread [r=blassey] 2012-01-28 20:16:26 -08:00
Wes Johnston
6b146e12b9 Bug 718959 - Use data uri for homescreen shortcuts. r=blassey 2012-01-28 18:24:51 +01:00
Wes Johnston
bd24df5dbe Bug 711071 - Check for scrollable in velocity calculations. r=pcwalton 2012-01-28 18:23:45 +01:00
Brian Nicholson
4072dc4a70 Bug 701092 - Limit session restore attempts. r=mfinkle 2012-01-27 22:04:54 -08:00
Kartikaya Gupta
2f3d0a8be1 Bug 721888 - Fix compiler warnings. r=blassey 2012-01-27 21:00:03 -05:00
Benoit Girard
349ea74b39 Add missing files 2012-01-27 13:32:37 -05:00
Brian Nicholson
641749e991 Bug 716681 - Tabs are being duplicated when going back into Fennec. r=blassey 2012-01-27 17:33:02 -08:00
Brian Nicholson
78c3d29493 Bug 721577 - Race condition in about:home for tabs from last time. r=mfinkle 2012-01-27 17:28:47 -08:00
Brian Nicholson
5a6a82d6fd Bug 719195 - about:Home displayed briefly before session restore. r=mfinkle 2012-01-27 17:28:30 -08:00
Margaret Leibovic
d6a470ec91 Bug 719868 - Progress throbber still shows when we load about:home on startup. r=mfinkle 2012-01-26 15:07:38 -08:00
Wes Johnston
d1b5be93de Bug 721079 - Report pages with touch event listeners to Java. r=mfinkle 2012-01-30 20:47:23 -08:00
Kartikaya Gupta
023caa61db Bug 708687 - Snap the page when the page size changes and pushes it into overscroll. r=pcwalton 2012-01-30 23:43:36 -05:00
Brad Lassey
46026f9181 backout 934ce089223c because xul builds can't install on tegras running 2.2 to run tests 2012-01-30 23:34:44 -05:00
Sriram Ramasubramanian
2c67630f17 Bug 713464: Application Locale should not be reset from CPP. [r=mfinkle] 2012-01-30 19:59:47 -08:00
Kartikaya Gupta
591a8d6a69 Bug 720144 - Add a simple pixel test to testLoad to ensure the page loaded and was visible. r=jmaher 2012-01-30 22:46:34 -05:00
Kartikaya Gupta
67add8af20 Bug 720144 - Expose methods in robocop to grab the painted surface and to compare pixels. r=jmaher 2012-01-30 22:46:13 -05:00
Kartikaya Gupta
10db96c244 Bug 720144 - Allow listening for draw updates and obtaining a copy of the composited surface for robocop testing. r=Cwiiis 2012-01-30 22:45:38 -05:00
Brian Nicholson
fdef04bc7d Bug 710845 - Don't show disabled search engines in AwesomeBar. r=mfinkle 2012-01-30 18:14:53 -08:00
Benoit Girard
2a3688a8df Partial work for android OGLSurfaceView
--HG--
extra : rebase_source : 2c6ce362dd859e9f81a5b4490e2451826259a651
2012-01-26 14:23:13 -05:00
Matt Brubeck
2d1ae37d50 Bug 728861 - Don't make the add-on list visible when refreshing it in the background [r=mfinkle] 2012-02-23 16:31:29 -08:00
Matt Brubeck
a9f6b802d3 Bug 722249 - Make long extension names wrap in the fennec add-on manager [r=mfinkle] 2012-02-23 16:31:27 -08:00
Matt Brubeck
bae5943746 Bug 722252 - Extensions without icon get displayed with the icon of the previous extension [r=mfinkle] 2012-02-23 16:31:25 -08:00
Margaret Leibovic
0e7d9e2367 Bug 725483 - Fix up testBookmark to work with the new bookmark UI. r=gbrown 2012-02-23 10:48:48 -08:00
Margaret Leibovic
d006199d08 Bug 727451 - Pressing the back button in the bookmarks list should go up a folder level if possible. r=lucasr 2012-02-23 10:48:48 -08:00
Margaret Leibovic
efb77aade3 Bug 722020 (Part 2) - Fix bookmarks context menu. r=wesj 2012-02-23 10:48:48 -08:00
Margaret Leibovic
b48531c4c5 Bug 722020 - Bookmarks UI with folders. r=lucasr 2012-02-23 10:48:47 -08:00
Margaret Leibovic
a6a8f321b1 Bug 727482 - Remove custom bookmark observer. r=bnicholson 2012-02-23 10:48:45 -08:00
Richard Newman
cb3cf3c03b Bug 730000. r=rnewman 2012-02-23 09:48:54 -08:00
Gian-Carlo Pascutto
60eabfef0e Bug 729928 - Cleanup unused cache preferences. r=dcamp 2012-02-23 18:01:25 +01:00
Richard Newman
5dd5726a89 Bug 718238 - Part 6: don't reupload folders when their children array is already accurate. r=nalexander 2012-02-23 08:14:05 -08:00
Richard Newman
db8f11e6dc Bug 718238 - Part 5: allow access to the tracked GUIDs in RepositorySession. r=nalexander 2012-02-23 08:14:05 -08:00
Richard Newman
963d6c1b59 Bug 718238 - Part 4: Safety in checkRecordType. r=nalexander 2012-02-23 08:14:05 -08:00
Richard Newman
0055c0e69e Bug 718238 - Part 3: correct handling of deletion. Generate valid records for deleted bookmarks and history items. r=nalexander 2012-02-23 08:14:05 -08:00
Richard Newman
0999d6b815 Bug 718238 - Part 2: parenting and ordering of bookmarks. r=nalexander 2012-02-23 08:14:05 -08:00
Richard Newman
ae9a04d512 Bug 718238 - Part 1: Safety for logging after computeParentFields returns null. r=nalexander 2012-02-23 08:14:05 -08:00
Richard Newman
a436f7044e Bug 718238 - Part 0: Cleanup and basic improvements. r=nalexander 2012-02-23 08:14:05 -08:00
Richard Newman
ffba050fb4 Bug 729410 - Part 1: Implement basic automatic backoff unless a sync is forced. r=nalexander 2012-02-23 08:14:05 -08:00
Richard Newman
440a4dcaba Bug 729410 - Part 0: We don't use extras to store clusterURL any more. r=nalexander 2012-02-23 08:14:05 -08:00
Lucas Rocha
1b3e66f8fe Bug 713056 - Update list of search engines in the main thread (r=blassey) 2012-02-23 15:24:22 +00:00
Lucas Rocha
59a5c7c4ad Bug 710323 - Clicking on addons should go to their page in AMO (r=mfinkle) 2012-02-23 15:20:49 +00:00
Lucas Rocha
28e482a38f Bug 710323 - Save homepageURL property for recommended addons (r=mfinkle) 2012-02-23 15:20:49 +00:00
Lucas Rocha
d1e90bfadf Bug 710323 - Don't save unused properties for recommended addons (r=mfinkle) 2012-02-23 15:20:49 +00:00
Mike Hommey
f24d09012b Bug 727960 part 2 - Don't set MOZ_LINKER_CACHE if it was already set. r=mfinkle 2012-02-23 10:57:56 +01:00
Brian Nicholson
9c5863240f Bug 725609 - Bookmarklet test. r=mfinkle,gbrown 2012-02-22 18:26:04 -08:00
Brian Nicholson
05441dd2ba Bug 725609 - Add timeout tasks to test framework. r=jmaher 2012-02-22 18:26:04 -08:00
Brian Nicholson
2448576d01 Bug 725609 - Add Fennec bookmarklet support. r=mfinkle 2012-02-22 18:26:04 -08:00
Matt Brubeck
57a2a6e799 Bug 729681 - Remove the separate launcher icon for Firefox Sync [r=rnewman] 2012-02-22 14:54:45 -08:00
L. David Baron
a36ec05ea2 Unprefix uses of -moz-box-shadow and -moz-border-radius that have crept back in to the tree, prior to removing support for the prefixed forms. (Bug 693510) r=Mossop 2012-02-22 14:14:51 -08:00
Richard Newman
1ac8f0ac78 Bug 724292 - Add a ResolverActivity alias so Fennec can be launched by the Android Market app [r=blassey] 2012-02-22 12:53:20 -08:00
Richard Newman
2384954675 Bug 728783 - Provide an efficient method to batch-update bookmark positions. r=lucasr 2012-02-22 12:37:34 -08:00
Sriram Ramasubramanian
ce6420700a Bug 715213: Move "+" to left side on Tab menu. [r=mfinkle] 2012-01-27 13:50:26 -08:00
Sriram Ramasubramanian
4b2173480e Bug 720698: ICS should use blue outline color for URL bar. [r=mfinkle] 2012-01-27 12:28:45 -08:00
Sriram Ramasubramanian
831dffdf30 Bug 717674: AutoCompletePopup list should be native to the device. [r=mfinkle] 2012-01-27 12:22:05 -08:00
Sriram Ramasubramanian
e73abb5fd9 Bug 712526: Restrict tabs menu to occupy only 2/3 of the screen. [r=mfinkle] 2012-01-27 12:18:02 -08:00
Sriram Ramasubramanian
893a7ed127 Bug 711198: Autocomplete Popup should have a minWidth. [r=mfinkle] 2012-01-27 12:10:45 -08:00
Lucas Rocha
acea092a8a Bug 725914 - Remove sub-select from the table join for bookmark and history (r=mfinkle) 2012-02-22 11:47:13 +00:00
Sriram Ramasubramanian
fbad323c22 Bug 713402: Tabs not shown in awesomescreen in honeycomb. [r=mfinkle] 2012-01-27 11:58:18 -08:00
Margaret Leibovic
261a066f34 backout 7b3a4af0e68a for twinopen failures 2012-01-27 11:43:22 -08:00
Mark Finkle
2e64659d2f Bug 721639 - Add some canvas optimizations for thumbnail generation [r=mbrubeck] 2012-01-27 14:27:26 -05:00
Sriram Ramasubramanian
2c20f8a1f8 Bug 712687: ICS should use a different layout for landscape mode. [r=mfinkle] 2012-01-27 11:19:13 -08:00
Margaret Leibovic
abb2f85e49 Bug 719868 - Progress throbber still shows when we load about:home on startup. r=mfinkle 2012-01-26 15:07:38 -08:00
Richard Newman
73e55fae9d Bug 724328 - Bump Android Sync version to 0.5. r=rnewman 2012-02-15 22:05:53 -08:00
Richard Newman
fd086f2d10 Bug 726054 - Desktop parity: track last sync time from final upload, not final fetch. r=nalexander 2012-02-15 22:05:53 -08:00
Nick Alexander
2fa32fa574 Bug 709408 - Part 2: Remove Cryptographer. r=rnewman 2012-02-15 22:05:53 -08:00
Nick Alexander
475a715c8b Bug 709408 - Part 1: Remove SyncCryptographer. r=rnewman 2012-02-15 22:05:53 -08:00
Richard Newman
f38fdadb6d Bug 725913 - Don't log credentials during setup. 2012-02-15 22:05:53 -08:00
Richard Newman
6a8f80946b Bug 725525 - Part 2: make Logger cache log levels. 2012-02-15 22:05:52 -08:00
Richard Newman
5edc5fc33d Bug 724328 - misc Sync cleaning. 2012-02-15 22:05:52 -08:00