Commit Graph

55 Commits

Author SHA1 Message Date
Brian Nicholson
20ac7c0adf Bug 708185 - Remove homepage preference [r=dougt] 2011-12-08 13:42:00 -08:00
Mark Finkle
0fb8c161b9 Bug 708379 - Haptic buzz when tapping on clickable elements [r=blassey] 2011-12-08 15:42:55 -05:00
Mark Finkle
dce3d92e60 Bug 696433 - Improve link rel scanning for favicons [r=mbrubeck] 2011-12-08 08:56:43 -05:00
Mark Finkle
7743ccfa61 Bug 704970 - Favicon missing on URL bar; visible in awesome screen [r=mbrubeck] 2011-12-08 08:56:41 -05:00
Mark Finkle
e1b0ff8d43 Bug 706882 - Bad viewport description on startup [r=mbrubeck] 2011-12-07 22:21:03 -05:00
Brian Nicholson
40cf92be54 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
0cf4fa2d5b Bug 707483 - (Cleanup) Remove some unused event listeners [r=mfinkle] 2011-12-06 13:56:17 -05:00
Kartikaya Gupta
92d1c34ffe Bug 707483 - (Cleanup) Move tab-specific event handlers from BrowserEventHandler to Tab [r=mfinkle] 2011-12-06 13:53:10 -05:00
Kartikaya Gupta
5d06f92224 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
11a0149c9a 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
Steffen Wilberg
70d7dfa873 Bug 707575: about:fennec (about:firefox) appears too small (zoomed out) because of missing viewport meta tag. r=mfinkle 2011-12-05 19:26:44 +01:00
Wes Johnston
fd749418cf Bug 697701 - Double tap zoom support. r=cwiiis 2011-11-15 13:41:19 -08:00
Kartikaya Gupta
cb40afef41 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
700f3e80ec 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
f46b9389d2 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
1de81ac3e5 Bug 706644 - Going back from about:home still displays about:home [r=blassey] 2011-12-02 11:12:43 -05:00
Mark Finkle
4f75250356 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
Mark Finkle
c42843fef8 Bug 706830 - pressing 'back' doesn't return user to about:home [r=mbrubeck] 2011-12-01 15:12:45 -05:00
Kartikaya Gupta
e6126c1cc3 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
c184dc6b6e bug 706658 - ennec defaults to about:support as a start page r=mfinkle 2011-11-30 21:28:05 -05:00
Matt Brubeck
437303c704 Bug 706705 - Fix "this.browser.contentDocument.body is null" error message [r=wesj] 2011-11-30 17:03:24 -08:00
Mark Finkle
191609dc93 Bug 706351 - Add support for Console API r=mbrubeck 2011-11-30 17:37:59 -05:00
Wes Johnston
53f126bec4 Bug 704579 - Tap highlights. r=cwiiis 2011-11-30 16:10:25 -05:00
Kartikaya Gupta
da116c45a0 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
Brad Lassey
7842ed81b5 bug 701380 - Implement a native about:home (start page) r=mfinkle
--HG--
extra : rebase_source : 3b61498dc4a17fbec21531bd831994f81fb85532
2011-11-29 01:38:35 -05:00
Matt Brubeck
6cf5ba5b9c Bug 706215 - Send viewport updates from JS when metadata changes [r=mfinkle] 2011-11-29 14:45:18 -08:00
Matt Brubeck
834b6f6225 Bug 706160 - Don't auto-scale frameset pages [r=mfinkle] 2011-11-29 12:58:31 -08:00
Brian Nicholson
5c4e1e6a80 Bug 697857 - User Agent Switcher [r=mfinkle] 2011-11-29 10:43:29 -08:00
Steffen Wilberg
4a3d30d006 Bug 705850: Change about:config placeholder text from 'Filter Preferences' to 'Search Preferences'. r=mfinkle 2011-11-29 19:03:58 +01:00
Matt Brubeck
c04f249806 Clean up whitespace in browser.js (no bug - whitespace-only change) 2011-11-29 09:42:43 -08:00
Matt Brubeck
f764f27d3f Bug 694901 - (2/2) Set default zoom level based on viewport [r=mfinkle] 2011-11-29 09:35:26 -08:00
Matt Brubeck
fdb348c32d 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
40aff73ee4 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
3564a4ada8 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
Mark Finkle
ecf24f982e Backout beea574981d2, e3266cb5a2a7 - tree is burning (no bug) 2011-11-29 08:42:22 -05:00
Brad Lassey
46bfa5de8b bug 701380 - Implement a native about:home (start page) r=mfinkle 2011-11-29 01:38:35 -05:00
Doug Turner
7da187d997 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
Steffen Wilberg
753826b8f1 Bug 703920: In about:config, filter prefs when pressing the enter key, and close the keyboard. Remove the Filter button. r=mfinkle 2011-11-28 21:04:42 +01:00
Steffen Wilberg
bda140a587 Bug 703923 follow-up: remove trailing whitespace from config.xhtml. rubber-stamp-r=mfinkle 2011-11-24 19:40:25 +01:00
Steffen Wilberg
4253b8ebab Bug 703923: Disable 'Reset' buttons in about:config on prefs with default values. r=mfinkle 2011-11-24 19:37:40 +01:00
Brad Lassey
e22e225291 bug 704217 - Quit doesn't work before Gecko is up r=dougt 2011-11-24 02:04:26 -05:00
Chris Lord
2215a89fc3 Bug 703141 - Try to draw aligned to the pixel grid. r=pcwalton
To stop bad-looking text/fuzzy images, try to draw aligned to the pixel grid.
2011-11-23 19:07:51 +00:00
Chris Lord
43d46bf721 Bug 703141 - Reinstate zooming and add CSS zooming after viewport change. r=kats
This patch reinstates pinch-zooming and adds CSS re-scaling so that after
zooming, the page is rendered at the scaled resolution and you get clear text.

--HG--
rename : mobile/android/base/gfx/IntSize.java => mobile/android/base/gfx/FloatSize.java
2011-11-23 19:07:47 +00:00
Chris Lord
8947fea4fd Bug 703141 - Refactor around the idea of a viewport and displayport. r=kats
This patch refactors the code to make some of the value names and ownership
clearer, and to add the idea of a 'viewport' within a 'displayport'. The
displayport is the area of the page which is visible to the underlying buffer
and the viewport is the area of the page which is visible through the
application window.

--HG--
rename : mobile/android/base/ui/ViewportController.java => mobile/android/base/gfx/ViewportMetrics.java
2011-11-23 19:07:29 +00:00
Margaret Leibovic
a736b2ff05 Bug 701797 - (Part 1) Use download manager API in saveAsPDF to handle progress notifications. r=mfinkle 2011-11-22 16:46:10 -08:00
Margaret Leibovic
19b8dcdbc0 Bug 703922 - Toggle boolean prefs with one click (and fix typo that broke pref types). r=mfinkle 2011-11-22 16:44:04 -08:00
Mark Finkle
712be56cd6 Bug 696532 - Basic add-on manager support [r=wesj] 2011-11-22 01:12:59 -05:00
Alex Pakhotin
7c88da1486 Bug 701947 - VKB does not appear when tapping into an iframe text box. r=mfinkle 2011-11-21 20:15:05 -08:00
Kartikaya Gupta
81839bdfe3 Bug 701351 - Back out 0aeaa4995892 (XUL scrollbars) [r=mfinkle]
This removes the XUL scrollbars introduced in bug 695569, as
they no longer work with the layers code.
2011-11-21 18:15:29 -05:00
Patrick Walton
88891e12c6 Bug 703421 - Implement the Android draw metadata listener to fix races. r=kats 2011-11-18 18:07:14 -08:00