Commit Graph

3878 Commits

Author SHA1 Message Date
Doug Turner
c17d46365a Merge mozilla-central 0ea84b44a7f1 2011-11-23 12:29:40 -08:00
Chris Lord
f33a13bfe4 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
40bd8c7a06 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
d30a6066e3 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
5a6d7e467b 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
22a6438a2a 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
c5ca0523a3 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
Oleg Romashin
d56fa1bc3d Bug 703945 - blank screen after rotate on every site. r=mbrubeck 2011-11-23 08:30:40 -08:00
Rafael Ávila de Espíndola
c9b08aeb85 Bug 676607 - Update the mozconfig files to point to the new gcc. r=catlee. 2011-11-23 09:07:32 -05:00
Doug Turner
b60ba3c957 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
5fa63cc7ba Bug 699303 - Kinetic panning need to stop more sharply. r=dougt 2011-11-22 22:01:45 -08:00
Mike Hommey
ead8a1ff64 Bug 696555 - Move update.locale into omni.jar. r=rstrong 2011-11-22 08:05:59 +01:00
Mike Hommey
29e01f8469 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
5542d6e6f9 Bug 686466 part 2 - Use centralized application.ini creation for mobile. r=ted 2011-11-22 08:05:59 +01:00
Jim Chen
425b5f76b3 Bug 704414 - Remove debug button and wait 5s in native UI; r=dougt 2011-11-22 01:56:55 -05:00
Margaret Leibovic
e74a981c5c 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
62614800ad Bug 703630 - Disable share menuitem for certain protocols. r=blassey 2011-11-22 16:44:58 -08:00
Margaret Leibovic
91fa63e14b 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
c0949bde97 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
5633135cf2 no bug. revert some of the birch changes. r=glandium 2011-11-22 13:21:23 -08:00
Doug Turner
357eaf5609 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
eae682107a Bug 703602 - Close cursor when getting favicon URL (r=kats) 2011-11-22 14:07:47 +00:00
Mark Finkle
f266ecdfc3 Bug 696532 - Basic add-on manager support [r=wesj] 2011-11-22 01:12:59 -05:00
Alex Pakhotin
ac1dca4d92 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
c4399cc167 Bug 703803: Black bar in Honeycomb awesomebar r=mfinkle 2011-11-21 15:41:50 -08:00
Kartikaya Gupta
5692e21327 Bug 704225 - Don't dismiss an undisplayed dialog [r=mfinkle] 2011-11-21 18:16:22 -05:00
Kartikaya Gupta
fda37b75c1 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
c50cca59b5 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
0953f3725d Bug 702619: Closing tabs faster causing NPE. [r=mfinkle] 2011-11-21 12:21:10 -08:00
Margaret Leibovic
fd0d92ac18 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
1bf3150420 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
9f8d627d5a Bug 699937 - (Cleanup) Remove unused timestamp values [r=Cwiiis] 2011-11-21 15:26:45 -05:00
Kartikaya Gupta
249c8b6092 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
d0ca82724f Bug 704117 - (Cleanup) Remove unnecessary string creations [r=sriram] 2011-11-21 14:08:34 -05:00
Brad Lassey
30ddff5926 bug 704043 - don't show transition animation when closing awesome bar r=dougt 2011-11-21 14:05:39 -05:00
Doug Turner
fe7bd72d93 no bug - disable screenshot until Google bug 16941 is worked around. r=mfinkle 2011-11-21 10:16:52 -08:00
Kartikaya Gupta
c23d956a56 Bug 704114 - Fix missing texture crash [r=pcwalton]
During startup there is a race condition where the
LayerRenderer might request a paint of the root layer before
the root layer has successfully generated a texture.
This might happen if the transaction lock is already held
when the root layer attempts to generate the texture. Fix
by inserting a null guard that aborts the paint if the texture
has not been generated.
2011-11-21 12:17:24 -05:00
Kartikaya Gupta
78a4e4a515 Bug 703256 - Fix incorrect thread access [r=pcwalton]
Make sure things that touch the zoom/pan state and view
hierarchy are executing on the main UI thread.
2011-11-21 10:06:20 -05:00
Kartikaya Gupta
23f0e6aac8 Bug 700559 - Fix crash in startSnap() [r=pcwalton]
There exist conditions where the position of the page can change
between the call to fling() and the running of the FlingRunnable,
since the FlingRunnable gets bounced off two threads. This can
cause the Axis to end up in state WAITING_TO_SNAP with no
overscroll. Instead of crashing, handle this case more gracefully.
2011-11-21 09:20:33 -05:00
Brad Lassey
b219896cab merged mozilla-central to birch
--HG--
rename : gfx/thebes/GLContextProviderEGL.cpp => gfx/gl/GLContextProviderEGL.cpp
rename : embedding/android/AndroidManifest.xml.in => mobile/android/base/AndroidManifest.xml.in
2011-11-21 01:21:42 -05:00
Oleg Romashin
cf5d2ca6fe Bug 703382 maemo fast startup resources not found after directory path change. r=mfinkle 2011-11-20 02:31:56 +00:00
Brad Lassey
9e18690221 bug 701703 - Null pointer exception thrown loading Fennec Start Page r=dougt 2011-11-19 19:46:31 -05:00
Patrick Walton
69d2f32878 Bug 703421 - Implement the Android draw metadata listener to fix races. r=kats 2011-11-18 18:07:14 -08:00
Matt Brubeck
2849653950 Bug 703127 - Remove unused CSS, XBL, and images from mobile/android [r=mfinkle] 2011-11-18 16:05:01 -08:00
Matt Brubeck
b05255f0e9 Bug 703127 - Remove unused JS and XUL files from mobile/android [r=mfinkle] 2011-11-18 16:04:41 -08:00
Margaret Leibovic
6609b2c172 Bug 699418 - Implement about:config in html. r=mfinkle 2011-11-18 15:41:42 -08:00
Brian Nicholson
e5de650daa Whitespace fix for GeckoApp (no bug) [r=me] 2011-11-18 14:49:15 -08:00
Kartikaya Gupta
1530e9fefe Bug 701586 - Axis lock during panning [r=pcwalton]
Maintain an axis lock when the user is panning within
12 degrees on either side of the vertical or horizontal
axes. When the axis lock is enabled movement along
the other axis is ignored.
2011-11-18 16:08:17 -05:00
Mark Finkle
40bbb059a2 Bug 703661 - Add back WAKE_LOCK permission request for PowerManager [r=blassey] 2011-11-18 14:48:57 -05:00
Doug Turner
45317eed95 merge with mozilla-central 2ab636cf01f3 2011-11-18 10:38:37 -08:00