Brad Lassey
9e55996669
merge from mozilla-central
2012-02-18 17:29:33 -05:00
Brad Lassey
95697a85f1
backing out e45688c8531c because it broke the build
2012-02-18 14:21:48 -05:00
Patrick Walton
ce3f178378
Stub untested gralloc support, disabled for now
2012-02-17 23:53:21 -08:00
Chris Lord
dd4aacfc79
Fix screen/window size change events.
...
Window size was being treated as equivalent to screen size, which it isn't.
Make sure to send the size-changed event when either the window size or the
screen size change, and to properly differentiate between the two.
2012-02-17 17:25:52 +00:00
Kartikaya Gupta
c0bede0671
(Part 5) Move overrides and abstract/interface implementations up from GeckoGLLayerClient into GeckoLayerClient
2012-02-17 10:33:23 -05:00
Kartikaya Gupta
61b3014dc0
(Part 4) Mark all gfx functions invoked by JNI so I don't shoot myself in the foot shortly
2012-02-17 10:13:56 -05:00
Kartikaya Gupta
fb6b8d0de1
(Part 3) Collapse LayerClient into GeckoLayerClient, the only subclass
2012-02-17 10:03:28 -05:00
Kartikaya Gupta
248ea83b06
(Part 2) Stop PlaceholderLayerClient from extending LayerClient since it has nothing in common with GeckoLayerClient and makes a mockery of OOP
2012-02-17 09:56:47 -05:00
Kartikaya Gupta
18f2df4c4b
(Part 1) Get rid of LayerController.getLayerClient()
2012-02-17 09:32:24 -05:00
Kartikaya Gupta
6e72a9570d
Also remove dangling entrails of the layer client type
2012-02-17 09:16:14 -05:00
Kartikaya Gupta
5ec5bd703f
Rip out unused GeckoSoftwareLayerClient since we've committed to GL layers.
2012-02-17 09:04:50 -05:00
Kartikaya Gupta
f3c1b6a928
Put back some things left out of dougt's merge
2012-02-17 01:36:49 -05:00
Doug Turner
b66a0f8126
Merge with mozilla-central
2012-02-16 18:06:54 -08:00
Kartikaya Gupta
067aec74dc
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
5bf0a60702
Bug 727565 - Fix new compiler warnings for javac 1.7. r=bnicholson
2012-02-15 22:55:47 -05:00
Sriram Ramasubramanian
ebf002141f
Bug 727610: Supporting fullscreen on ICS. [r=mfinkle]
2012-02-15 16:14:02 -08:00
Brad Lassey
585ae3af5b
bug 726930 - speed up tab thumbnails r=mfinkle
2012-02-17 10:52:26 -08:00
Patrick Walton
0a26b4f1af
Don't render while pinching. Reduces jank and makes zooming easier to debug.
2012-02-13 22:48:00 -08:00
Patrick Walton
1b46184a8f
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
678c1602f3
Guard against OOMing in GeckoGLLayerClient.getBitmap like we were doing in GeckoSoftwareLayerClient
2012-02-13 18:15:27 -05:00
Patrick Walton
ec85569a69
Expose ActivateProgram() and DeactivateProgram() to widget
2012-02-13 13:55:10 -08:00
Kartikaya Gupta
4cb6d472a6
Reduce diff against m-c; remove unrelated change in AboutHomeContent
2012-02-13 17:43:08 -05:00
Patrick Walton
9e0e8cfe4a
Split out Java compositor shader program activation and deactivation into separate functions
2012-02-13 12:27:09 -08:00
Patrick Walton
6676ba0403
Deactivate vertex attribute arrays and the program. Seems to fix the crashes on PowerVR.
2012-02-10 23:50:13 -08:00
Patrick Walton
d698580c18
Uncomment the Java compositor integration, except for the part that causes PowerVR crashes
2012-02-10 23:03:02 -08:00
Ali Juma
77cc2a2579
Fix race conditions when updating view transform, by switching to an absolute transform.
2012-02-10 16:08:24 -05:00
Ali Juma
302758e203
Merge heads.
2012-02-10 10:31:31 -05:00
Patrick Walton
76fcf64d4a
Expose the necessary Java routines to render decorations through JNI
2012-02-09 22:58:18 -08:00
Richard Newman
2e559f3eca
Bug 727725 - Incorrect assertion in GlobalSession.
2012-02-16 14:58:31 -08:00
Richard Newman
c81fc34cc6
Bug 726194 - Sync pairing succeeds, but is OFF.
2012-02-16 14:28:04 -08:00
Matt Brubeck
0eee969c1c
Bug 728005 - Crash when entering full screen mode on Android 2.3 [r=sriram]
2012-02-16 14:22:27 -08:00
Mark Finkle
98735f3024
Bug 726399 - Robotium: Add simple test for 'Open Link' context menu r=gbrown
2012-02-16 14:32:33 -05:00
Mark Finkle
4e5df6f111
Backout eb9c17efd1e4, wrong patch
2012-02-16 14:21:52 -05:00
Mark Finkle
07856bcf9a
Bug 727730 - Add support for Share Link context menu r=mbrubeck
2012-02-16 14:07:12 -05:00
Mark Finkle
5cbc15c12d
Bug 726399 - Robotium: Add simple test for 'Open Link' context menu r=gbrown
2012-02-16 14:06:58 -05:00
Justin Lebar
f634a15b5c
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
c1890c2bfc
Code cleanup.
2012-02-09 17:39:04 -05:00
Mike Hommey
7b6eed73b5
Bug 728872 - NULL-check mSoftwareLayerClient in GeckoApp$SessionSnapshotRunnable.run. r=mfinkle
2012-02-21 08:11:37 +01:00
Lucas Rocha
083ae974fb
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
512096df7d
Bug 723841 - Define a constant for the predefined root id for bookmarks (r=rnewman)
2012-02-20 19:28:27 +00:00
Lucas Rocha
000abbb428
Bug 723841 - Generalize code to create or update special folders (r=rnewman)
2012-02-20 19:28:27 +00:00
Lucas Rocha
41d79b22a5
Bug 723841 - Factor out methods to create each part of the database (r=rnewman)
2012-02-20 19:28:27 +00:00
Patrick Walton
fdf11e0c13
Split up the LayerRenderer's drawing logic in preparation for exposing it to JNI
2012-02-08 22:27:01 -08:00
Patrick Walton
2acc9c16c8
Bug 723036 - Port the Java compositor to OpenGL ES 2.0
2012-02-08 21:13:08 -08:00
Benoit Girard
b18a77e427
Merge viewport with tip
2012-02-08 20:42:17 -05:00
Benoit Girard
3f101c071a
Merge working on Nexus S
2012-02-08 20:23:27 -05:00
Ali Juma
dc7ca971bd
Merge.
2012-02-08 19:55:13 -05:00
Benoit Girard
2430a6b71c
Merge fixes
2012-02-08 19:01:21 -05:00
Benoit Girard
7dc71cdb8d
Merge m-c into maple
2012-02-08 16:43:22 -05:00
Ali Juma
979559567f
Fix incorrect rendering after orientation change.
2012-02-08 16:09:10 -05:00
Benoit Girard
45a2fe6612
Merge working head with display port head
2012-02-08 12:18:27 -05:00
Benoit Girard
1ef0dddb81
Remove RemoveAbstractView, pushing new head
2012-02-08 10:46:26 -05:00
Patrick Walton
d0bfe2e578
Allow redraw while a finger is down. Make this logic work properly later.
2012-02-07 23:37:29 -08:00
Patrick Walton
8de5b13c59
Lower the minimum viewport change delay to 25 for now
2012-02-07 23:10:58 -08:00
Richard Newman
76c5ba6b44
Bug 730526 - Cleanup and idiom in BrowserProvider.java.in. r=lucasr
2012-02-27 10:51:28 -08:00
Richard Newman
4f2c9bf799
Bug 727146: Part 1: deleteHistory should clear private data from the database. r=lucasr
2012-02-27 10:46:36 -08:00
Richard Newman
3d6aa90d8b
Bug 727146: Part 0: code tidying in BrowserProvider. r=lucasr
2012-02-27 10:46:35 -08:00
Richard Newman
624c527d14
Bug 730557 - Part 3: bend Sync's Authorities.java into GlobalConstants. r=rnewman
2012-02-27 10:23:33 -08:00
Richard Newman
6cacabe5a3
Bug 730557 - Part 2: Stub out parts of BrowserContractHelpers that reflect unlanded parts of Fennec. r=nalexander
2012-02-27 10:23:33 -08:00
Richard Newman
f94f8fb14b
Bug 730557 - Part 1: Use Fennec BrowserContract directly. r=nalexander
2012-02-27 10:23:33 -08:00
Richard Newman
1071670860
Bug 730637 - Base64 support for HttpClient in Android 2.1. r=nalexander
2012-02-27 10:23:33 -08:00
Wes Johnston
8abaa21e10
Bug 725881 - Content provider for form history. r=lucasr
2012-02-27 10:10:14 -08:00
Margaret Leibovic
dfa7b25772
Bug 730358 - Don't use LinkedList's push/pop methods. r=lucasr
2012-02-24 12:12:43 -08:00
Kartikaya Gupta
840e92a8d5
Bug 730710 - Add a GeckoEventResponder interface to allow event listeners to respond to events as well. r=blassey
2012-02-27 10:13:36 -05:00
Gian-Carlo Pascutto
a132129a4d
Bug 726821 - Push Cursor usage down into native bridge code. r=blassey
2012-02-27 12:28:22 +01:00
Gian-Carlo Pascutto
9cdd43ae4f
Bug 727264 - Update Profile Migration to use Cursors. r=blassey
2012-02-27 12:28:22 +01:00
Gian-Carlo Pascutto
8fc091bd34
Bug 727264 - Add an extra argument to pass more SQLite query results. Cleanup & simplify bridge. r=blassey
2012-02-27 12:28:21 +01:00
Ali Juma
c30eba6e2e
Move surface ownership to GLContextProviderEGL.
...
--HG--
extra : rebase_source : a3f83d279de5087a521a938d66c4e7b5dee79d74
2012-02-06 16:53:09 -05:00
Ali Juma
c7be76443f
Pause/resume composition on surface destruction/creation.
2012-02-06 13:57:06 -05:00
Ali Juma
035ebbe87f
Add support for pausing/resuming composition from Java.
2012-02-05 13:33:38 -05:00
Patrick Walton
8f577231bf
Stand up async panning and zooming
2012-02-03 23:31:05 -08:00
Patrick Walton
acf57d7d37
Poke the compositor to composite on a pan or zoom; stub AndroidBridge::GetViewTransform()
2012-02-03 18:35:58 -08:00
Patrick Walton
22ab6ae590
Stub ViewTransform code; unbork the viewport size a bit
2012-02-03 16:39:15 -08:00
Patrick Walton
d6e3afde17
Add a virtual layer and GL layer client implementation
2012-02-03 15:48:26 -08:00
Benoit Girard
3235b71537
Change delay to 15ms
2012-02-03 14:18:48 -05:00
Kartikaya Gupta
c22f097080
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
3ee8a7050d
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
e46d8ad3d0
Back out 940194c616f2 (bug 729237) on suspicion of Android XUL bustage.
2012-02-25 22:09:23 -05:00
Eitan Isaacson
55d77d968d
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
954f8d96f2
Remove deadcode
2012-02-03 10:26:54 -05:00
Patrick Walton
13458c16d5
Eliminate coupling between the software layer client and the rest of Fennec
2012-02-02 23:30:41 -08:00
Patrick Walton
a25f57bcc7
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
f15ef916a3
Partial removal of tiling, stub callouts
2012-02-02 19:28:22 -08:00
Benoit Girard
ea4615353c
Fix problems with Nexus S init
2012-02-02 13:57:38 -05:00
Benoit Girard
4580dbb21d
Progress on omtc integration
2012-02-01 16:18:35 -05:00
Benoit Girard
106b0e77a3
Move registerCxxCompositor to FlexView
2012-02-01 14:15:52 -05:00
Ali Juma
da918c5222
Merge m-c to kiwifox
2012-02-01 12:07:14 -05:00
Patrick Walton
2156d5fbf1
Initial import of the flexible GL surface view
2012-01-31 21:35:52 -08:00
Benoit Girard
0f54b200a0
Android build fixes
2012-01-31 14:28:37 -05:00
Benoit Girard
5ded8d48db
merge mc into kiwifox
2012-01-31 13:55:51 -05:00
Doug Turner
dbc6457de2
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
3c728e0df5
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
f1d2fba1df
Merge fixes
2012-01-30 15:57:30 -05:00
Chris Lord
61c399548c
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
3e51ec6c57
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
506188e13c
Mergi mc to kiwifox, lots of conflicts so may not build
2012-01-30 13:38:20 -05:00
Wes Johnston
a5ebd05980
Bug 718959 - Use data uri for homescreen shortcuts. r=blassey
2012-01-28 18:24:51 +01:00
Wes Johnston
cc5c466908
Bug 711071 - Check for scrollable in velocity calculations. r=pcwalton
2012-01-28 18:23:45 +01:00
Kartikaya Gupta
fc17f62158
Bug 721888 - Fix compiler warnings. r=blassey
2012-01-27 21:00:03 -05:00
Benoit Girard
05da396ee5
Add missing files
2012-01-27 13:32:37 -05:00
Brian Nicholson
1b8752cf3a
Bug 716681 - Tabs are being duplicated when going back into Fennec. r=blassey
2012-01-27 17:33:02 -08:00
Brian Nicholson
30f9221bf4
Bug 721577 - Race condition in about:home for tabs from last time. r=mfinkle
2012-01-27 17:28:47 -08:00
Brian Nicholson
fc0d961299
Bug 719195 - about:Home displayed briefly before session restore. r=mfinkle
2012-01-27 17:28:30 -08:00
Wes Johnston
90c52a85c8
Bug 721079 - Report pages with touch event listeners to Java. r=mfinkle
2012-01-30 20:47:23 -08:00
Kartikaya Gupta
86f8eaf7f6
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
Sriram Ramasubramanian
7ba3dc0c6a
Bug 713464: Application Locale should not be reset from CPP. [r=mfinkle]
2012-01-30 19:59:47 -08:00
Kartikaya Gupta
6021df8cb6
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
86ae8599a9
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
c2137e83db
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
Benoit Girard
7f35e49cdf
Partial work for android OGLSurfaceView
...
--HG--
extra : rebase_source : 2c6ce362dd859e9f81a5b4490e2451826259a651
2012-01-26 14:23:13 -05:00
Sriram Ramasubramanian
95c432689c
Bug 715213: Move "+" to left side on Tab menu. [r=mfinkle]
2012-01-27 13:50:26 -08:00
Sriram Ramasubramanian
e68a16407d
Bug 720698: ICS should use blue outline color for URL bar. [r=mfinkle]
2012-01-27 12:28:45 -08:00
Sriram Ramasubramanian
407c4662d8
Bug 717674: AutoCompletePopup list should be native to the device. [r=mfinkle]
2012-01-27 12:22:05 -08:00
Sriram Ramasubramanian
2b91b6f999
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
539624129d
Bug 711198: Autocomplete Popup should have a minWidth. [r=mfinkle]
2012-01-27 12:10:45 -08:00
Lucas Rocha
a211788de0
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
db1c585ebb
Bug 713402: Tabs not shown in awesomescreen in honeycomb. [r=mfinkle]
2012-01-27 11:58:18 -08:00
Sriram Ramasubramanian
3da79d010f
Bug 712687: ICS should use a different layout for landscape mode. [r=mfinkle]
2012-01-27 11:19:13 -08:00
Richard Newman
94c07221e5
Bug 724328 - Bump Android Sync version to 0.5. r=rnewman
2012-02-15 22:05:53 -08:00
Richard Newman
9665a99694
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
85f96cdaf4
Bug 709408 - Part 2: Remove Cryptographer. r=rnewman
2012-02-15 22:05:53 -08:00
Nick Alexander
5132193c2f
Bug 709408 - Part 1: Remove SyncCryptographer. r=rnewman
2012-02-15 22:05:53 -08:00
Richard Newman
f063b94ddc
Bug 725913 - Don't log credentials during setup.
2012-02-15 22:05:53 -08:00
Richard Newman
da45fa6769
Bug 725525 - Part 2: make Logger cache log levels.
2012-02-15 22:05:52 -08:00
Richard Newman
4751f6e47e
Bug 724328 - misc Sync cleaning.
2012-02-15 22:05:52 -08:00
Richard Newman
4a77a5d489
Bug 725525 - Part 1: simplify and remove excess logging in Sync.
2012-02-15 22:05:52 -08:00
Nick Alexander
63ed618279
Bug 722561 - remove isSecure override; default from SSLSocketFactory. r=rnewman
2012-02-15 22:05:52 -08:00
Marina Samuel
3f050d0fe5
Bug 722520. r=rnewman
2012-02-15 22:05:52 -08:00
Nick Alexander
1d6512b0f9
Bug 722496, Bug 722579, Bug 722482, Bug 722541. r=rnewman
2012-02-15 22:05:52 -08:00
Marina Samuel
f1fc04ddc2
Bug 724200 - SyncStorageRequest.delete() results in NullPointerException. r=rnewman
2012-02-15 22:05:52 -08:00
Richard Newman
27a94094c7
Bug 722524. r=rnewman
2012-02-15 22:05:51 -08:00
Richard Newman
701d9e41cf
Bug 726045 - Match Fennec history limit.
2012-02-15 22:05:51 -08:00
Brad Lassey
2e594c9156
bug 721547 - don't generate large screenshot when tab menu is opening r=minkle
...
--HG--
extra : rebase_source : 180188f7803b7084ec02ff8129477b1096211955
2012-01-30 16:07:32 -05:00
Matt Brubeck
0135ce8050
Back out 1d4d44ecd75c and 823cd2815483 (bug 709230) on suspicion of causing intermittent startup crashes
2012-01-30 16:53:14 -08:00
Sriram Ramasubramanian
cfbd9f4a9b
Bug 717681: The URL bar adds a black line on rotation and screen lock. [r=mfinkle]
2012-01-30 15:10:16 -08:00
Chris Peterson
2612afd715
Bug 709230 part 2 - Optimize Java .class files with ProGuard. r=dougt
2012-01-26 10:50:37 -08:00
Chris Peterson
84c7ca642c
Bug 709230 part 1 - Add missing access modifiers to GeckoAppShell.java. r=dougt
2012-01-24 17:52:34 -08:00
Lucas Rocha
bdcd86f3c2
Bug 722050 - Fix about:home checker-boarding (r=mfinkle)
2012-01-30 17:14:05 +00:00
Lucas Rocha
1b82a065b9
Bug 721765 - Fix typo in about:home's top sites string (r=mfinkle)
2012-01-30 17:09:14 +00: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
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
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