Commit Graph

61 Commits

Author SHA1 Message Date
Matt Brubeck
dde6ccdccc Merge mozilla-central to mozilla-inbound 2011-12-18 08:22:53 -08:00
Doug Turner
1961b6a4c9 Backout of de081ef87383 2011-12-17 21:52:36 -08:00
Doug Turner
f9a8bfd666 Backout of b407ff123b6f 2011-12-17 21:52:19 -08:00
Kartikaya Gupta
0da2ea7675 Bug 708745 - Do a better job of opening new tabs. r=mfinkle 2011-12-16 17:01:03 -05:00
Kartikaya Gupta
6400f16533 Bug 711232 - Fix multiple useless zooms during page load. r=pcwalton 2011-12-16 17:01:02 -05:00
Mark Finkle
4dd8e37e7b Bug 703378 - Native Fennec executes javascript: urls pasted or typed into the awesome bar [r=mbrubeck] 2011-12-16 14:32:32 -05:00
Margaret Leibovic
497010a089 Bug 706876 - Create "Clear Site Settings" menuitem. r=mfinkle 2011-12-17 13:50:09 -08:00
Matt Brubeck
206f46bb11 Bug 703029 - Add text inflation font size prefs to the UI [r=mfinkle] 2011-12-15 10:43:56 -08:00
Matt Brubeck
3670abddbb Bug 710578 - Pages without contentDocument cause JSON exception in handleLocationChange [r=mfinkle a=javascript] 2011-12-14 16:36:29 -05:00
Sriram Ramasubramanian
90c2cc8371 Bug 695444 - Form history autocomplete. r=mfinkle a=android-only 2011-12-06 16:44:08 -08:00
Margaret Leibovic
9e29357fce Bug 707665 - Save as PDF option should be disabled for about:home and any XUL documents. r=mfinkle a=android-only 2011-12-13 16:23:35 -08:00
Wes Johnston
ae86d30802 Bug 697265 - Support clipboard operations in edit fields [r=mfinkle a=android-only] 2011-12-13 19:17:56 -05:00
Margaret Leibovic
a82ff315ba Bug 702653 - Add prefs for flash activation on demand/always on/off. r=mfinkle a=no-cpp 2011-12-13 14:28:45 -08:00
Chris Lord
b77fdce4a3 Bug 708683 - Guard more rigorously against bad viewport updates. r=kats a=android-only
Check more values in browser.js when updating the viewport, and restructure
the JSON conversion in Java so that it's easier to tell what value caused a
bad viewport if it comes from Java.
2011-12-13 14:12:07 -05:00
Mark Finkle
57eedcd517 Bug 701374 - Show go or search icon in awesomescreen field, as appropriate [r=lucasr a=android-only] 2011-12-13 11:31:35 -05:00
Kartikaya Gupta
324193aaae Bug 709805 - Avoid viewport changes on background tabs. r=pcwalton a=js-only 2011-12-12 13:53:39 -05:00
Mark Finkle
75c8d2510e Bug 709048 - Over usage of haptic buzz [r=mbrubeck a=khuey] 2011-12-11 20:56:19 -05:00
Margaret Leibovic
490887fde0 Bug 708464 - Create click to play UI for fennec native. r=mfinkle 2011-12-09 14:04:19 -08:00
Wes Johnston
ddc29785e4 Bug 705145 - Multiple selection lists cannot be scrolled r=mfinkle 2011-12-09 12:03:21 -05:00
Patrick Walton
2249c14cc9 Bug 707935 - Prevent page size changes until document.readyState reads "complete". r=kats 2011-12-08 21:30:26 -08:00
Brian Nicholson
ee59b1d79f Bug 708185 - Remove homepage preference [r=dougt] 2011-12-08 13:42:00 -08:00
Mark Finkle
d1feebd3b8 Bug 708379 - Haptic buzz when tapping on clickable elements [r=blassey] 2011-12-08 15:42:55 -05:00
Mark Finkle
20cda4349a Bug 696433 - Improve link rel scanning for favicons [r=mbrubeck] 2011-12-08 08:56:43 -05:00
Mark Finkle
77aefa4612 Bug 704970 - Favicon missing on URL bar; visible in awesome screen [r=mbrubeck] 2011-12-08 08:56:41 -05:00
Mark Finkle
ef3ebad836 Bug 706882 - Bad viewport description on startup [r=mbrubeck] 2011-12-07 22:21:03 -05:00
Brian Nicholson
fdca4ff694 Bug 701376 - show search engine(s) when there are no/few awesomebar results [r=mfinkle] 2011-12-07 17:52:07 -08:00
Kartikaya Gupta
0118dfd530 Bug 707483 - (Cleanup) Remove some unused event listeners [r=mfinkle] 2011-12-06 13:56:17 -05:00
Kartikaya Gupta
86f6ec8f54 Bug 707483 - (Cleanup) Move tab-specific event handlers from BrowserEventHandler to Tab [r=mfinkle] 2011-12-06 13:53:10 -05:00
Kartikaya Gupta
968342ec65 Bug 707483 - Make javascript scrollTo work properly [r=pcwalton]
If a scroll event comes in that changes the scroll coordinates
from those that were last set by user scrolling in Java, then
update the Java viewport with the new coordinates. Note that
this may occur in the middle of a draw, when Gecko already has
the transaction lock acquired on the tile buffer. Therefore we
need to delay the update until after the draw is complete.
2011-12-06 13:50:21 -05:00
Chris Lord
3a9018b8c2 Bug 703573 - Make document sub-frames scrollable. r=kats
The new Java compositor only handles scrolling the top-level scroll-frame. Use
browser.js to detect when a sub-frame is being scrolled and send an 'override'
event to Java to tell it to pass us scroll events instead of calling the
scroll function on the LayerController.
2011-12-06 15:13:14 +00:00
Wes Johnston
03faadb678 Bug 697701 - Double tap zoom support. r=cwiiis 2011-11-15 13:41:19 -08:00
Kartikaya Gupta
ca310383d4 Bug 696319 - Scroll window as needed when soft keyboard is up [r=mfinkle]
Send an event to scroll to the focused input field when the
soft keyboard comes up. Ensure that this happens *after* the
viewport change event is sent to Gecko, so that Gecko actually
knows that browser viewport is smaller and doesn't just no-op
the scroll request.
2011-12-03 22:59:27 -05:00
Kartikaya Gupta
446c9f4861 Bug 707132 - Adjust viewport used for meta-viewport calculations [r=mbrubeck]
Calculate the viewport size based on the user-visible content area
and the zoom factor, rather than relying on the screen size, since
the screen size doesn't take into account things like the URL bar
and android chrome that may be visible.
2011-12-02 13:11:40 -05:00
Mark Finkle
9741f4dd0b Bug 707015 - BrowserApp.addTab(aURI) doesn't put the new tab in the foreground [r=sriram] 2011-12-02 11:12:47 -05:00
Mark Finkle
1c14a5a24e Bug 707014 - JavaScript Error: 'frame.frameElement is null' {file: 'chrome://browser/content/browser.js' line: 1856} [r=wesj] 2011-12-02 11:04:09 -05:00
Kartikaya Gupta
839d10d1a1 Bug 704690 - Scroll on in-page links [r=Cwiiis]
Force a viewport update to Java when there is an in-page
navigation, as this will change the scroll coordinates.
This includes splitting the existing sendViewportUpdate
function into two - one that does the update and the other
that just does the send.
2011-12-01 09:36:41 -05:00
Brad Lassey
32a48bfb11 bug 706658 - ennec defaults to about:support as a start page r=mfinkle 2011-11-30 21:28:05 -05:00
Matt Brubeck
ffd79c0df1 Bug 706705 - Fix "this.browser.contentDocument.body is null" error message [r=wesj] 2011-11-30 17:03:24 -08:00
Mark Finkle
633f56677a Bug 706351 - Add support for Console API r=mbrubeck 2011-11-30 17:37:59 -05:00
Wes Johnston
712552b3b3 Bug 704579 - Tap highlights. r=cwiiis 2011-11-30 16:10:25 -05:00
Kartikaya Gupta
732704cfd5 Bug 706207 - Fix incorrect pageWidth in viewport update [r=dougt]
Missing pieces of the document resulted in pageWidth getting
assigned to NaN, which was serialized as null by JSON. This
resulted in an exception over in Java-land when deserialization
was attempted, and killed the viewport update entirely.
2011-11-30 14:22:40 -05:00
Matt Brubeck
3fd08560d7 Bug 706215 - Send viewport updates from JS when metadata changes [r=mfinkle] 2011-11-29 14:45:18 -08:00
Matt Brubeck
1ccfc047ef Bug 706160 - Don't auto-scale frameset pages [r=mfinkle] 2011-11-29 12:58:31 -08:00
Brian Nicholson
7dc6886a4d Bug 697857 - User Agent Switcher [r=mfinkle] 2011-11-29 10:43:29 -08:00
Matt Brubeck
e8179a3f68 Clean up whitespace in browser.js (no bug - whitespace-only change) 2011-11-29 09:42:43 -08:00
Matt Brubeck
392f22cf1c Bug 694901 - (2/2) Set default zoom level based on viewport [r=mfinkle] 2011-11-29 09:35:26 -08:00
Matt Brubeck
13060b3cfe Bug 694901 - (1/2) Set viewport size based on meta[name="viewport"] tag [r=mfinkle] 2011-11-29 09:35:26 -08:00
Kartikaya Gupta
84de7a77e9 Bug 702983 - Reset viewport on opening new tab [r=Cwiiis]
Track the last-known viewport size in browser.js, and
open new tabs with that size.
2011-11-29 09:58:54 -05:00
Kartikaya Gupta
350991bfac Bug 704950 - Update viewport as needed [r=Cwiiis]
Force updates to the Java-side viewport from
browser.js when loading a new page and switching
tabs. Ensure the scroll position and zoom are also
reset when needed.
2011-11-29 09:58:43 -05:00
Doug Turner
f0ff52a0d2 Bug 701627 - slashdot.org doesn't fire MozScrolledAreaChanged events as the page gets bigger while loading. r=mfinkle 2011-11-28 21:40:53 -08:00