Commit Graph

537 Commits

Author SHA1 Message Date
Margaret Leibovic
a59acde6a1 Bug 736278 - (1/2) Add support for checkbox in doorhanger message. r=mfinkle 2012-03-27 14:36:20 -07:00
Mark Finkle
b129448af7 Backout a2b4067cb7f8, due to talos bustage 2012-03-28 23:23:33 -04:00
Margaret Leibovic
16a1cfed7e backout cecf156d7869 because of talos fail 2012-03-28 16:18:16 -07:00
Margaret Leibovic
be8b25fda1 backout c86023072076 because of talos fail 2012-03-28 16:18:11 -07:00
Margaret Leibovic
7048f46a3a Bug 736278 - (2/2) Add always/never permissions for click-to-play plugins. r=mfinkle 2012-03-27 14:36:25 -07:00
Margaret Leibovic
975e98bbae Bug 736278 - (1/2) Add support for checkbox in doorhanger message. r=mfinkle 2012-03-27 14:36:20 -07:00
Mark Finkle
ccf2d3c042 Bug 697309 - Add support for the Open Web Apps API (core) r=fabrice 2012-03-28 16:55:10 -04:00
Jared Wein
6089ea2a31 Bug 734323 - Invisible plugins added to the DOM after the 'load' event will not prompt a doorhanger to appear. r=margaret 2012-03-28 08:54:00 -07:00
Jared Wein
e2874e47c1 Bug 730318 - Opt-in activated plugins should use internal APIs to keep track of plugin activation. r=margaret 2012-03-28 08:53:58 -07:00
Phil Ringnalda
dc49de08a7 Back out 47afa45afdfb and ccb20a1169f1 (bug 697309) and c30bdfd14362 and 618b680315ee (bug 736278) for Android native Talos bustage 2012-03-28 00:09:25 -07:00
Brian Nicholson
d408b31b79 Bug 739698 - SearchEngines cleanup in browser.js. r=mfinkle 2012-03-27 15:54:01 -07:00
Mark Finkle
06b198494d Bug 697309 - Add support for the Open Web Apps API - part 2 : about:apps r=mbrubeck, fabrice 2012-03-27 17:44:28 -04:00
Mark Finkle
2f703c1b23 Bug 697309 - Add support for the Open Web Apps API - part 1 : UI glue r=fabrice 2012-03-27 17:44:25 -04:00
Margaret Leibovic
7f74adc914 Bug 736278 - Add always/never permissions for click-to-play plugins. r=mfinkle 2012-03-27 13:02:46 -07:00
Margaret Leibovic
6db30bc5b0 Bug 736278 - Add support for checkbox in doorhanger message. r=mfinkle 2012-03-27 13:02:13 -07:00
Jared Wein
6852a41546 Backed out changeset 21c75d1d3295 (bug 730318) 2012-03-27 15:20:53 -07:00
Jared Wein
7b76074ed0 Backed out changeset 29529018c1da (bug 734323) 2012-03-27 15:20:50 -07:00
Jared Wein
4ebd6d9d01 Backed out changeset 6e5e46023094 (bug 736278) 2012-03-27 15:20:39 -07:00
Jared Wein
addbd2b02c Backed out changeset 3a4ed2b028ad (bug 736278) 2012-03-27 15:20:32 -07:00
Jared Wein
3e2235d9fd Backed out changeset 5f20ab3487db (bug 697309) 2012-03-27 15:20:27 -07:00
Jared Wein
f23498df0e Backed out changeset add087add91a (bug 697309) 2012-03-27 15:20:20 -07:00
Mark Finkle
fc115012d7 Bug 697309 - Add support for the Open Web Apps API - part 2 : about:apps r=mbrubeck, fabrice 2012-03-27 17:44:28 -04:00
Mark Finkle
6394f46751 Bug 697309 - Add support for the Open Web Apps API - part 1 : UI glue r=fabrice 2012-03-27 17:44:25 -04:00
Margaret Leibovic
ff58958466 Bug 736278 - Add always/never permissions for click-to-play plugins. r=mfinkle 2012-03-27 14:36:25 -07:00
Margaret Leibovic
812699f61e Bug 736278 - (1/2) Add support for checkbox in doorhanger message. r=mfinkle 2012-03-27 14:36:20 -07:00
Jared Wein
4a620ca6b0 Bug 734323 - Invisible plugins added to the DOM after the 'load' event will not prompt a doorhanger to appear. r=margaret 2012-03-27 13:50:54 -07:00
Jared Wein
3b24454af1 Bug 730318 - Opt-in activated plugins should use internal APIs to keep track of plugin activation. r=margaret 2012-03-27 13:50:52 -07:00
Kartikaya Gupta
27c02d2c43 Bug 729528 - Follow-up to fix incorrect calculation. r=Cwiiis 2012-03-27 10:59:38 -04:00
Matt Brubeck
8f5bd7b047 Bug 704406 - Show and hide the restart prompt when changing add-on status in about:addons 2012-03-26 11:16:34 -07:00
Kartikaya Gupta
581562f648 Bug 729528 - Switch to using the requested display port resolution on the active tab. r=Cwiiis 2012-03-26 13:15:50 -04:00
Kartikaya Gupta
11ef39eb64 Bug 729528 - Add a DisplayPortMetrics to track the requested display resolution along with the area. r=Cwiiis 2012-03-26 13:15:49 -04:00
Brian Nicholson
aa60e249bd Bug 738848 - Use selected document instead of active document in FormAssistant pageshow. r=mfinkle 2012-03-23 17:22:51 -07:00
Ehsan Akhgari
dd92570f6d Bug 734302 - Part 3: Add a menu item for toggling the profiler on mobile; r=BenWa,dougt
--HG--
rename : mobile/android/base/resources/menu-v11/gecko_menu.xml => mobile/android/base/resources/menu-v11/gecko_menu.xml.in
rename : mobile/android/base/resources/menu/gecko_menu.xml => mobile/android/base/resources/menu/gecko_menu.xml.in
2012-03-16 14:08:03 -04:00
Mark Finkle
aef1b00469 Bug 738527 - Syntax error breaks removing closed tabs r=bnicholson 2012-03-23 16:53:43 -04:00
Ehsan Akhgari
6e0887f66d Backout changeset 11b6f37603ce (bug 734302) for Android bustage 2012-03-23 15:01:14 -04:00
Ehsan Akhgari
ebaec414f6 Bug 734302 - Part 3: Add a menu item for toggling the profiler on mobile; r=BenWa,dougt
--HG--
rename : mobile/android/base/resources/menu-v11/gecko_menu.xml => mobile/android/base/resources/menu-v11/gecko_menu.xml.in
rename : mobile/android/base/resources/menu/gecko_menu.xml => mobile/android/base/resources/menu/gecko_menu.xml.in
2012-03-16 14:08:03 -04:00
Jared Wein
410eafffd0 Backed out changeset 1801abb2839a (bug 730318) r=bustage 2012-03-23 11:11:50 -07:00
Jared Wein
25e405890d Backed out changeset c120dd831b3f (bug 734323) r=bustage 2012-03-23 11:11:22 -07:00
Kartikaya Gupta
91b3ff474a Bug 710126 - When loading images, scale them to fit on screen. r=Cwiiis 2012-03-23 12:45:02 -04:00
Wes Johnston
f3a8f00ff7 Bug 735912 - Use updated method name. r=bnicholson 2012-03-22 14:58:02 -07:00
Jared Wein
61d67296e5 Bug 734323 - Invisible plugins added to the DOM after the 'load' event will not prompt a doorhanger to appear. r=margaret 2012-03-22 13:54:06 -07:00
Jared Wein
ff6d8ad044 Bug 730318 - Opt-in activated plugins should use internal APIs to keep track of plugin activation. r=margaret 2012-03-22 13:53:44 -07:00
Wes Johnston
0d9e8d297e Bug 736311 - Set selected tab inactive when Fennec goes into the background. r=mbrubeck 2012-03-22 11:07:32 -07:00
Matt Brubeck
bd5e243603 Back out c61855cb4558 (bug 734302) because of build failure on Android
--HG--
rename : mobile/android/base/resources/menu-v11/gecko_menu.xml.in => mobile/android/base/resources/menu-v11/gecko_menu.xml
rename : mobile/android/base/resources/menu/gecko_menu.xml.in => mobile/android/base/resources/menu/gecko_menu.xml
2012-03-21 16:26:38 -07:00
Ehsan Akhgari
852c3f5e6e Bug 734302 - Part 3: Add a menu item for toggling the profiler on mobile; r=BenWa,dougt
--HG--
rename : mobile/android/base/resources/menu-v11/gecko_menu.xml => mobile/android/base/resources/menu-v11/gecko_menu.xml.in
rename : mobile/android/base/resources/menu/gecko_menu.xml => mobile/android/base/resources/menu/gecko_menu.xml.in
extra : rebase_source : 9a4499ff99d661924e1eb09280925ad123ecd948
2012-03-16 14:08:03 -04:00
Chris Lord
ebc07011a5 Bug 736729 - Fix display-port on first paint and page-size changes. r=kats
Previously, we only set the display-port in response to a page scrolling itself,
or when we adjust the viewport. This meant that the display-port could be
incorrect if a viewport adjustment was sent after a page-size changed, but
before a render had completed.

Similarly, we were not updating the display-port when the viewport of a
foreground document that hadn't been displayed yet was changing. This would
cause the first-paint to have an incorrect (and often too small) display port,
which wouldn't be corrected until the page was scrolled.
2012-03-21 14:44:33 +00:00
Wes Johnston
6c63fa5ffd Bug 735676 - Fix Sanitizer.passwords.canClear. r=mleibovic 2012-03-19 16:51:29 -07:00
Kartikaya Gupta
f84a537689 Bug 727236 - Fix CSS viewport height calculation so it is based on the layout at the viewport width. r=Cwiiis 2012-03-19 14:46:49 -04:00
Wes Johnston
1c9ffc88fc Bug 735912 - Backout some unnecessary changes. r=mfinkle 2012-03-19 09:09:04 -07:00
Wes Johnston
f46d3f6cfd Bug 735912 - Force creation/upgrade of passwords and formhistory databases on first run or upgrade. r=mfinkle 2012-03-19 08:57:43 -07:00
William Lachance
4c1c7c0bae Bug 734003 - Using white as the base checkerboard color doesn't work. r=pwalton 2012-03-18 13:25:13 -04:00
Wes Johnston
a04b1acc59 Bug 716515 - Send DOMAutocomplete event when autocomplete is selected. r=mleibovic 2012-03-15 15:33:39 -07:00
Kartikaya Gupta
883f015b2b Bug 729646 - Allow Java to update the display port on background tabs as well, so that we draw the right thing upon switching to it. r=Cwiiis 2012-03-15 10:38:43 -04:00
Kartikaya Gupta
13abc56f42 Bug 729646 - Run the CSS viewport resizing code on background tabs as well. r=Cwiiis 2012-03-15 10:38:43 -04:00
Matt Brubeck
631f4d1cbb Bug 735874 - (2/2) Show/hide the options when an add-on is enabled/disabled [r=mfinkle] 2012-03-14 15:31:21 -07:00
Matt Brubeck
ba6d4259a4 Bug 735874 - (1/2) Refactor add-on manager enable/disable functions [r=mfinkle] 2012-03-14 15:31:21 -07:00
Margaret Leibovic
95cb0a296f Bug 734332 - Remove unused 'Tab:Selected:Done' message. r=mfinkle 2012-03-14 10:20:47 -07:00
Brian Nicholson
f8e4becdd9 Bug 702319 - Fix telemetry message l10n entry. r=mfinkle,Pike 2012-03-14 11:56:57 -07:00
Kartikaya Gupta
314843ddd5 Bug 725095 - Merge off-main-thread compositor from Maple. IGNORE BAD COMMIT MESSAGES 2012-03-14 11:18:15 -04:00
Matt Brubeck
1c5b6580bf Bug 696533 - (1/2) XBL bindings for add-on settings on Android [r=mfinkle] 2012-03-13 22:18:29 -07:00
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
Margaret Leibovic
7aa18f5e6f Bug 734053 - Add-ons are not listed in Add-ons Manager. r=mbrubeck 2012-03-08 17:17:53 -08: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
Benoit Girard
3daa99ec38 Merge mc->maple 2012-03-01 10:44:44 -05: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
Geoff Lankow
05618d9475 Bug 731041 - Tidy up addon inline preferences code, mobile; r=mbrubeck, Unfocused 2012-03-07 00:41:57 +13: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
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
d8bc282b27 Bug 732265 - (2/2) Support XUL menulist controls in native Fennec SelectHelper [r=margaret] 2012-03-01 17:34:37 -08:00
Matt Brubeck
8b017c69bb Bug 732265 - (1/2) Some light refactoring of SelectHelper code [r=margaret] 2012-03-01 17:34:37 -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
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
Brian Nicholson
2448576d01 Bug 725609 - Add Fennec bookmarklet support. r=mfinkle 2012-02-22 18:26:04 -08:00
Matt Brubeck
2045400f33 Bug 726863 - Use mobile-specific strings for add-on download error messages [r=mfinkle] 2012-02-14 15:32:45 -08:00
Brian Nicholson
4072dc4a70 Bug 701092 - Limit session restore attempts. r=mfinkle 2012-01-27 22:04:54 -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
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
7aa04b3779 Bug 735490 - Yet another place to kill makefiles. a=bustage 2012-03-13 18:23:26 -07:00
Richard Newman
5b592436ec Bug 735490 - Delete mobile/android/chrome/tests/. r=mbrubeck 2012-03-13 15:48:18 -07: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
Chris Lord
583585821b Bug 724230 - Backout ondemand tiling. r=blassey, kats
This backs out changes d8fc13006aa4, ddde7a49f6f7, 34b1cc9454d2 and
8919c54229e1, leaving in some initialisation fixes that were introduced when
rebasing.

This work may be re-applied at a later date.
2012-02-04 18:49:59 -05:00
Panagiotis Koutsourakis
791aa57b19 Bug 702388 - Convert Makefiles to use |TEST_DIRS += foo| r=khuey
Files named Makefile.in containing the expression

DIRS += <foo>
or
DIRS = <foo>

inside the conditional expression

ifdef ENABLE_TESTS
...
endif

are changed to

TEST_DIRS += tests

outside any conditional expression.

The files

./layout/Makefile.in
./layout/Makefile.in
./layout/style/Makefile.in
./rdf/Makefile.in
./security/manager/Makefile.in
./content/Makefile.in
./content/smil/Makefile.in
./content/xul/templates/Makefile.in
./content/xul/content/Makefile.in
./content/base/Makefile.in
./content/media/Makefile.in
./parser/htmlparser/Makefile.in
./dom/sms/Makefile.in
./js/jsd/Makefile.in
./js/xpconnect/Makefile.in
./widget/Makefile.in
./widget/windows/Makefile.in
./Makefile.in
./startupcache/Makefile.in
./storage/Makefile.in
./gfx/Makefile.in
./intl/strres/Makefile.in
./intl/uconv/Makefile.in
./intl/unicharutil/Makefile.in
./intl/lwbrk/Makefile.in
./embedding/Makefile.in
./modules/libjar/Makefile.in
./modules/libpref/Makefile.in
./build/Makefile.in
./build/win32/Makefile.in
./xpcom/Makefile.in
./extensions/spellcheck/hunspell/Makefile.in
./extensions/cookie/Makefile.in
./netwerk/Makefile.in
./netwerk/streamconv/Makefile.in
./editor/txmgr/Makefile.in
./toolkit/mozapps/shared/Makefile.in
./toolkit/mozapps/update/Makefile.in
./toolkit/library/Makefile.in
./toolkit/library/Makefile.in
./toolkit/crashreporter/Makefile.in
./toolkit/components/perf/Makefile.in
./toolkit/components/perf/Makefile.in
./toolkit/components/feeds/Makefile.in
./toolkit/components/url-classifier/Makefile.in

contain the string

ifdef ENABLE_TESTS

but have some other statement inside (e.g. TOOL_DIRS += <foo> etc) and
they remain unchanged by this patch.
2012-02-04 17:32:24 +00:00
William Lachance
8dba831088 Bug 719570 Provide option to change checkerboard to flat color on fennec for eideticker automation r=pcwalton 2012-02-03 12:35:01 -08:00
Margaret Leibovic
cfdb32598d Bug 719875 - "Tap to activate plugin" placeholder can't be tapped after going back/forward in history. r=mfinkle 2012-01-31 12:49:25 -08:00
Doug Turner
edc6051251 Bug 721006 - Crash when setting a very large document.title. r=mfinkle 2012-02-01 22:44:18 -05:00
Brian Nicholson
2fb6f017fe Bug 723349 - Fix params in addTab on session restore failure. r=mfinkle 2012-02-01 17:51:41 -08:00
Brian Nicholson
a2f48f5d4a Bug 719479 - Don't animate tab counter during session restore. r=mfinkle 2012-02-01 14:25:50 -08:00
Matt Brubeck
b206de36b1 Bug 720932 - Clean up default search engine code [r=wesj] 2012-02-01 16:25:08 -08:00
Matt Brubeck
57e6536fa4 Bug 723084 - Remove observers when tabs are destroyed [r=bnicholson] 2012-02-01 16:20:13 -08:00
Kartikaya Gupta
7e8e2ad8ac Bug 718684 - Fix rect calculation so that the form assist works within iframes too. r=sriram 2012-02-01 13:54:42 -05:00
Kartikaya Gupta
c0e5493716 Bug 718684 - Cleanup: remove trailing whitespace and unnecessary variables. r=sriram 2012-02-01 13:54:18 -05:00
Kartikaya Gupta
0d4267a645 Bug 720442 - Scroll input fields to bottom of viewport rather than top. r=blassey 2012-01-26 13:16:45 -05:00
Matt Brubeck
66b1e6c4d9 Bug 719557 - "Full Screen" add-on (window.fullScreen) has problems in native Fennec [r=blassey] 2012-01-26 09:17:33 -08:00
Kartikaya Gupta
7d666aa61e Bug 712065 - Special treatment is needed to get the size of SVG documents. r=mfinkle 2012-01-26 09:55:29 -05:00
Brad Lassey
3e5a4cf36a bug 721209 - tab screenshots unnecessarily big for background tabs r=mfinkle 2012-01-26 01:35:32 -05:00
Brad Lassey
e43407b296 bug 721208 - Tab screenshots can hose the gecko event loop r=mfinkle 2012-01-26 02:46:16 -05:00
Brad Lassey
ee914fa94a backout out 1b0c8e6f01e2 to fix its commit message 2012-01-26 02:57:41 -05:00
Brad Lassey
d04b34db75 bug 721032 - Make thumbnails in about:home and tab menu identical r=mfinkle 2012-01-26 02:46:16 -05:00
Margaret Leibovic
361cb84d37 Bug 721220 - Send message back to java after tab selection is complete. r=mbrubeck 2012-01-25 20:06:08 -08:00
Mark Finkle
6c454c0ea6 Bug 722627 - NativeWindow.contextmenus.remove creates a JS exception r=wesj 2012-02-01 00:25:01 -05:00
Margaret Leibovic
928a18eef5 Bug 722586 - Correctly update active/inactive browsers. r=mfinkle 2012-01-31 09:35:23 -08:00
Brian Nicholson
8b227e0e48 Bug 721341 - Get zombie tab thumbnails from database. r=blassey 2012-01-31 14:13:33 -08:00
Brian Nicholson
f9c308138e Bug 702319 - Update telemetry opt-in message. r=mfinkle 2012-03-12 12:08:15 -07:00
Brad Lassey
d8e5d5d929 bug 719359 - Pageload thumbnails for sites with <meta viewport=width=n> do not cover entire thumbnail box in about:home r=mfinkle 2012-03-12 14:05:43 -04:00