Kartikaya Gupta
17908435d6
Back out 89833e1b3016 (bug 707571) as it is broken with the new maple rewrite. r=backout
2012-03-13 17:11:28 -04:00
Kartikaya Gupta
f8a8d4a442
Bug 725095 - Various fixes to get maple ready to land on m-c. r=Cwiiis
...
- Disable fps layer.
- Add some comments to FlexibleGLSurfaceView.
- Get rid of getBufferSize and some other related cleanup.
- Add some comments to compositor-invoked functions in GeckoLayerClient.
- Take out unnecessary parameters to Rect constructor.
- Move class variable initialization to constructor.
- Take out kUsingGLLayers.
- Add a comment about changes in background color.
- Fix up convertViewPointToLayerPoint to be more correct.
- Add note in setPositionAndResolution about how it might be wrong.
- Modify provideEGLSurface to not store the surface in mEGLSurface.
- Remove some unneeded, commented out code in GLThread.
2012-03-12 16:20:19 -04:00
Kartikaya Gupta
031a31e69a
Fix merge in 60ebef177e6d
2012-03-13 12:28:03 -04:00
Benoit Girard
188ca471f6
Merge mc->Maple
2012-03-13 11:05:28 -04:00
Brian Nicholson
05b53ecf01
Bug 725213 - Add search engines from text input fields. r=mfinkle
2012-03-12 19:16:27 -07:00
Brian Nicholson
a20a1c5a30
Bug 725213 - Refactor search engines in BrowserApp. r=mfinkle
2012-03-12 19:16:27 -07:00
Kartikaya Gupta
b8343ac351
Bug 732564 - Ensure that for all possible combinations of CSS viewport and screen size changing, we do the "right thing". r=Cwiiis
2012-03-12 12:03:39 -04:00
Kartikaya Gupta
1afd125683
Backed out changeset 8dad746ee562 for incorrect bug number.
2012-03-12 12:10:15 -04:00
Kartikaya Gupta
efdc47df4a
Bug 729646 - Ensure that for all possible combinations of CSS viewport and screen size changing, we do the "right thing". r=Cwiiis
2012-03-12 12:03:39 -04:00
Kartikaya Gupta
047607631d
Bug 732564 - Move call to setDisplayPort to just before the first paint. r=Cwiiis
2012-03-12 12:03:39 -04:00
Kartikaya Gupta
aae04c16b7
Bug 732564 - Move the display port trimming to Java so that we always have a copy of the display port being used. r=Cwiiis
2012-03-12 12:03:38 -04:00
Kartikaya Gupta
e0e1489efa
Bug 732564 - Add a before-first-paint event that fires before the first paint of the new document. r=Cwiiis, bz
2012-03-12 12:03:38 -04:00
Kartikaya Gupta
4e701194d7
Bug 732564 - When the browser content document is not the browser displayed document, bail on some things. r=Cwiiis
2012-03-12 12:03:38 -04:00
Kartikaya Gupta
49a8b558b5
Bug 732564 - Modify the Viewport:Update event to take a viewport and synchronously update Java with it. r=Cwiiis
2012-03-12 12:03:38 -04:00
Kartikaya Gupta
56c4bfc1fb
Bug 732564 - Distinguish between changes where we should sync-update the Java viewport and where the compositor has to update Java. r=Cwiiis
2012-03-12 12:03:38 -04:00
Kartikaya Gupta
5d2b7794ad
Bug 732564 - Get rid of the updateViewport function by inlining it into call sites. r=Cwiiis
2012-03-12 12:03:38 -04:00
Kartikaya Gupta
c7bcd527d5
Bug 732564 - Turn viewport getter and setter into functions for easier grepping; some function rearranging as well. r=Cwiiis
2012-03-12 12:03:37 -04:00
Kartikaya Gupta
5c8a3ccb5c
Bug 732564 - Merge the UpdateAndDraw and UpdateLater events into a single Update event since they do the same thing now. r=Cwiiis
2012-03-12 12:03:37 -04:00
Kartikaya Gupta
eb04ec05c2
Bug 732564 - Kill the paint suppression in browser.js. r=Cwiiis
2012-03-12 12:03:37 -04:00
Kartikaya Gupta
6aca404a56
Bug 734479 - Remove deadcode that was introduce via bad merge 3dcb40ebd487. r=BenWa
2012-03-09 17:14:30 -05:00
Benoit Girard
83961041e7
Merge mc->Maple
2012-03-09 11:13:30 -05:00
Benoit Girard
6d13bb7ab3
Merge mc->Maple
2012-03-08 10:22:42 -05:00
Benoit Girard
479f0b2fb1
Merge mc->Maple
2012-03-07 11:10:45 -05:00
Brian Nicholson
a9a723ab47
Bug 708161 - POST data for search engine submissions. r=mfinkle
2012-03-08 17:07:47 -08:00
Kartikaya Gupta
88e96f5baf
Bug 732206 - Fix Ts failures by preventing some errors from appearing in logcat. r=Cwiiis
2012-03-06 10:02:34 -05:00
Benoit Girard
6345ad9c43
Restore merge changeset 39a3044823b0, regression fixed upstream in mc
2012-03-05 13:09:05 -05:00
Benoit Girard
02e577f6ff
Backed out changeset 39a3044823b0 because of bad interaction with maple.
2012-03-02 18:32:46 -05:00
Benoit Girard
72da51e037
Merge mc->Maple, resolved conflicts
2012-03-02 14:27:05 -05:00
Eitan Isaacson
841f63a6aa
Bug 729373 - Move focus to chrome when overscrolling up with keyboard. r=cpeterson
2012-03-07 19:24:38 -05:00
Brian Nicholson
0d46f37125
Bug 726018 - Save thumbnails only for successful page loads. r=mfinkle
2012-03-07 13:58:31 -08:00
Margaret Leibovic
8cdbb32745
Bug 711177 - Form autocomplete popup doesn't appear on tap of input. r=lucasr
2012-03-07 11:12:57 -08:00
Kartikaya Gupta
1c6703fc1a
Bug 731619 - Make drawing after rotation work again. r=ehsan
2012-02-29 15:36:59 -05:00
Benoit Girard
475d958691
Bug 730967 - Don't recompute checkerboard color every frame. r=pwalton
...
--HG--
extra : rebase_source : 1c8251bb2e84e0039185ffe9f80d43f52d7c2bcf
2012-02-28 19:17:58 -05:00
Kartikaya Gupta
8c39c8a618
Bug 730687 - Move the display port margin amounts out of browser.js and into Java. r=Cwiiis
2012-02-28 16:13:20 -05:00
Kartikaya Gupta
8fd5e0c78c
Merge m-c again to pick up 75deec1f1a7b
2012-02-28 14:37:26 -05:00
Kartikaya Gupta
248ea3fff3
Bug 729169 - Ensure the display port is clipped to the page bounds. r=Cwiiis
2012-02-28 14:33:13 -05:00
Kartikaya Gupta
a5f2652097
Bug 730681 - Guard against a zero width/height corrupting our viewport. r=Cwiiis
2012-02-28 14:33:05 -05:00
Kartikaya Gupta
288e5c3de2
Bug 730681 - Combine the two resize event handlers into one so that the behaviour is more deterministic and efficient. r=Cwiiis
2012-02-27 10:23:20 -05:00
Kartikaya Gupta
4046012964
Bug 730681 - Stop resizing the CSS viewport every time we scroll by a pixel. r=Cwiiis
2012-02-27 10:18:10 -05:00
Chris Peterson
50b9ec5096
Bug 730349 - Remove some unused variables from browser.js. r=
2012-02-24 10:05:32 -08:00
Doug Turner
63f2081ca1
Merge with mozilla-central
2012-02-24 11:57:27 -08:00
Matt Brubeck
a5c60ab132
Bug 731610 - Back key in a popup window should return to the parent page
...
[r=mfinkle]
2012-03-08 12:34:11 -08:00
Brad Lassey
132fb3275c
bug 707571 - user-scalable property of viewport meta tag is ignored r=mbrubeck
...
--HG--
extra : rebase_source : a4a4d9fb6c61ff91ffb917c1e25b78a6266d7347
2012-03-08 11:55:19 -05:00
Chris Lord
66a3000247
Bug 729537 - Make sure the displayport is always set correctly. r=mfinkle
...
We were seeing unexpectedly large buffers and oddness until the first
pinch-zoom. This was caused by not setting the displayport correctly.
Change things up so that we just use the window size and resize events instead
of the viewport size (which is sent asynchronously to resize events) and make
sure to set the displayport whenever necessary.
2012-02-23 13:45:32 +00:00
Doug Turner
476b362925
merge with mozilla-central:
2012-02-22 09:30:09 -08:00
Mark Finkle
efe7e6b007
Bug 728782 - Add support for Bookmark Link context menu r=wesj r=gbrown
2012-02-22 00:11:50 -05:00
Margaret Leibovic
0bc1bd559b
Bug 717787 - Suggestions from <datalist> are not shown in Native Fennec. r=mbrubeck
2012-03-06 13:56:16 -08:00
Margaret Leibovic
1878e38186
backout 1d4397ee1e9a for wrong bug number
2012-03-06 14:01:02 -08:00
Margaret Leibovic
dfa5ba7f5f
Bug 711624 - JS prompt dialog will appear in the foreground when loading the page with the code in the background. r=wesj
2012-03-06 13:56:16 -08:00
Margaret Leibovic
9684e90244
Bug 733233 - Create getTabForWindow helper function. r=wesj
2012-03-06 13:56:16 -08:00
Margaret Leibovic
f018b1d419
Bug 628616 - Make sure suggestions from <datalist> are shown in Firefox Mobile UI. r=mbrubeck
2012-03-06 13:56:16 -08:00
Margaret Leibovic
852f708ed4
Bug 704879 - (6/6) Show form validation message when invalid element is focused. r=lucasr
2012-03-06 11:56:44 -08:00
Margaret Leibovic
775ec3156f
Bug 704879 - (5/6) Add form validation messages. r=lucasr
2012-03-06 11:56:44 -08:00
Margaret Leibovic
d586835f41
Bug 704879 - (4/6) Make FormAssistant in charge of hiding an empty popup. r=lucasr
2012-03-06 11:56:43 -08:00
Margaret Leibovic
59fb7e46c1
Bug 704879 - (3/6) Refactor FormAssistant autocomplete logic. r=lucasr
2012-03-06 11:56:42 -08:00
Ehsan Akhgari
f164e7a1bc
Bug 728614 - Part 4: Remove the viewport structure from browser.js; r=Cwiiis
2012-02-21 13:17:56 -05:00
Jeff Muizelaar
d80cddc229
Bug 726467. Remove now incorrect transformations to screen space. r=mfinkle
...
The java front end is handling zoom now. We shouldn't need to and
so don't need these transformations at all. This fixes link
hilighting because we're now selecting the right element to hilight.
--HG--
extra : rebase_source : 961b7bba2e7ae90eac7a8957867af7aea11b737b
2012-02-21 11:51:42 -05:00
Chris Lord
1cd5a15deb
Bug 728978 - Fix scrollToFocusedInput in browser.js. r=mfinkle
...
This fixes scrollToFocusedInput by doing the extra scrolling that scrollIntoView
can't do (due to the way we zoom), and by making sure the events land in the
right order.
2012-02-21 16:46:48 +00:00
Ali Juma
45c832eb71
Bug 728620 - Followup: Add a FIXME comment. DONTBUILD
2012-02-21 10:30:57 -05:00
Ali Juma
5892a8ee82
Bug 728620 - Ensure we draw after moving back/forward in history.
2012-02-20 20:47:00 -05:00
Ehsan Akhgari
437f44d0c1
Remove viewportExcess
2012-02-20 19:40:50 -05:00
Ehsan Akhgari
fe88b00938
Bug 727140 - OOM due to zoom of background tabs going to zero. This prevents viewport resizing happening on background tabs which should be a bit faster.
2012-02-20 18:37:21 -05:00
Ehsan Akhgari
71bd0669a9
Bug 728614 - Part 2: Remove viewport offsets
2012-02-20 16:51:37 -05:00
Ehsan Akhgari
7781198b39
Bug 728614 - Part 1: Remove updateTransform(); r=dougt
2012-02-20 16:39:42 -05:00
Ehsan Akhgari
d48b97d6ab
Backed out changeset cfcc11281ca2
2012-02-20 16:36:56 -05:00
Ehsan Akhgari
cb655d70e7
Bug 728614 - Part 1: Remove updateTransform(); r=dougt
2012-02-20 16:36:15 -05:00
Chris Lord
ae8d75ec5b
Bug 709813 - Fix fullscreen mode.
...
While the bug was originally filed for the Java-compositor version of fennec,
the same symptoms also occur in Maple. This patch removes the vbox that browsers
were put in, as it's no longer necessary.
2012-02-20 18:13:29 +00:00
Chris Lord
4454233700
Bug 726817 - Use nsIFrameLoaderOwner.clampScrollPosition to fix clip on zoom.
...
Zooming in caused the right and bottom edges of the page to be clipped. This
was because we would try to scroll to coordinates that, untransformed, would be
invalid. The document has no knowledge of the zoom, and so the scroll position
needs to be forced somehow.
Java compositor accomplished this using a CSS translation transformation, this
accomplishes it by turning off scroll position clamping (a technique that the
Java compositor should also employ, if the patch this relies on passes review).
2012-02-17 23:44:47 +00:00
Chris Lord
93986b5c67
Backout scroll-clamp stuff again
...
I hope this makes it easier to merge and I'm not just wasting time...
2012-02-19 09:26:52 +00:00
Brad Lassey
34aa551009
merge from mozilla-central
2012-02-18 17:29:33 -05:00
Doug Turner
6362021c1f
Bug 727140 - OOM due to zoom of background tabs going to zero. This prevents viewport resizing happening on background tabs which should be a bit faster. r=pcwalton
...
--HG--
extra : rebase_source : b0922946f42996f1f0454c58cb6bbdb7a5243653
2012-02-17 23:08:47 -08:00
Chris Lord
edde16aee5
Bug 726817 - Use nsIFrameLoaderOwner.clampScrollPosition to fix clip on zoom.
...
Zooming in caused the right and bottom edges of the page to be clipped. This
was because we would try to scroll to coordinates that, untransformed, would be
invalid. The document has no knowledge of the zoom, and so the scroll position
needs to be forced somehow.
Java compositor accomplished this using a CSS translation transformation, this
accomplishes it by turning off scroll position clamping (a technique that the
Java compositor should also employ, if the patch this relies on passes review).
2012-02-17 23:44:47 +00:00
Chris Lord
b7a97d4f18
Backout 87134:1c1c22bd0291 and 87135:a4af71f1bc1f
...
Realised I made a mistake with the nsIFrameLoaderOwner.clampScrollPosition
patch and I want this to go in as a single commit and not break building of
Maple.
2012-02-18 00:46:23 +00:00
Chris Lord
13446bc9de
Bug 726817 - Use nsIFrameLoaderOwner.clampScrollPosition to fix clip on zoom.
...
Zooming in caused the right and bottom edges of the page to be clipped. This
was because we would try to scroll to coordinates that, untransformed, would be
invalid. The document has no knowledge of the zoom, and so the scroll position
needs to be forced somehow.
Java compositor accomplished this using a CSS translation transformation, this
accomplishes it by turning off scroll position clamping (a technique that the
Java compositor should also employ, if the patch this relies on passes review).
--HG--
extra : rebase_source : a13403d53fed39e1f042da3611147da1c0420cf0
2012-02-17 23:44:47 +00:00
Matt Brubeck
ad6c5d8abc
Bug 728379 - [maple] Use setCSSViewport to set the layout viewport [r=ehsan]
2012-02-17 13:15:12 -08:00
Ehsan Akhgari
39892b92bf
Don't call updateViewport two times in a row
2012-02-17 11:58:36 -05:00
Doug Turner
222fba130c
Merge with mozilla-central
2012-02-16 18:06:54 -08:00
Brad Lassey
ab48da35f9
bug 726930 - speed up tab thumbnails r=mfinkle
2012-02-17 10:52:26 -08:00
Brian Nicholson
2448576d01
Bug 725609 - Add Fennec bookmarklet support. r=mfinkle
2012-02-22 18:26:04 -08:00
Patrick Walton
062af3911c
Scale the displayport by the zoom factor
2012-02-13 22:32:31 -08:00
Margaret Leibovic
f0e6ebc000
Bug 725660 - "about:blank" briefly appears in the urlbar when openings links from external apps. r=mfinkle
2012-02-13 17:39:17 -08:00
Ali Juma
a74c63a281
Enable zooming.
2012-02-12 15:06:34 -05: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
Mark Finkle
0051759203
Bug 727730 - Add support for Share Link context menu r=mbrubeck
2012-02-16 14:07:12 -05:00
Benoit Girard
beb2ae7df8
Merge viewport with tip
2012-02-08 20:42:17 -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
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
Wes Johnston
459a282d8d
Bug 725881 - Content provider for form history. r=lucasr
2012-02-27 10:10:14 -08:00
Brian Nicholson
edfc18cb86
Bug 726080 - Only update tab URLs if valid. r=mfinkle
2012-03-05 13:20:04 -08:00
Wes Johnston
3c1f50714c
Backout 4253a5a838a8 and 7f5e40eb37c1
2012-03-05 12:01:48 -08:00
Wes Johnston
91686d5188
Bug 719276 - Remove tap highlight when viewport changes. r=mbrubeck
2012-03-05 09:11:46 -08:00
Wes Johnston
0b0f9b6b23
Bug 719276 - Use touchstart to determine when to start showing tap highlight. r=mbrubeck
2012-03-05 09:11:17 -08:00
Wes Johnston
f7d58691c8
Bug 723658 - Use elements size on screen to determine whether or not to double tap zoom. r=mbrubeck
2012-03-05 09:06:50 -08:00
Patrick Walton
402747340d
Stand up async panning and zooming
2012-02-03 23:31:05 -08:00
Matt Brubeck
c71e9867af
Bug 732063 - Move the SelectHelper code into a separate file [r=margaret]
2012-03-01 10:58:19 -08:00
Patrick Walton
2b6bcfedfa
Partial removal of tiling, stub callouts
2012-02-02 19:28:22 -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
Brian Nicholson
fdef04bc7d
Bug 710845 - Don't show disabled search engines in AwesomeBar. r=mfinkle
2012-01-30 18:14:53 -08:00