Commit Graph

763 Commits

Author SHA1 Message Date
Patrick Walton
2031047064 Bug 714230 - Unsuppress drawing for background tabs when they're shown. r=kats 2011-12-30 14:04:47 -08:00
Joel Maher
e41beec0c5 Bug 711591 - make the robotium test driver a bit more driver like. r=ctalbert 2011-12-30 15:57:34 -05:00
Mark Finkle
995cd0767e Bug 708806 - Remove strings for homepage preference r=wesj 2011-12-30 14:54:16 -05:00
Kartikaya Gupta
76e35d12eb Bug 712761 - Fix returning incorrect object from openURI. r=dougt 2011-12-27 00:58:18 -05:00
Mark Finkle
422c8452a8 Bug 714234 - Handle window.close() via DOMWindowClose r=wesj 2011-12-30 14:48:21 -05:00
Kartikaya Gupta
ffe7d6d96d Bug 713586 - Robustify against undetected race conditions. r=pcwalton
The exception in bug 713586 can only occur if there are race conditions
in the PanZoomController that we haven't fixed yet. Until the race conditions
are fixed, we can robustify the code from dying horribly by making
the bounce-related variables local to the BounceRunnable, so that
different BounceRunnables running concurrently don't interfere with each
other.
2012-01-02 19:06:49 -05:00
Kartikaya Gupta
60ba88826b Bug 709924 - Adjust viewportExcess after scrollIntoView(). r=Cwiiis
We need to adjust the viewportExcess after calling scrollIntoView() because
Gecko may not properly scroll the item into view. This happens because
Gecko is unaware of the actual visible content area being affected by the
applied zoom.
2011-12-29 22:30:47 -05:00
Kartikaya Gupta
413ca00d80 Bug 713729 - Ensure that a fling is in progress when doing velocity-based fling adjustments. r=pcwalton 2011-12-29 22:29:16 -05:00
Mark Finkle
adddb57f80 Bug 713887 - Javascript error when using the menu quit to quit fennec r=mbrubeck 2011-12-29 23:35:53 -05:00
Gian-Carlo Pascutto
d75b0d6c5e Bug 714148 - Check whether favicon images are decoded successfully. r=mfinkle 2011-12-30 02:41:16 +01:00
Gian-Carlo Pascutto
f797ba0116 Bug 713408 - Reduce log output from Profile Migrator. r=mfinkle 2011-12-30 02:40:56 +01:00
Patrick Walton
92f6456e90 Bug 709492 - Part 5: Reset the metadata instead of updating it when a new page is shown. r=kats 2011-12-29 15:10:31 -08:00
Patrick Walton
0fff0f0bdd Bug 709492 - Part 4: Hide the page when navigating, and expose it when the new page appears. r=kats 2011-12-29 15:10:30 -08:00
Patrick Walton
9f4fa76ed7 Bug 709492 - Part 3: Implement expose events. r=kats 2011-12-29 15:10:28 -08:00
Patrick Walton
a09787cb39 Bug 709492 - Part 2: Implement draw suppression. r=kats 2011-12-29 15:10:27 -08:00
Robert O'Callahan
9a2ceddbc8 Bug 591718. Fix mobile browser test to handle getBoundingClientRect including a transform. r=mfinkle 2011-12-30 11:14:04 +13:00
Mike Hommey
6e62c747d6 Backout 45820730dfa7 and 860035a3c04a (bug 701371) and 8ac6f34b44ff (bug 709776) because of Android random oranges.
--HG--
rename : mozglue/build/Makefile.in => memory/mozutils/Makefile.in
rename : mozglue/build/dummy.cpp => memory/mozutils/dummy.cpp
rename : mozglue/build/fixcrt.py => memory/mozutils/fixcrt.py
rename : mozglue/build/mozglue.def.in => memory/mozutils/mozutils.def.in
rename : mozglue/android/APKOpen.cpp => other-licenses/android/APKOpen.cpp
rename : mozglue/android/APKOpen.h => other-licenses/android/APKOpen.h
rename : mozglue/android/nsGeckoUtils.cpp => other-licenses/android/nsGeckoUtils.cpp
2011-12-28 12:12:09 +01:00
Mike Hommey
00bf052883 Bug 701371 - Rename mozutils to mozglue, and move it to top-level. r=khuey
--HG--
rename : memory/mozutils/Makefile.in => mozglue/Makefile.in
rename : memory/mozutils/Makefile.in => mozglue/build/Makefile.in
rename : memory/mozutils/dummy.cpp => mozglue/build/dummy.cpp
rename : memory/mozutils/fixcrt.py => mozglue/build/fixcrt.py
rename : memory/mozutils/mozutils.def.in => mozglue/build/mozutils.def.in
2011-12-28 08:24:02 +01:00
Julien Vermet
01974ead00 Bug 699543 - "Show a 'new tab' toast alert when opening a background tab" [r=mbrubeck] 2011-11-27 06:49:00 -08:00
Kartikaya Gupta
8b735d9513 Bug 710297 - Send page size updates to Java more often during load. r=Cwiiis 2011-12-27 00:57:27 -05:00
Kartikaya Gupta
c89a2e3670 Bug 712386 - Limit how much zoom can be applied. r=Cwiiis 2011-12-27 00:56:57 -05:00
Brad Lassey
ce30022ca2 bug 712559 - top sites section of about:home resizes when thumbnails populate r=mfinkle 2011-12-27 12:44:22 -05:00
Steffen Wilberg
c56a6e3240 Bug 713072: Bring the 'Licensing information' link in about: in line with the other links. r=mfinkle 2011-12-27 14:26:18 +01:00
Geoff Lankow
c801a48c75 Backed out 3 changesets (bug 710297, bug 712386, bug 712761) for perma-orange on Android native m1 and m2
Backed out changeset 3b1e6033d3ff (bug 712761)
Backed out changeset bb41941cdf9d (bug 710297)
Backed out changeset d4f9960e286a (bug 712386)
2011-12-28 01:00:02 +13:00
Margaret Leibovic
9243887289 Bug 711216 - Form autocomplete popup doesn't disappear when input gets out of view after pinch zoom [r=mfinkle] 2011-12-21 17:03:21 -08:00
Margaret Leibovic
ae82e69c1b Bug 712588 - Clear location not available in 'Clear Site Settings' [r=mfinkle] 2011-12-22 11:50:44 -08:00
Mark Finkle
dbd7444216 Bug 712627 - Fennec crashes if a long tap is performed in AwesomeBar/History (forgot to qref) [r=mfinkle] 2011-12-27 01:13:25 -05:00
Wesley Johnston
4aafe8083e Bug 712627 - Fennec crashes if a long tap is performed in AwesomeBar/History [r=mfinkle] 2011-12-27 01:07:46 -05:00
Mark Finkle
d58ced4180 Bug 713600 - MasterPassword helper is missing _tokenName [r=blassey] 2011-12-27 01:07:44 -05:00
Mark Finkle
f60cd56011 Bug 713578 - java.lang.NullPointerException at org.mozilla.gecko.Tabs.closeTab [r=blassey] 2011-12-27 01:07:41 -05:00
Brad Lassey
a5d2cf3ffa Bug 712980 - java.lang.NullPointerException @ org.mozilla.gecko.GeckoPreferences.onPreferenceChange [r=mfinkle] 2011-12-26 10:19:27 -05:00
Kartikaya Gupta
776d9d3ad3 Bug 712761 - Fix returning incorrect object from openURI. r=dougt 2011-12-27 00:58:18 -05:00
Kartikaya Gupta
bd69e07903 Bug 710297 - Send page size updates to Java more often during load. r=Cwiiis 2011-12-27 00:57:27 -05:00
Kartikaya Gupta
6e2b14a747 Bug 712386 - Limit how much zoom can be applied. r=Cwiiis 2011-12-27 00:56:57 -05:00
Chris Lord
fc3a62f889 Bug 711426 - Fix some causes of crashes when rotating. r=kats
The lock on the software buffer was not being respected when destroying the
surface on screen rotation, meaning we could destroy it while Gecko was still
drawing to it. This would certainly cause a crash on rotation under the right
conditions. The same situation also occurred in
GeckoSoftwareLayerClient.getBitmap().

We also waited until the next redraw when freeing the old texture associated
with the surface. This had the effect of temporarily increasing the memory
usage (generally by either 4.5 or 9 megabytes). If memory pressure is high,
this could also cause a crash, though it is far less likely than the above case.
2011-12-24 00:49:00 +00:00
Gian-Carlo Pascutto
38830dcdc9 Bug 712718 - Force creation of WebIconDatabase event handler. r=dougt 2011-12-24 00:55:53 +01:00
Brad Lassey
fafce1025a bug 711680 - VKB/Awesome bar shows Search /Magnifying glass after you goto an url and then tap twice on the awesome bar r=dougt 2011-12-23 14:40:17 -05:00
Brad Lassey
adfe883205 bug 712380 - Add support for clobbering the Android resources when needed r=dougt 2011-12-21 19:44:33 -05:00
Geoff Brown
aaf8a4cf00 Bug 701076: Minor updates to robotium tests to improve reliability of text entry; r=jmaher 2011-12-22 09:09:50 -05:00
Chris Lord
af9860b781 Bug 709152 - Adjust viewport offset while panning. r=pcwalton
This patch adjusts the viewport offset while panning to increase the
buffered area in the direction of panning, and thereby reduce checkerboarding.
2011-12-22 11:35:41 +00:00
Chris Lord
020657935d Bug 709152 - Squash multiple viewport events in nsAppShell. r=pcwalton
We only ever want to respond to the latest viewport sent, separate the
viewport change into its own event and remove all but the latest in the queue
when processing events.
2011-12-22 11:35:32 +00:00
Chris Lord
092cd9cdfb Bug 709152 - Group multiple texture uploads into a single upload. r=pcwalton
Instead of tracking multiple rectangles when we receive endDrawing calls,
just union the dirty area into a single rectangle.
2011-12-22 11:35:17 +00:00
Axel Hecht
952d911706 bug 708015, support both native and xul l10n, r=stas, dougt
--HG--
rename : mobile/android/locales/Makefile.in => mobile/locales/Makefile.in
rename : mobile/android/locales/en-US/chrome/region.properties => mobile/locales/en-US/chrome/region.properties
rename : mobile/android/locales/en-US/chrome/overrides/appstrings.properties => mobile/locales/en-US/overrides/appstrings.properties
rename : mobile/android/locales/en-US/chrome/overrides/netError.dtd => mobile/locales/en-US/overrides/netError.dtd
rename : mobile/android/locales/en-US/chrome/overrides/passwordmgr.properties => mobile/locales/en-US/overrides/passwordmgr.properties
rename : mobile/android/locales/en-US/profile/bookmarks.inc => mobile/locales/en-US/profile/bookmarks.inc
rename : mobile/android/locales/en-US/searchplugins/amazondotcom.xml => mobile/locales/en-US/searchplugins/amazondotcom.xml
rename : mobile/android/locales/en-US/searchplugins/google.xml => mobile/locales/en-US/searchplugins/google.xml
rename : mobile/android/locales/en-US/searchplugins/list.txt => mobile/locales/en-US/searchplugins/list.txt
rename : mobile/android/locales/en-US/searchplugins/twitter.xml => mobile/locales/en-US/searchplugins/twitter.xml
rename : mobile/android/locales/en-US/searchplugins/wikipedia.xml => mobile/locales/en-US/searchplugins/wikipedia.xml
rename : mobile/android/locales/en-US/searchplugins/yahoo.xml => mobile/locales/en-US/searchplugins/yahoo.xml
rename : mobile/android/locales/filter.py => mobile/locales/filter.py
rename : mobile/android/locales/generic/profile/bookmarks.json.in => mobile/locales/generic/profile/bookmarks.json.in
rename : mobile/android/locales/jar.mn => mobile/locales/jar.mn
rename : mobile/android/locales/l10n.ini => mobile/locales/l10n.ini
2011-12-22 00:10:06 +01:00
Brad Lassey
ea1c675935 bug 712787 - remove showScreenshot (dead code) r=dougt 2011-12-21 18:01:57 -05:00
Brad Lassey
6a9bbf9f99 bug 712719 - NullPointerException at org.mozilla.gecko.GeckoAppShell.notifyIMEEnabled r=dougt 2011-12-21 18:14:46 -05:00
Steffen Wilberg
d38f10bc2f Bug 712766: Replace the buildid by an easily readable build date in about:. r=mfinkle 2011-12-21 23:20:02 +01:00
Sriram Ramasubramanian
b5b0ebbd55 Bug 712477: Landscape specific resources should be used in Android [r=mfinkle] 2011-12-21 00:03:34 -08:00
Mark Finkle
c0153da69a Bug 712414 - Throbber does not stop after running on pages that use document.write without document.close [r=mbrubeck] 2011-12-21 16:34:02 -05:00
Wes Johnston
a91160fa34 Bug 700527 - Master password support for native fennec. r=mfinkle 2011-12-21 13:08:01 -08:00
Ed Morley
ce9293b876 Merge mozilla-central to mozilla-inbound 2011-12-21 20:42:18 +00:00
Ed Morley
f0508ae968 Merge last green changeset of mozilla-inbound to mozilla-central 2011-12-21 20:31:10 +00:00
Margaret Leibovic
71ca12fa2c backout 243520b7d8c3 because it broke the autocomplete popup text 2011-12-21 12:30:53 -08:00
Matt Brubeck
9beb79c27a Bug 709921 - (followup) Update strings about:config to say "Settings" instead of "Preferences" [r=mfinkle] 2011-12-21 11:20:06 -08:00
James Willcox
32dd584aa5 Bug 670930 - Use asynchronous direct texturing on Android when available 2011-12-21 14:05:23 -05:00
Richard Newman
3c4e9c5b1c Bug 709391 - hide Sync setup task in Launcher, make syncs return immediately. a=java-only. 2011-12-21 08:44:08 -08:00
Richard Newman
bead2776d2 Bug 709391 - initial import of Android Sync code (Git tag: v0.1.2-fixes). a=java-only 2011-12-21 08:44:08 -08:00
Richard Newman
e0015aebf0 Bug 709391 - Part 3: Makefile changes to preprocess sync_syncadapter.xml. r=blassey 2011-12-21 08:44:06 -08:00
Richard Newman
5c2c28f397 Bug 709391 - Part 2: l10n build changes to include Sync strings. r=blassey, f=Pike 2011-12-21 08:44:06 -08:00
Richard Newman
5189891253 Bug 709391 - Part 1: implement in-Fennec Android Sync shipping solution. r=blassey 2011-12-21 08:44:06 -08:00
Margaret Leibovic
09668436d1 Bug 711595 - Request desktop site should be disabled for the same URIs as share. r=mfinkle 2011-12-21 08:05:38 -08:00
Ed Morley
6084e70492 Merge last PGO-green changeset from mozilla-inbound to mozilla-central 2011-12-21 12:11:14 +00:00
Steffen Wilberg
858ebcd006 Bug 704588 - New design for about: = about:firefox = about:fennec to match about:home. ui-spec by ibarlow, r=mfinkle 2011-12-21 11:40:31 +00:00
Patrick Walton
16beb9fe59 Bug 712527 - Save and restore the deck's selected panel when removing a tab. r=mfinkle 2011-12-20 21:13:20 -08:00
Doug Turner
2af58ec2b4 Bug 712358 - Enable asynchronous I/O sqlite backend. This should improvement perf, but not preserve the durable property. The plan is to collect data only on m-c. if the data looks good, then we should consider uplifting. If the data doesn't look good, we back out. r=taras/blassey 2011-12-20 21:04:26 -08:00
Alex Pakhotin
f2d3a1ea94 Bug 705939 - Enter key pressed in the Awesome Bar does not open an URL sometimes. r=blassey 2011-12-20 19:44:17 -08:00
Sriram Ramasubramanian
5a12e11890 Bug 711428: Awesomescreen tab indicators needs to be curved [r=mfinkle] 2011-12-20 12:53:56 -08:00
Ed Morley
708c260982 Merge mozilla-central to mozilla-inbound 2011-12-21 12:15:42 +00:00
Ed Morley
fba6700738 Backout ac9fac23227a (bug 712380) for causing native Android build failures 2011-12-21 11:29:41 +00:00
Ed Morley
94398eb881 Backout 640682cbaebc (bug 704588) for failing to build 2011-12-21 11:06:24 +00:00
Steffen Wilberg
8349122bb0 Bug 704588: New design for about: = about:firefox = about:fennec to match about:home. ui-spec by ibarlow, r=mfinkle 2011-12-21 09:52:39 +01:00
Brad Lassey
9bea226f36 bug 712300 - Checkerboard over about:home footer area r=mfinkle 2011-12-21 00:17:19 -05:00
Brad Lassey
5636309a03 bug 712536 - null pointer crash when rotating about:home r=mfinkle 2011-12-21 00:17:16 -05:00
Brad Lassey
1b2071b144 bug 712380 - Add support for clobbering the Android resources when needed r=mfinkle 2011-12-20 22:56:15 -05:00
Christian Legnitto
f42e8695fa Bug 700000 - Version bump 2011-12-20 09:24:38 -08:00
Ed Morley
fcef14b458 Merge last green changeset of mozilla-inbound to mozilla-central 2011-12-20 16:52:57 +00:00
Matt Brubeck
a3d22fab71 Bug 709921 - (2/2) Rename "Preferences" to "Settings" for Android fennec [r=cpeterson] 2011-12-20 08:33:25 -08:00
Matt Brubeck
0e987f36e0 Bug 709921 - (1/2) Clean up unused localization files [r=mfinkle]
--HG--
rename : mobile/android/locales/en-US/chrome/preferences.dtd => mobile/android/locales/en-US/chrome/aboutHome.dtd
2011-12-20 08:33:22 -08:00
Wes Johnston
5f24a57949 Bug 711905 - Support adding links to homescreen from awesomebar [r=mfinkle] 2011-12-20 10:28:12 -05:00
Brad Lassey
f2889db297 bug 711184 - make sure we don't do any work creating about:home if we're not showing about:home r=dougt 2011-12-20 02:49:44 -05:00
Brad Lassey
2e202d67fc backout changeset 3f050eb4f8ac (bug 711184) 2011-12-20 01:53:34 -05:00
Brad Lassey
09fc9c88b9 bug 711757 - Fatal Exception: GeckoLooper Thread @ java.lang.IllegalArgumentException: width and height must be > 0 r=dougt 2011-12-20 00:29:04 -05:00
Brian Nicholson
7e66688065 Bug 697858 - Restore tabs from previous session, including history [r=mfinkle] 2011-12-20 20:41:45 -05:00
Alex Pakhotin
6d1ee9a522 Bug 712118 - Form autocomplete is broken because we're not receiving compositionupdate events. r=blassey 2011-12-20 17:03:54 -08:00
Brad Lassey
1078e7ec5b bug 711184 - make sure we don't do any work creating about:home if we're not showing about:home r=dougt 2011-12-20 00:08:07 -05:00
Sriram Ramasubramanian
266a40bd53 Bug 708616: Awesomebar bg should match main toolbar [r=mfinkle] 2011-12-19 15:30:03 -08:00
Sriram Ramasubramanian
347c5c4c3e Bug 711198: Autocomplete popup should have a minimum width [r=mfinkle] 2011-12-19 13:19:05 -08:00
Ed Morley
bb4d5c8d26 Backout fe434c1887f5 (bug 708437) for Android build failures on clobber 2011-12-20 13:38:33 +00:00
Mike Hommey
29372046ab Bug 708437 - Avoid race condition (res/values/strings.xml:1: error: Error parsing XML: no element found). r=ted 2011-12-20 13:24:36 +01:00
Brad Lassey
703d9ecc32 bug 712296 - IOException on startup due to ZipFile closing before ZipInputStream read in AboutHomeContent r=mfinkle 2011-12-20 10:58:21 -05:00
Kartikaya Gupta
78d4624638 Bug 711453 - Fix infinite zoom scale. r=pcwalton 2011-12-20 17:15:09 -05:00
Kartikaya Gupta
a09efe8450 Bug 709817 - Don't clobber mState if animations are aborted. r=pcwalton
Ensure that if the animation is aborted by changing the value of
mState (such as if we get an onTouchStart and set the mState to
TOUCHING), then we don't clobber it and set it back to NOTHING.
Only set it back to NOTHING when the animation finishes normally.
2011-12-20 16:53:39 -05:00
Kartikaya Gupta
36b1a1f54b Bug 709817 - Ensure PZC is always accessed on the UI thread. r=pcwalton
Ensure that all public functions in PZC are always called from
the UI thread, so that internal variables are not mutated on
different threads. I also made animatedZoomTo private so that
it can't be inadvertently called from a non-UI thread outside
the class.
2011-12-20 16:53:39 -05:00
Kartikaya Gupta
c5f70b0a51 Bug 709817 - (Cleanup) Replace geometryChanged() with abortAnimation() and remove dead calls. r=pcwalton
Since the geometryChanged function does nothing if the parameter passed
in is false, better to rename the function to be more indicative of
what it actually does, and remove all the resulting dead code.
2011-12-20 16:53:39 -05:00
Margaret Leibovic
46a35a688e Bug 710885 - In some cases tapping to activate Flash does not activate Flash. r=mfinkle 2011-12-20 13:26:01 -08:00
Brad Lassey
332577942f bug 709330 - AboutHomeContent.getRecommendedAddonsStream() resource leak because ZipFile was not closed r=mfinkle 2011-12-16 20:22:34 -05:00
Kartikaya Gupta
e8312c4295 Bug 712037 - Add lots of logging to help diagnose viewport issues. r=Cwiiis 2011-12-19 22:32:41 -05:00
Kartikaya Gupta
7fd8d349cb Bug 712037 - Add a toString() method on the viewport. r=Cwiiis 2011-12-19 22:28:48 -05:00
Kartikaya Gupta
d84f168de3 Bug 709560 - Set blend function when enabling gl blending. r=pcwalton
The missing blend function was causing the default of GL_ONE,
GL_ZERO to take effect, making it look like alpha blending wasn't
working. It would start working once the 9-patch shadow was rendered
since that code sets the correct blend function. Fix this by
ensuring we set the blend function wherever we use blending.
2011-12-19 17:40:01 -05:00
Sriram Ramasubramanian
b301142d81 Bug 712087: Density DPI is doesn't change and needn't be asked everytime from Android [r=mfinkle] 2011-12-19 12:10:35 -08:00
Sriram Ramasubramanian
4a51b452b7 Bug 710463: Better to use no dpi for textures [r=mfinkle] 2011-12-13 16:49:19 -08:00
Sriram Ramasubramanian
fef6457c68 Bug 708700: New url bar size and styling [r=mfinkle] 2011-12-15 11:53:04 -08:00
Gian-Carlo Pascutto
0f769da574 Bug 699199 - Upgrade path from XUL to native fennec. r=blassey 2011-12-19 22:56:11 +01:00
Margaret Leibovic
c793a7040f Bug 710703 - Use "plugins" instead of "flash" in strings. r=mfinkle 2011-12-19 11:43:39 -08:00
Sriram Ramasubramanian
f3032298b2 Bug 704864: New tabs tray with thumbnails [r=mfinkle] 2011-12-14 14:31:39 -08:00
Matt Brubeck
73adaab87c Bug 699052 - Android back button should close the selected tab and return to the parent tab when possible [r=mfinkle] 2011-12-19 10:44:52 -08:00
Kartikaya Gupta
4b76dae543 Bug 711232 - Fix multiple useless zooms during page load. r=pcwalton 2011-12-16 17:01:02 -05:00
Kartikaya Gupta
2bedc5c02c Bug 711232 - Avoid unnecessary bounce animations. r=pcwalton 2011-12-16 17:01:02 -05:00
Kartikaya Gupta
6c2c87e744 Bug 708745 - Do a better job of opening new tabs. r=mfinkle 2011-12-16 17:01:03 -05:00
Wes Johnston
4dd5300b6c Bug 708273 - Add save image support. r=mfinkle 2011-12-19 08:44:48 -08:00
Kartikaya Gupta
0b7c833306 Bug 711453 - Avoid potentially corrupting the fling velocity. r=pcwalton 2011-12-19 09:26:41 -05:00
Kartikaya Gupta
1925b6adfa Bug 695170 - Fix incorrect comment caught by gcp. r=gcp 2011-12-19 09:26:20 -05:00
Mark Finkle
a60f7d9bf4 Bug 711855 - Unable to access the Add-Ons Manager - URL is not valid and cannot be loaded [r=mbrubeck] 2011-12-19 01:28:44 -05:00
Sriram Ramasubramanian
c81670a5d7 Bug 711627: ContentProvider Authority string needs to be preprocessed [r=mfinkle]
--HG--
rename : mobile/android/base/db/BrowserContract.java => mobile/android/base/db/BrowserContract.java.in
2011-12-16 14:50:34 -08:00
Matt Brubeck
dde6ccdccc Merge mozilla-central to mozilla-inbound 2011-12-18 08:22:53 -08:00
Doug Turner
a3413ccb33 Backed out changeset 7957f2f39615 2011-12-17 22:39:08 -08:00
Doug Turner
0c63747781 bug 711184 - make sure we don't do any work creating about:home if we're not showing about:home r=dougt 2011-12-17 22:00:40 -08:00
Doug Turner
143c82d10a Backout of 9d027bf631d3 2011-12-17 21:52:54 -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
Doug Turner
6e114593ea Backout of ba92c42f126f 2011-12-17 21:34:03 -08:00
Doug Turner
3405de188d Backout of 8a5cc33141a3 2011-12-17 21:33:44 -08:00
Doug Turner
5c14206d26 Backout of f39dab2d2adb 2011-12-17 21:32:48 -08:00
Doug Turner
50ebb61b52 Backout of 74277c18e7ce 2011-12-17 21:32:24 -08:00
Doug Turner
10e94b75a7 Backout of 434e5060c706 2011-12-17 21:31:37 -08:00
Gian-Carlo Pascutto
bbb5b58cfe Bug 711034 - Native Fennec is still creating places.sqlite. r=dougt 2011-12-17 10:08:58 +01:00
Brad Lassey
55d94f419f bug 711184 - make sure we don't do any work creating about:home if we're not showing about:home r=dougt 2011-12-16 16:17:57 -05:00
Brad Lassey
d2e08903d2 bug 709832 - crash [@ mozalloc_abort] typing with vkb in url on the EEEpad Transformer r=mfinkle 2011-12-15 16:17:04 -05:00
Alex Pakhotin
ddc68e6c76 Bug 708626 - Pressing physical volume button dismisses keyboard, doesn't adjust ringer volume. r=blassey 2011-12-16 13:19:48 -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
Kartikaya Gupta
72dad14f60 Bug 711232 - Avoid unnecessary bounce animations. r=pcwalton 2011-12-16 17:01:02 -05:00
James Willcox
215d32a09a Bug 670930 - Use asynchronous direct texturing on Android when available 2011-12-16 16:40:58 -05:00
James Willcox
fcd57d7e41 back out 8a5cc33141a3 due to android-xul build failure 2011-12-16 14:45:58 -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
Joel Maher
cefc6850ad Bug 701076 - [tests] Robotium integration into mozilla-central. r=mfinkle,dburns 2011-12-16 14:27:52 -05:00
James Willcox
3525bb5a77 Bug 670930 - Use asynchronous direct texturing on Android when available
--HG--
extra : rebase_source : 116b2882092d11b17046bdec5ca4d142d088d6cf
2011-12-16 10:54:10 -05:00
James Willcox
4143f62539 Bug 670930 - Add Android direct texture implementation
--HG--
extra : rebase_source : eb3f095e2663c0ebc0a03117ec8883d66dd8f1b5
2011-12-16 10:54:08 -05:00
Masayuki Nakano
d82ad83346 Bug 700199 EventUtils.js should use synthesized events for sendKey(), sendChar() and sendString() rather than untrusted events r=smaug+ehsan+dolske+enndeakin 2011-12-16 22:38:45 +09:00
Margaret Leibovic
497010a089 Bug 706876 - Create "Clear Site Settings" menuitem. r=mfinkle 2011-12-17 13:50:09 -08:00
Matt Brubeck
7e9e591514 Bug 376997 - Include TopLevelImageDocument.css in mobile manifest [r=mfinkle] 2011-12-17 10:20:14 -08:00
Alex Pakhotin
f315a7aca6 Bug 595008 - Make Android IME more efficient by reducing communication between Java and Gecko. r=blassey 2011-12-15 13:35:45 -08:00
Chris Lord
c855fa8dbb Bug 708307 - Decouple texture size from tile size. r=pcwalton
This removes the hard-coded limit of 1024x2048 tile sizes, and allows for
arbitrary tile-sizes. It will still only allocate texture sizes in powers of
two, however. It replaces the tile size with a buffered-area size, which can be
re-allocated as the screen dimensions change.
2011-12-15 23:45:52 +00:00
Brad Lassey
080514f880 bug 710575 - INSTALL_FAILED_CONFLICTING_PROVIDER when installing a custom build r=rnewman
--HG--
rename : mobile/android/base/db/BrowserProvider.java => mobile/android/base/db/BrowserProvider.java.in
2011-12-15 16:18:29 -05:00
Patrick Walton
35e3d0eb37 Bug 710119 - Use a low friction for long flings and a high friction for short ones. r=Cwiiis 2011-12-15 12:04:49 -08:00
Kartikaya Gupta
e99b90b671 Bug 708893 - Allow panning after releasing pinch zoom finger. r=pcwalton 2011-12-15 14:50:04 -05: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
Brad Lassey
0954f33167 bug 710905 - about:home flashes before page loads, whitespace fix r=mfinkle 2011-12-15 13:02:37 -05:00
Brad Lassey
180652de47 bug 710905 - about:home flashes before page loads r=mfinkle 2011-12-14 18:10:34 -05:00
Ed Morley
e6470963f0 Merge mozilla-central to mozilla-inbound 2011-12-15 17:27:51 +00:00
Kartikaya Gupta
2f06d43f2f Bug 710864 - (Cleanup) Fix up incorrect logtags. r=blassey 2011-12-15 10:46:36 -05:00
Kartikaya Gupta
3d2ad72fd6 Bug 710864 - Close stream after we're done with it. r=blassey 2011-12-15 10:46:36 -05:00
Kartikaya Gupta
1c0a97ad18 Bug 702624 - Fix regex for replaceAll so it doesn't die. r=blassey 2011-12-15 10:46:36 -05:00
Brad Lassey
af71180b5b bug 710843 - switch keyboard action button from go to search when action would be a search in the awesome bar r=minkle 2011-12-15 02:34:54 -05:00
Jason Voll
b4e2ebcece Bug 710418 - Browser content provider can't handle null projections in query. r=blassey, a=rnewman 2011-12-14 21:37:11 -08:00
Matt Brubeck
3a656ac9f9 Bug 708772 - (bustage fix) Add IsTablet method to AndroidBridge (merge to /mobile/android) [r=dougt a=ehsan] 2011-12-14 13:53:38 -08:00
Mark Finkle
0d216bb7a7 Bug 710783 - about:firefox won't load [r=mbrubeck a=android-only] 2011-12-14 17:26:00 -05:00
Kartikaya Gupta
12e78e9171 Bug 710393 - Stop using Math.copySign which doesn't exist on Froyo. r=Cwiiis a=ehsan 2011-12-14 16:57:29 -05: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
Mark Finkle
e14f8d3be1 Bug 710697 - LinkPreference causes a null preference to be sent to Gecko [r=mbrubeck a=android-only] 2011-12-14 16:36:27 -05:00
Ehsan Akhgari
ee65f0052e Backout changeset 3e972d3efc11 (bug 708307) because it breaks Android tests; a=me 2011-12-14 15:55:17 -05:00
Sriram Ramasubramanian
90c2cc8371 Bug 695444 - Form history autocomplete. r=mfinkle a=android-only 2011-12-06 16:44:08 -08:00
Chris Lord
39ec78e96c Bug 708307 - Decouple texture size from tile size. r=pcwalton a=android-only
This removes the hard-coded limit of 1024x2048 tile sizes, and allows for
arbitrary tile-sizes. It will still only allocate texture sizes in powers of
two, however. It replaces the tile size with a buffered-area size, which can be
re-allocated as the screen dimensions change.
2011-12-14 19:41:37 +00:00
Brad Lassey
542b17ee12 bug 710751 - Updater is broken, backout aebdec71790e r=mfinle a=java-only 2011-12-14 12:35:58 -05:00
Brad Lassey
a8d129ff84 bug 710751 - Updater is broken, backout b0165c0d85e1 r=mfinle a=java-only 2011-12-14 12:35:37 -05: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
Matt Brubeck
865af700d9 Bug 710302 - going to about: pages does a 'feeling lucky' search [r=mfinkle a=java-only] 2011-12-13 19:17:58 -05: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
Patrick Walton
302ed2cf16 Bug 710096 - Hold the monitor on the layer controller when adjusting and rendering the viewport metrics. r=Cwiiis a=java-only 2011-12-13 14:43:08 -08:00
Brad Lassey
5b90c3df97 bug 707929 - java.lang.NullPointerException @ ZipFile.getInputStream(ZipFile.java:256) r=mfinke a=java-only 2011-12-13 17:54:28 -05:00
Brad Lassey
2f3f240182 bug 708961 - We still use ByteBuffer.allocateDirect for large buffers r=pcwalton a=java-only 2011-12-13 17:53:51 -05:00
Brad Lassey
7974e607d8 bug 710328 - null pointer when attaching android idle handler r=mfinkle a=java-only 2011-12-13 17:53:06 -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
Kartikaya Gupta
754e9e25fa Bug 707675 - Change OOM log level from error to warning. r=blassey a=java-only 2011-12-13 16:42:51 -05:00
Lucas Rocha
3ff1637de7 Bug 706667 - Change AboutHomeContent layout as per design (r=blassey, a=mfinkle)
--HG--
rename : mobile/android/base/resources/layout/abouthome_addon_list_item.xml => mobile/android/base/resources/layout/abouthome_addon_row.xml
rename : mobile/android/base/resources/layout/abouthome_grid_box.xml => mobile/android/base/resources/layout/abouthome_topsite_item.xml
2011-12-13 20:15:17 +00:00
Lucas Rocha
a147946f7b Bug 706667 - Organize/cleanup imports on AboutHomeContent (r=blassey, a=mfinkle) 2011-12-13 20:15:17 +00:00
Lucas Rocha
885061c5fd Bug 706667 - Remove unused properties from AboutHomeContent (r=blassey, a=mfinkle) 2011-12-13 20:15:17 +00:00
Lucas Rocha
b95251c350 Bug 706667 - Change indentation of about:home layout files for consistency (r=blassey, a=mfinkle) 2011-12-13 20:15:17 +00:00
Lucas Rocha
96f9f2cf3d Bug 708485 - Add Fennec bookmarks to special "mobile" folder (r=blassey, a=mfinkle) 2011-12-13 19:47:40 +00:00
Lucas Rocha
b3ebd4a538 Bug 708485 - Create "mobile" special bookmarks folder on DB creation (r=blassey, a=mfinkle) 2011-12-13 19:47:40 +00:00
Lucas Rocha
f0b399ed34 Bug 709962 - Eliminate required table references in BrowserProvider's query interface (r=blassey, a=mfinkle) 2011-12-13 19:47:40 +00: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
dc12898494 Bug 704415 - Style the Add-on Manager (phase 1) [r=mbrubeck a=javascript] 2011-12-13 13:42:51 -05:00
Sriram Ramasubramanian
561eabd80c Bug 709255: Avoid multiple instances of TabsTray. [r=mfinkle a=android-only] 2011-12-12 14:25:29 -08: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
Brad Lassey
83ff99096f bug 710194 - Nightly has violated its self-enforced StrictMode policy after a clean install r=mfinkle a=java-only 2011-12-13 11:12:01 -05:00
Lucas Rocha
1aedff0808 Bug 708151 - Fix switch indentation in BrowserProvider (r=blassey, a=mfinkle) 2011-12-13 14:46:58 +00:00
Lucas Rocha
236a1dacec Bug 708151 - Change GUID generation to be more compliant with Sync (r=rnewman, a=mfinkle) 2011-12-13 14:46:58 +00:00
Lucas Rocha
ee4790cb36 Bug 708151 - Add indexes where needed in local bookmarks/history DB (r=blassey, a=mfinkle) 2011-12-13 14:46:58 +00:00
Lucas Rocha
8ed3b08390 Bug 708151 - Handle deleted records in a sync-friendly way (r=blassey, a=mfinkle) 2011-12-13 14:46:58 +00:00
Lucas Rocha
37067a8c68 Bug 708151 - Add _id column to images and implement missing operations (r=blassey, a=mfinkle)
We need all operations (query, delete, insert, and update) for images in order
to implement favicon sync properly.
2011-12-13 14:46:58 +00:00
Lucas Rocha
aedb47c5d3 Bug 708331 - Add keyword, description, and tags columns to Bookmarks (r=mfinkle, a=mfinkle) 2011-12-13 14:46:58 +00:00
Lucas Rocha
c74f44c78c Bug 707636 - Use "signature" permissions on BrowserProvider (r=blassey, a=mfinkle)
To allow apps with same signature than Fennec to access Fennec's local DB via
content provider.
2011-12-13 14:12:03 +00:00
Lucas Rocha
32ea7cbd71 Bug 707124 - Add query to BrowserProvider to fetch DB schema version (r=blassey, a=mfinkle) 2011-12-13 14:12:01 +00:00
Lucas Rocha
40c0a3b972 Bug 707732 - Handle case of updating favicon on non-existing URL (r=blassey, a=mfinkle) 2011-12-13 13:59:37 +00:00
Lucas Rocha
3a8ebee812 Bug 707732 - More robust implementation of add bookmark (r=blassey, a=mfinkle) 2011-12-13 13:59:27 +00:00
Lucas Rocha
482081e5c7 Bug 707732 - More robust implementation of thumbnail update (r=blassey, a=mfinkle)
Also fixes thumbnail update on Honeycomb/ICS.
2011-12-13 13:59:15 +00:00
Lucas Rocha
032142fb4c Bug 701913 - Fix query to check bookmark URL in Honeycomb/ICS (r=blassey, a=mfinkle) 2011-12-13 13:44:54 +00:00
Lucas Rocha
974aaa4bfd Bug 698828 - Fix add bookmark operation in Honeycomb/ICS (r=blassey, a=mfinkle) 2011-12-13 13:44:54 +00:00
Lucas Rocha
ace363cdd7 Bug 701835 - Fix bookmark removal in Honeycomb/ICS (r=blassey, a=mfinkle) 2011-12-13 13:44:54 +00:00
Doug Turner
b35608a242 Bug 708200 - Do not create timer to fire geckoLoaded. r=blassey a=android-only
--HG--
extra : rebase_source : bab7b26936fa41d2f9ab4664e01d050a20038414
2011-12-12 16:27:34 +08:00
Doug Turner
c953cb8966 Bug 708280 - delay checking checking for update until idle to avoid startup path. r=mfinkle
--HG--
extra : rebase_source : 0f8595409e980da3421fd86133bf83238d7ceb55
2011-12-12 16:27:34 +08:00
Doug Turner
f2f02f7573 Bug 709595 - Add a name for each java thread and timer to aide with debugging. r=blassey
--HG--
extra : rebase_source : 1f5472ef5301739425b162d5ce4b28a577daf0fb
2011-12-12 16:27:35 +08:00
Chris Peterson
06f666321d Bug 708114 part 2 - Add resource flag to enable Android StrictMode for nightly and local builds. r=dougt a=android-only 2011-12-12 17:15:38 -08:00
Chris Peterson
cc4bf2588c Bug 708114 part 1 - Comment out Android StrictMode for all build configurations. r=dougt a=android-only 2011-12-12 17:15:23 -08:00
Brad Lassey
e23645ccfa bug 704520 - Flash content does not have a placeholder if on Android 3.x r=snorp a=java-only 2011-12-12 16:47:37 -05:00
Steffen Wilberg
f2bc9372df Bug 709514: Hide about:blocked, about:certerror, about:empty, about:fennec, and about:firefox from Fennec Native's about:about. r=mfinkle, a=js-only 2011-12-12 21:56:23 +01:00
Mark Finkle
f960360d53 Bug 709103 - Optimize creating and saving thumbnail bitmaps (OOM fix) r=kats a=java-only 2011-12-12 15:04:59 -05:00
Chris Lord
961a907049 Bug 705092 - Kinetic scrolling is too slow. r=pcwalton a=java-only
This introduces a friction factor, so that the deceleration is relative to
the current velocity. Now, the faster you scroll, the slower the view
decelerates, allowing you to page through longer pages easier.
2011-12-12 18:56:15 +00: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
Kartikaya Gupta
e24b9c4f9e Bug 704738 - Resize page content on device rotation. r=Cwiiis a=java-only
Some cleanup: ensure we abort and re-bounce the viewport
if the device is rotated during a double-tap zoom. Also
rename variables to be more appropriate
2011-12-12 11:22:34 -05:00
Mark Finkle
67a3f3ff8b Bug 709103 - Optimize creating and saving thumbnail bitmaps r=blassey a=java-only 2011-12-12 13:50:35 -05:00
Brad Lassey
fbe618425e bug 706574 - show native about:home in onCreate() r=dougt a=blassey, java only 2011-12-12 12:57:04 -05:00
Kartikaya Gupta
f9c4cd982c Bug 708683 - Improve JSON generation by using JSONStringer. r=pcwalton a=java-only 2011-12-09 22:58:10 -05:00
Kartikaya Gupta
d072b75773 Bug 708683 - Fix NaN viewport values. r=pcwalton
The zero page width and height values were
causing the zoom scale to go to Infinity, introducing
all sorts of badness in the viewport values.
2011-12-09 22:57:57 -05:00
Mark Finkle
78ed00239a Backout 03ed6af51318, c65be44ac489, 0ce8da61c6cc, bcc015450e7a because of mochitest failures r=mfinkle a=mfinkle 2011-12-12 09:02:01 -05:00
Doug Turner
395315a60f Bug 709658 - Do not startup GL until we are ready to paint something. r=blassey a=cjones
--HG--
extra : rebase_source : dc1453f8e5cba91d2dd6b430b63a2ca2e4624db0
2011-12-12 17:09:40 +08:00
Doug Turner
bd7b08414e Bug 709595 - Add a name for each java thread and timer to aide with debugging. r=blassey
--HG--
extra : rebase_source : 552494a1086e706109296ca4c503c1d75796d852
2011-12-12 16:27:35 +08:00
Doug Turner
5d2d3a562f Bug 708280 - delay checking checking for update until idle to avoid startup path. r=mfinkle
--HG--
extra : rebase_source : 1d3a07f4416918bd5ab71b7eaff54c63e9ffd1e4
2011-12-12 16:27:34 +08:00
Doug Turner
58b4774f86 Bug 708200 - Do not create timer to fire geckoLoaded. r=blassey
--HG--
extra : rebase_source : a1a40df2375d9258c4179a8cb520dc65fb023d16
2011-12-12 16:27:34 +08:00
Richard Newman
5dab4a5fb1 Bug 709432 - don't unconditionally replace inserted record GUIDs. r=blassey, a=blassey (Java-only) 2011-12-11 22:24:40 -08:00
Mark Finkle
75c8d2510e Bug 709048 - Over usage of haptic buzz [r=mbrubeck a=khuey] 2011-12-11 20:56:19 -05:00
Chris Peterson
9a2aace931 Bug 706984 - Check whether profile directory exists to avoid NullPointerException. r=dougt a=khuey 2011-12-09 16:22:46 -08:00
Brad Lassey
19b8222b67 bug 709267 - relative STRINGSPATH in mobile/android/base/locales is broken r=khuey 2011-12-09 16:21:33 -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
Kartikaya Gupta
e2c4df2f39 Bug 704784 - Fade scrollbars when content stops moving [r=pcwalton] 2011-12-09 16:05:24 -05:00
Kartikaya Gupta
9297a9e422 Bug 704784 - Tweak scrollbars to look nicer [r=pcwalton]
Scrollbars now have rounded endcaps, are a little smaller, and there
is a 1-pixel gap between the bar and the edge of the viewport. Just
generally making them look nicer.
2011-12-09 15:58:36 -05:00
Patrick Walton
9622e412bc Bug 708947 - Repair overscroll resistance, and add overscroll resistance when zooming. r=kats 2011-12-09 12:06:15 -08:00
Patrick Walton
7532e6f648 Bug 708928 - Don't render when a finger is down. r=Cwiiis 2011-12-09 12:06:10 -08:00
Patrick Walton
2b937fcd38 Bug 708921 - Bounce back during overscroll when the magnitude of the velocity vector exceeds the stopped threshold. r=kats 2011-12-09 12:06:06 -08:00
Wes Johnston
ddc29785e4 Bug 705145 - Multiple selection lists cannot be scrolled r=mfinkle 2011-12-09 12:03:21 -05:00
Wes Johnston
7e051c8490 Bug 706146 - Limit how far we can zoom into a page r=chrislord 2011-12-09 12:03:19 -05:00
Patrick Walton
937457a3f7 Bug 708519 - Pref off the frame rate meter r=kats 2011-12-09 10:01:31 -05:00
Patrick Walton
e9489c2baa Bug 708519 - Move the frame rate meter to bottom-right r=kats 2011-12-09 10:01:28 -05:00
Patrick Walton
a672f015ea Bug 708519 - Repair the frame rate meter r=kats 2011-12-09 10:01:26 -05:00
Mounir Lamouri
23131a1d8b Bug 706449 - Fix SMS receiver registration/unregistration that was broken with a m-c merge in birch. r=blassey 2011-12-09 19:31:01 +08:00
Patrick Walton
521479bff6 Bug 705358 - Don't allow fully-zoomed-out axes to be overscrolled. r=kats 2011-12-08 21:31:04 -08: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
Lucas Rocha
de5dc8b879 Bug 708879 - Handle OOM error when loading thumbnail in about:home (r=mbrubeck) 2011-12-09 00:29:09 +00:00
Brian Nicholson
1bfca13d32 Bug 708808 - Cleanup for locale preference [r=mfinkle] 2011-12-08 14:14:44 -08:00
Sriram Ramasubramanian
8fc911c202 Bug 708394: Remove unwanted LayoutInflater [r=mfinkle] 2011-12-07 15:12:51 -08:00
Sriram Ramasubramanian
190b92c004 Bug 707682: NPE while switching/closing tabs [r=mfinkle] 2011-12-06 14:51:08 -08:00
Brian Nicholson
ee59b1d79f Bug 708185 - Remove homepage preference [r=dougt] 2011-12-08 13:42:00 -08:00
Sriram Ramasubramanian
9d9c1a5569 Bug 705481: Action bar background should extend below the menu button [r=mfinkle] 2011-12-08 12:18:45 -08:00
Mark Finkle
d1feebd3b8 Bug 708379 - Haptic buzz when tapping on clickable elements [r=blassey] 2011-12-08 15:42:55 -05:00
Matt Brubeck
68f0a4ccc2 Bug 708076 - Clean up redundant components in AboutRedirector.js [r=mfinkle]
--HG--
extra : rebase_source : 38525ed687358cd99de2c4593fa13e0b806b2b44
2011-12-08 09:37:57 -08:00
Matt Brubeck
1b2bcb3748 Bug 698593 - (3/3) Override "about:" to redirect to the mobile about page [r=mfinkle]
--HG--
extra : rebase_source : b143ad5379a82b9b591063df41f8b2d1caebef70
2011-12-08 09:37:57 -08:00
Matt Brubeck
cfbe7d400c Bug 698593 - (2/3) Add the "About Firefox" preference [r=sriram]
--HG--
extra : rebase_source : 62fbe6413ba5626d521d2ada7ac2d4ab03ff9c5c
2011-12-08 09:37:57 -08:00
Matt Brubeck
2a66931a7a Bug 698593 - (1/3) Reorganize and clean up the Android preferences screen [r=sriram]
--HG--
extra : rebase_source : 218f65b9f6c763d63fa1628cae7ebda291dcbe19
2011-12-08 09:37:57 -08:00
Lucas Rocha
32fffa10a2 Bug 704490 - Introduce new local bookmarks/history database (r=blassey)
Local DB is disabled by default for now.
2011-12-08 16:37:21 +00:00
Lucas Rocha
c5966fd714 Bug 704490 - Add API to get directory for any given profile (r=mfinkle)
And make it public to be accessible from other packages.
2011-12-08 15:52:45 +00:00
Lucas Rocha
7fab9e5490 Bug 704490 - Abstract all bookmark/history access behing a common API (r=blassey) 2011-12-02 17:27:56 +00:00
Mark Finkle
8e1250975d Bug 708525 - about: pages do not load favicons [r=lucasr] 2011-12-08 08:56:45 -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
Brian Nicholson
4c4c2cf36b Bug 701376 - AwesomeBarTabs cleanup [r=mfinkle] 2011-12-07 17:52:05 -08:00
Kartikaya Gupta
7eb5dc6e9d Bug 707675 - Catch and handle a possible OOM while getting a screenshot r=blassey 2011-12-07 17:10:21 -08:00
Patrick Walton
4c255120be Bug 701594 - Part 8: Make double-tap-to-zoom use the bounce infrastructure. r=kats 2011-12-07 13:34:52 -08:00
Patrick Walton
09f5bd00c7 Bug 701594 - Part 7: Remove the per-axis bounce functionality. r=kats 2011-12-07 13:34:15 -08:00
Patrick Walton
7916c55aad Bug 701594 - Part 6: Separate out fling and bounce animations and make them use the "valid viewport metrics" infrastructure. r=kats 2011-12-07 13:33:55 -08:00
Patrick Walton
d8991ee5b2 Bug 701594 - Part 5: Factor out the fling timer setting functions into separate functions. r=kats 2011-12-07 13:07:24 -08:00
Patrick Walton
162b9a45d4 Bug 701594 - Part 4: Make LayerController.setViewportMetrics() not automatically assume it was called by the layer client. r=kats 2011-12-07 10:48:12 -08:00
Patrick Walton
28eb691095 Bug 701594 - Part 3: Add viewport interpolation functions. r=kats 2011-12-07 10:44:36 -08:00
Patrick Walton
b7fdca35f8 Bug 701594 - Part 2: Don't duplicate state in the layer controller and pan zoom controller axes. r=kats 2011-12-07 10:44:02 -08:00
Patrick Walton
da46e3af2b Bug 701594 - Part 1: Precompute the ease-out animation. r=kats 2011-12-07 10:41:58 -08:00
Matt Brubeck
42bd2511c9 Bug 708085 - Remove unused files from mobile/android/themes [r=mfinkle] 2011-12-07 10:04:15 -08:00
Sriram Ramasubramanian
c26d295a6d Bug 705451: Anchor needs to be updated in url bar [r=mfinkle] 2011-12-06 15:15:37 -08:00
Kartikaya Gupta
2bfae064c3 Bug 706251 - Add panning performance API r=blassey
Add a PanningPerfAPI class with static methods to record panning
performance.
2011-12-01 14:11:10 -05: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
Kartikaya Gupta
f61c203c26 Backout 884b705c99fb (bug 704738) for twinopen failure 2011-12-06 13:45:32 -05:00
Axel Hecht
7879ad4e90 bug 702302, bug 705137, enable l10n repacks for native UI, r=blassey,wesj
Fixing the l10n.ini and filter.py for both native and xul UI.
Fixing the repack logic for native to support both single-locale repacks
and multi-locale builds.
Removing some deb packaging code, that's not of any use for android native.
2011-12-06 16:54:12 +01:00
Kartikaya Gupta
2d1286f531 Bug 704738 - Resize page content on device rotation [r=wesj]
If the device rotates, ensure we don't end up with grey
areas because the page didn't zoom in enough.
2011-12-06 10:39:09 -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
Sriram Ramasubramanian
ce8091e63c Bug 707326: Reordering GeckoApp's AbsoluteLayout [r=pcwalton, r-mfinkle] 2011-12-02 15:41:14 -08:00
Steffen Wilberg
7d5d821e0a 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
Kartikaya Gupta
a0f39bd80b Bug 704738 - Snap to edges on device rotation [r=Cwiiis] 2011-12-05 13:23:32 -05: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
e5c4a68d11 Bug 706614 - Catch OOM generating thumbnails [r=mbrubeck]
Prevent an out-of-memory error while generating a thumbnail
from taking down the entire application.
2011-12-03 22:54:05 -05:00
Sriram Ramasubramanian
7090a647d2 Bug 705041: Verify error in pre-honeycomb versions for ActionBar [r=mfinkle] 2011-11-30 13:30:02 -08:00
Sriram Ramasubramanian
f38348bad4 Bug 703656: Optimize tab adapter in TabsTray [r=mfinkle] 2011-11-22 12:32:45 -08:00
Kartikaya Gupta
e569e9ae37 Bug 707285 - Disallow browser.js from overriding viewport size [r=pcwalton]
Don't allow Gecko to set the viewport size because Java knows
this better. Allowing this behaviour could result in Bad Things(TM)
under certain race conditions such as described in bug 707285.
2011-12-03 10:56:39 -05:00
Alex Pakhotin
b6bb536da1 Bug 705457 - Tab key should move focus to the next field in a form. r=blassey 2011-11-30 11:25:17 -08:00
Lucas Rocha
ac952b7dce Backout 839f36123bce (bug 704490) for Try failure 2011-12-02 18:38:46 +00: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
Lucas Rocha
244be6ba02 Bug 704490 - Abstract all bookmark/history access behing a common API (r=blassey) 2011-12-02 17:27:56 +00:00
Lucas Rocha
c80552a60c Bug 705212 - Update go/search icon on AwesomeBar for ICS/Honeycomb (r=mfinkle) 2011-12-02 16:49:28 +00:00
Lucas Rocha
6e433b8eae Bug 706550 - Rename "All Sites" tab to "Top Sites" in AwesomeBar (r=mfinkle) 2011-12-02 16:47:42 +00:00
Lucas Rocha
638af7cc59 Bug 706848 - Remove unused imports from AwesomeBar and AwesomeBarTabs (r=mfinkle) 2011-12-02 16:44:28 +00:00
Lucas Rocha
f38ad27307 Bug 706848 - Remove unnecessary @Override instances from AwesomeBarTabs (r=mfinkle) 2011-12-02 16:44:26 +00: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
0bc6209e4f Bug 706644 - Going back from about:home still displays about:home [r=blassey] 2011-12-02 11:12:43 -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
Brad Lassey
8221758c4c merge birch to mozilla-central
--HG--
rename : embedding/android/GeckoBatteryManager.java => mobile/android/base/GeckoBatteryManager.java
2011-12-06 13:55:36 -05:00
Brian Nicholson
346941c511 Bug 705725 - Move preferences getting out of the startup path [r=dougt] 2011-12-01 17:27:11 -08:00
Brad Lassey
426bffa317 bug 706901 - follow up to fix bad merge r=me 2011-12-01 19:02:05 -05:00
Brad Lassey
9f348556e3 bug 706901 - Get generating screenshot off the main thread if possible r=dougt 2011-12-01 17:54:19 -05:00
Brad Lassey
0a70cd66c3 bug 706822 - Delay when opening the AwesomeScreen and intermittent UI pauses when scrolling through listing of items r=dougt 2011-12-01 17:53:02 -05:00
Brad Lassey
99c90b9673 bug 701791 - startup: android.view.MotionEvent.getActionMasked on Sony Ericsson Xperia x10i (NPE's) r=dougt 2011-12-01 17:47:40 -05:00
Patrick Walton
8045436cc6 Bug 705170 - Use OES_draw_texture to render textures to the screen. r=Cwiiis 2011-12-01 14:05:41 -08:00
Mark Finkle
5555e637a4 Bug 706830 - pressing 'back' doesn't return user to about:home [r=mbrubeck] 2011-12-01 15:12:45 -05:00
Chris Lord
ea752b5e15 Bug 706615 - Panning motion slows, then jerks. r=kats
The velocity filter patch from bug #705114 changed how displace worked during
panning, but this accidentally changed how it worked in some non-panning
situations (such as at the end of a fling or snap animation).
2011-12-01 19:27:50 +00:00
Kartikaya Gupta
b459cf4b6d Bug 704690 - Abort flings on gecko viewport update [r=Cwiiis]
If the Java code is in the middle of a fling when Gecko sends
a viewport update, abort the fling, cancel the velocity, and
re-fling. The re-fling is purely to get the page snapped to an
edge if needed.
2011-12-01 09:37:37 -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
7b200488fa bug 706383 - Save screenshot in bundle, adjust indentation r=dougt 2011-11-30 21:31: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
Brad Lassey
585b32c245 bug 705993 - read recommended-addons.json from the profile dir r=mfinkle 2011-11-30 21:28:05 -05:00
Brad Lassey
18c1885eb0 bug 706393 - Add API to GeckoApp to get profile dir r=mfinkle 2011-11-30 21:28:05 -05:00
Brad Lassey
086b9913f2 bug 706383 - Save screenshot in bundle, clean up old unused code r=dougt 2011-11-30 21:28:05 -05:00
Brad Lassey
46014e0aa6 bug 706383 - Save screenshot in bundle r=dougt 2011-11-30 21:28:05 -05:00
Brad Lassey
e6e954cf8c bug 704022 - PlaceholderLayerClient OOM at ByteBuffer.allocateDirect r=dougt 2011-11-30 21:28:04 -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
Wes Johnston
6a93e3c189 Bug 705505 - Extend panzoom threshold. r=kats 2011-11-30 16:10:22 -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
Steffen Wilberg
beb7d839e5 Bug 706272: Vertically align (center) the Clear button in about.config. r=mfinkle 2011-11-30 19:34:18 +01:00
Chris Lord
2ae26ef2b7 Bug 705171 - Render when necessary, instead of continuously. r=kats,pcwalton
Set the render mode to RENDERMODE_WHEN_DIRTY and request a redraw when a layer
transaction ends and when the viewport in LayerController changes. This stops
us from drawing continuously.
2011-11-30 17:27:13 +00:00
Chris Lord
d7d5b2beab Bug 705114 - Filter velocity changes for kinetic panning. r=kats
Certain devices, such as the HTC Flyer, deliver motion events with identical
coordinates before a touch-release event. This causes kinetic panning to fail,
as the calculated velocity is only based on the last two events.

Introduce a velocity change factor, so that the velocity can only change by a
certain amount per event. This has the effect of smoothing velocity changes
and fixes the bug on the HTC Flyer, at least.
2011-11-30 11:32:49 +00:00
Doug Turner
7a790c98ea no bug - more exceptions on ics. This block also throws a android.database.sqlite.SQLiteException. I am just going to catch everything for now. r=me 2011-11-30 00:13:36 -08:00
Brad Lassey
68a7ae3c58 no bug - fix crashing when we unregister an sms handler that isn't registered r=dougt 2011-11-30 01:57:04 -05:00
Doug Turner
221f7dc9f6 no bug - Add try-catch blocks to the stuff that is throwing caused by 9aa68bb7be35 and 9a578e5405f5. r=me 2011-11-29 22:02:55 -08:00
Brad Lassey
97b63e166a bug 704307 - strictmode Disk read Violation when loading awesomebar r=dougt 2011-11-29 22:54:07 -05:00
Brad Lassey
7fb2044ef6 bug 705402 - Save thumbnails in the history DB r=dougt 2011-11-29 22:54:07 -05:00
Brad Lassey
0c921c8bd6 bug 706325 - add thumbnails to tab objects r=dougt 2011-11-29 22:54:07 -05:00
Doug Turner
3efc2cfcbd Merge with mozilla-central 95bca70369ef
--HG--
rename : embedding/android/AndroidManifest.xml.in => mobile/android/base/AndroidManifest.xml.in
rename : embedding/android/GeckoApp.java => mobile/android/base/GeckoApp.java
rename : embedding/android/GeckoAppShell.java => mobile/android/base/GeckoAppShell.java
rename : embedding/android/GeckoEvent.java => mobile/android/base/GeckoEvent.java
rename : embedding/android/GeckoSmsManager.java => mobile/android/base/GeckoSmsManager.java
rename : embedding/android/Makefile.in => mobile/android/base/Makefile.in
2011-11-29 20:58:39 -08:00
Doug Turner
8c72b2e7d2 bug 705726 - No need to schedule redraw when conntecting gecko. r=pwalton 2011-11-29 16:29:16 -08:00
Doug Turner
452482d6cb Backing out 09ad1564cd78. Wrong patch. 2011-11-29 16:27:23 -08:00
Brad Lassey
f53c92f50f bug 701380 - follow up to fix buring r=me 2011-11-29 18:54:27 -05:00
Brad Lassey
2d71f62306 bug 701380 - Implement a native about:home (start page) r=mfinkle
--HG--
extra : rebase_source : 3b61498dc4a17fbec21531bd831994f81fb85532
2011-11-29 01:38:35 -05:00
Doug Turner
58040aed0c 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
e1d21b8822 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
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
Steffen Wilberg
4f941cd930 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
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
Kartikaya Gupta
a82a546f57 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
0d69c9733d 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
710acf764f Backout beea574981d2, e3266cb5a2a7 - tree is burning (no bug) 2011-11-29 08:42:22 -05:00
Brad Lassey
2e347ceb4e follow up to bug 701380 to fix build bustage r=me 2011-11-29 08:13:03 -05:00
Brad Lassey
3819538c94 bug 701380 - Implement a native about:home (start page) r=mfinkle 2011-11-29 01:38:35 -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
Steffen Wilberg
965d5487e6 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
cbb49e6d66 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
7fcbca9d91 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
51aa142c96 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
2111bcaa30 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
Steffen Wilberg
a809d8e5ac Bug 703923 follow-up: remove trailing whitespace from config.xhtml. rubber-stamp-r=mfinkle 2011-11-24 19:40:25 +01:00
Steffen Wilberg
7be5ab1cd6 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
ab3c69ab8f Bug 701374 - Show go or search icon in awesomescreen entry (r=mfinkle) 2011-11-24 16:54:39 +00:00
Chris Lord
fc33ada9d6 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
a392116882 Bug 704156 - Unable to overwrite selection in awesome bar using HKB. r=blassey 2011-11-23 23:11:06 -08:00
Brad Lassey
86b6bcc9a5 bug 704217 - Quit doesn't work before Gecko is up r=dougt 2011-11-24 02:04:26 -05:00
Doug Turner
4202a9562a no bug - revert content sink perfs back. r=mfinkle 2011-11-23 20:53:50 -08:00
Doug Turner
dfdfd8ebfb Bug 705020 - drop enable-js-diagnostics flag from nightly mozconfig. r=mbrubeck 2011-11-23 17:08:42 -08:00
Doug Turner
dc36e628ff Bug 704898 - Reenable elfhack. r=mbrubeck
--HG--
extra : rebase_source : 7f92377a1786fb9b920e4c6ca4a6c8b18ae3a742
2011-11-23 15:41:41 -08:00
Sriram Ramasubramanian
9e30346ac5 Bug 702264: Patch 2: Honeycomb/ICS needs action bar support [r=mfinkle] 2011-11-23 11:04:47 -08:00
Sriram Ramasubramanian
021960d0d0 Bug 702264: Patch 1: Fixing the styles and themes for ICS [r=mfinkle] 2011-11-23 00:01:38 -08:00
Chris Lord
9fedb8cff5 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
87c7f83f90 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
e1f427eb2e 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
0d4094f225 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
bf1ae74962 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
bfee9933b5 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
94fd52e120 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
731b3a3fc8 Bug 699303 - Kinetic panning need to stop more sharply. r=dougt 2011-11-22 22:01:45 -08:00
Jim Chen
feab7df664 Bug 704414 - Remove debug button and wait 5s in native UI; r=dougt 2011-11-22 01:56:55 -05:00
Margaret Leibovic
76fd94d2e8 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
fc969160bf Bug 703630 - Disable share menuitem for certain protocols. r=blassey 2011-11-22 16:44:58 -08:00
Margaret Leibovic
7c4ce16fa9 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
f35c0f213e 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
3a1c4e5614 no bug. revert some of the birch changes. r=glandium 2011-11-22 13:21:23 -08:00
Doug Turner
3640ceaf27 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
aa01c77c08 Bug 703602 - Close cursor when getting favicon URL (r=kats) 2011-11-22 14:07:47 +00:00
Mark Finkle
4ee4367b2a Bug 696532 - Basic add-on manager support [r=wesj] 2011-11-22 01:12:59 -05:00
Alex Pakhotin
3ca50b0d12 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
f9fb23a50e Bug 703803: Black bar in Honeycomb awesomebar r=mfinkle 2011-11-21 15:41:50 -08:00
Kartikaya Gupta
78ba8c0530 Bug 704225 - Don't dismiss an undisplayed dialog [r=mfinkle] 2011-11-21 18:16:22 -05:00
Kartikaya Gupta
ce1d19dc0a 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
4a0bb1f169 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
a22b6c6c49 Bug 702619: Closing tabs faster causing NPE. [r=mfinkle] 2011-11-21 12:21:10 -08:00
Margaret Leibovic
3cff4e95c8 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
c7cbaca86e 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
d583e84389 Bug 699937 - (Cleanup) Remove unused timestamp values [r=Cwiiis] 2011-11-21 15:26:45 -05:00
Kartikaya Gupta
30493cf72a 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
0899ed35ef Bug 704117 - (Cleanup) Remove unnecessary string creations [r=sriram] 2011-11-21 14:08:34 -05:00
Brad Lassey
ca5df91cb1 bug 704043 - don't show transition animation when closing awesome bar r=dougt 2011-11-21 14:05:39 -05:00
Doug Turner
a92b993c8d no bug - disable screenshot until Google bug 16941 is worked around. r=mfinkle 2011-11-21 10:16:52 -08:00
Kartikaya Gupta
77f46817f9 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
3dda672274 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
7cf6c19b64 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
1f13029a36 bug 701703 - Null pointer exception thrown loading Fennec Start Page r=dougt 2011-11-19 19:46:31 -05:00