Commit Graph

3893 Commits

Author SHA1 Message Date
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
Mike Hommey
7b469585d5 Bug 686466 part 2 - Use centralized application.ini creation for mobile. r=ted 2011-11-22 08:05:59 +01:00
Jim Chen
2428877ca6 Bug 704414 - Remove debug button and wait 5s in native UI; r=dougt 2011-11-22 01:56:55 -05: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
f4a6275a37 Bug 703630 - Disable share menuitem for certain protocols. r=blassey 2011-11-22 16:44:58 -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
Doug Turner
a16047fbe4 no bug. Disable saving last screenshot until http://code.google.com/p/android/issues/detail?id=16941 is worked around 2011-11-22 13:44:44 -08:00
Doug Turner
481648dc13 no bug. revert some of the birch changes. r=glandium 2011-11-22 13:21:23 -08:00
Doug Turner
cb49e80219 Merge with mozilla-central 6f998cc964be
--HG--
rename : embedding/android/GeckoApp.java => mobile/android/base/GeckoApp.java
2011-11-22 12:48:22 -08:00
Lucas Rocha
3cd78443a9 Bug 703602 - Close cursor when getting favicon URL (r=kats) 2011-11-22 14:07:47 +00: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
Sriram Ramasubramanian
bfc25d5ab2 Bug 703803: Black bar in Honeycomb awesomebar r=mfinkle 2011-11-21 15:41:50 -08:00
Kartikaya Gupta
c890086112 Bug 704225 - Don't dismiss an undisplayed dialog [r=mfinkle] 2011-11-21 18:16:22 -05:00
Kartikaya Gupta
1fa479b70e Bug 701351 - Add scroll indicators [r=pcwalton]
Add blocky scroll indicators to the java compositor.
2011-11-21 18:15:29 -05: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
Sriram Ramasubramanian
7e3234a633 Bug 702619: Closing tabs faster causing NPE. [r=mfinkle] 2011-11-21 12:21:10 -08:00
Margaret Leibovic
ec6bebce0f Bug 703765 - The updatePopup call after Tab:Close can result in a NPE. r=mfinkle 2011-11-21 14:24:24 -08:00
Kartikaya Gupta
5df32d60e9 Bug 699937 - Prevent getting stuck in overscroll [r=Cwiiis]
Tapping while the page is in overscroll cancels the snap
back and leaves the page stuck in overscroll. To fix,
ensure we always try a snapback when the user removes their
finger.
2011-11-21 15:26:45 -05:00
Kartikaya Gupta
eeac10b3c5 Bug 699937 - (Cleanup) Remove unused timestamp values [r=Cwiiis] 2011-11-21 15:26:45 -05:00
Kartikaya Gupta
962763b3bc Bug 704117 - Fix null title in HistoryEntry [r=sriram]
Code in GeckoApp assumes that the title and url fields
in HistoryEntry will always be non-null, so fix possible
NPEs by not putting null values in them.
2011-11-21 14:08:34 -05:00
Kartikaya Gupta
183ae403e7 Bug 704117 - (Cleanup) Remove unnecessary string creations [r=sriram] 2011-11-21 14:08:34 -05:00
Brad Lassey
460827f612 bug 704043 - don't show transition animation when closing awesome bar r=dougt 2011-11-21 14:05:39 -05:00