Commit Graph

3915 Commits

Author SHA1 Message Date
Doug Turner
96cd9b3757 bug 705726 - No need to schedule redraw when conntecting gecko. r=pwalton
--HG--
extra : rebase_source : 684e1bd83e010b213416c5bb715c16c07c3b74ea
2011-11-29 15:30:33 -08:00
Doug Turner
ab6eacddb2 no bug - remove content sink prefs and use default. r=pwalton
--HG--
extra : rebase_source : bcb4a50cb5e86b5566c1b81a896bc0079daa6490
2011-11-29 15:27:39 -08: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
Kartikaya Gupta
37965779eb Bug 704950 - Add a message to update the Java viewport [r=Cwiiis]
Add a Viewport:Update message that can be sent from browser.js
to the Java side to force an update to the viewport information.
2011-11-29 09:58:35 -05:00
Kartikaya Gupta
81e4d56a16 Bug 704950 - Remove java guess to reset viewport [r=Cwiiis]
This removes the "mNewContent" java-side guess as to when
gecko has loaded new content.
2011-11-29 09:58:22 -05:00
Mark Finkle
ecf24f982e Backout beea574981d2, e3266cb5a2a7 - tree is burning (no bug) 2011-11-29 08:42:22 -05:00
Brad Lassey
b8b507dcad follow up to bug 701380 to fix build bustage r=me 2011-11-29 08:13:03 -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
Lucas Rocha
24e4fc2171 Bug 705105 - Only dismiss VKB when selecting lazy-loaded tabs in AwesomeBar (r=mfinkle) 2011-11-28 10:34:54 +00:00
L. David Baron
fc8ebe417a Turn down the sizing for font inflation a bit (bug 627842), at least until we sort out Android dpi issues. (Bug 705278) 2011-11-27 11:42:19 -08:00
Alex Pakhotin
2ff4314077 Bug 704721 - [ICS/Honeycomb] - VKB backspace key dismisses keyboard and deletes two characters only on the URL bar. r=blassey 2011-11-24 18:19:52 -08:00
L. David Baron
9943c825ec Enable font size inflation for Android native mobile browser. (Bug 627842, patch 18)
This applies the same patch made to the default preferences of XUL
fennec (mobile/xul/app/mobile.js) in Bug 627842, patch 4 (changeset
d3e230bec2f9, r=roc) to the default preferences of Android Fennec.
2011-11-24 15:40:14 -08:00
L. David Baron
948210aded Merge mozilla-central to birch. 2011-11-24 15:28:46 -08: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
Lucas Rocha
14a33e25d6 Bug 701374 - Show go or search icon in awesomescreen entry (r=mfinkle) 2011-11-24 16:54:39 +00:00
Rob Campbell
44be5ce2e3 merge fx-team to m-c 2011-11-24 11:44:28 -04:00
Chris Lord
e1bb35b515 Bug 704516 - Blacklist HTC's flash-lite plugin. r=snorp
Not sure what HTC's plugin does, but it breaks the usage of the Adobe Flash
plugin for us, so blacklist it.
2011-11-24 11:29:15 +00:00
Alex Pakhotin
275a6a5c8e Bug 704156 - Unable to overwrite selection in awesome bar using HKB. r=blassey 2011-11-23 23:11:06 -08:00
Brad Lassey
e22e225291 bug 704217 - Quit doesn't work before Gecko is up r=dougt 2011-11-24 02:04:26 -05:00
Doug Turner
defac2dd9a no bug - revert content sink perfs back. r=mfinkle 2011-11-23 20:53:50 -08:00
L. David Baron
e5604f01bc Implement computation of font size inflation for improved readibility of text on mobile devices. (Bug 627842, patch 4) r=roc
This implements computation of the font size inflation factor for a
given frame.  Since Fennec does layout using a fake viewport whose width
represents a typical viewport width on the desktop and then allows users
to pan and zoom, fonts are not always readable even when zoomed.  The
goal of this font size inflation is to ensure that when a block of text
is zoomed to fill the width of the device, the fonts are large enough to
read.  We do this by increasing the font sizes in the page.  Since this
increase is a function of the width of the text's container, the
inflation must be performed (in later patches in this series) after
style data computation and after intrinsic width computation.

The font size inflation factor does not vary *within* a block.

Since sync uses a whitelist (the services.sync.prefs.sync.* prefs) for
preferences (i.e., preferences are not synced by default), this patch
does not make any changes relating to sync, since we do not want the
inflation preferences synced across devices (since preferred settings
are likely to be device-specific).
2011-11-23 18:48:23 -08:00
Doug Turner
e25f51094f Bug 705020 - drop enable-js-diagnostics flag from nightly mozconfig. r=mbrubeck 2011-11-23 17:08:42 -08:00
Doug Turner
a83533e725 Bug 704898 - Reenable elfhack. r=mbrubeck
--HG--
extra : rebase_source : 7f92377a1786fb9b920e4c6ca4a6c8b18ae3a742
2011-11-23 15:41:41 -08:00
Jared Wein
c3c7c234cc Bug 470628 - Part 1: CSS, JS, XBL, and locale changes (with fall-back support). r=dolske ui-r=shorlander f=fryn 2011-11-23 14:42:18 -05:00
Sriram Ramasubramanian
19a30c4375 Bug 702264: Patch 2: Honeycomb/ICS needs action bar support [r=mfinkle] 2011-11-23 11:04:47 -08:00
Oleg Romashin
360e7f7a43 Bug 703945 - blank screen after rotate on every site. r=mbrubeck 2011-11-23 08:30:40 -08:00
Rafael Ávila de Espíndola
d7a921cab3 Bug 676607 - Update the mozconfig files to point to the new gcc. r=catlee. 2011-11-23 09:07:32 -05:00
Sriram Ramasubramanian
cedb71c5cc Bug 702264: Patch 1: Fixing the styles and themes for ICS [r=mfinkle] 2011-11-23 00:01:38 -08:00
Doug Turner
387c79c13b Merge mozilla-central 0ea84b44a7f1 2011-11-23 12:29:40 -08:00
Chris Lord
ff98b1c36d Bug 703141 - Remove bogus viewport reply tracking. r=kats
If we sent a viewport to Gecko that causes no change in what's drawn on the
screen, we wouldn't receive a reply and this would cause us to deadlock until
a redraw happens for some other reason.

As viewport changes are throttled at max 1 per 350ms, just remove this check.
After IRC discussion, it was deemed unnecessary.
2011-11-23 20:04:05 +00:00
Chris Lord
133e2a7438 Bug 703141 - Restore usage of the redraw hint. r=kats
Earlier patches mistakenly removed the redraw hint. This restores it, and
alters its behaviour to work correctly with regards to the viewport. This
should help mitigate some checker-boarding and performance issues when panning
and zooming.
2011-11-23 19:08:20 +00:00
Chris Lord
3bc8eb0f77 Bug 703141 - Fix plugin positioning and sizing. r=kats, pcwalton
This fixes plugin position/size in the new displayport-viewport scheme.
2011-11-23 19:08:11 +00: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
Doug Turner
0239539b27 Bug 689713 - Warm up the DNS cache in Java when launching with a URL intent. r=blassey 2011-11-23 00:43:08 -08:00
Patrick Walton
40f99fd608 Bug 699303 - Kinetic panning need to stop more sharply. r=dougt 2011-11-22 22:01:45 -08:00
Mike Hommey
6c1448574b Bug 696555 - Move update.locale into omni.jar. r=rstrong 2011-11-22 08:05:59 +01:00
Mike Hommey
24650c0957 Bug 686466 part 3 - Use a pre-generated nsXREAppData struct instead of application.ini. r=ted,bsmedberg
--HG--
rename : build/application.ini => build/application.ini.in
2011-11-22 08:05:59 +01:00