Commit Graph

307 Commits

Author SHA1 Message Date
Ed Morley
78ab3199c8 Backout fe434c1887f5 (bug 708437) for Android build failures on clobber 2011-12-20 13:38:33 +00:00
Mike Hommey
5308b2adf8 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
7aff663832 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
00b68564c6 Bug 711453 - Fix infinite zoom scale. r=pcwalton 2011-12-20 17:15:09 -05:00
Kartikaya Gupta
e475dfb3a6 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
b74f03c21e 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
6a504879ae 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
Brad Lassey
20b663c27d bug 709330 - AboutHomeContent.getRecommendedAddonsStream() resource leak because ZipFile was not closed r=mfinkle 2011-12-16 20:22:34 -05:00
Kartikaya Gupta
2082d75da1 Bug 712037 - Add lots of logging to help diagnose viewport issues. r=Cwiiis 2011-12-19 22:32:41 -05:00
Kartikaya Gupta
fbaeedc588 Bug 712037 - Add a toString() method on the viewport. r=Cwiiis 2011-12-19 22:28:48 -05:00
Kartikaya Gupta
4a72a73a37 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
3bea5dea5f 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
bfcbfe3375 Bug 710463: Better to use no dpi for textures [r=mfinkle] 2011-12-13 16:49:19 -08:00
Sriram Ramasubramanian
d69f6b38fb Bug 708700: New url bar size and styling [r=mfinkle] 2011-12-15 11:53:04 -08:00
Gian-Carlo Pascutto
e17391a7cb Bug 699199 - Upgrade path from XUL to native fennec. r=blassey 2011-12-19 22:56:11 +01:00
Margaret Leibovic
979075e2d7 Bug 710703 - Use "plugins" instead of "flash" in strings. r=mfinkle 2011-12-19 11:43:39 -08:00
Sriram Ramasubramanian
c5ca4c7ea8 Bug 704864: New tabs tray with thumbnails [r=mfinkle] 2011-12-14 14:31:39 -08:00
Matt Brubeck
c9a6ef2daf 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
4947890040 Bug 711232 - Avoid unnecessary bounce animations. r=pcwalton 2011-12-16 17:01:02 -05:00
Kartikaya Gupta
3a22a4cc3c Bug 711453 - Avoid potentially corrupting the fling velocity. r=pcwalton 2011-12-19 09:26:41 -05:00
Kartikaya Gupta
3c92181cf6 Bug 695170 - Fix incorrect comment caught by gcp. r=gcp 2011-12-19 09:26:20 -05:00
Sriram Ramasubramanian
a85cded278 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
ac7dca5992 Merge mozilla-central to mozilla-inbound 2011-12-18 08:22:53 -08:00
Doug Turner
53a8dcdc2c Backed out changeset 7957f2f39615 2011-12-17 22:39:08 -08:00
Doug Turner
7fa169ec37 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
42115e5a4e Backout of 9d027bf631d3 2011-12-17 21:52:54 -08:00
Doug Turner
2a4b8377d3 Backout of ba92c42f126f 2011-12-17 21:34:03 -08:00
Doug Turner
7543f9ad60 Backout of 8a5cc33141a3 2011-12-17 21:33:44 -08:00
Doug Turner
5ecd025014 Backout of f39dab2d2adb 2011-12-17 21:32:48 -08:00
Doug Turner
9d3905ac3a Backout of 74277c18e7ce 2011-12-17 21:32:24 -08:00
Doug Turner
bb7d2103ba Backout of 434e5060c706 2011-12-17 21:31:37 -08:00
Brad Lassey
8fbf8daadc 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
03d9213f1b 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
e752dcc4a9 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
11ed3102a7 Bug 711232 - Avoid unnecessary bounce animations. r=pcwalton 2011-12-16 17:01:02 -05:00
James Willcox
f2138c4d9f Bug 670930 - Use asynchronous direct texturing on Android when available 2011-12-16 16:40:58 -05:00
James Willcox
eb0c3ecd6f back out 8a5cc33141a3 due to android-xul build failure 2011-12-16 14:45:58 -05:00
Mark Finkle
5c78465bee 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
9b64eb0359 Bug 701076 - [tests] Robotium integration into mozilla-central. r=mfinkle,dburns 2011-12-16 14:27:52 -05:00
James Willcox
7de6dda3c3 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
2387bed69a Bug 670930 - Add Android direct texture implementation
--HG--
extra : rebase_source : eb3f095e2663c0ebc0a03117ec8883d66dd8f1b5
2011-12-16 10:54:08 -05:00
Margaret Leibovic
557a9397f8 Bug 706876 - Create "Clear Site Settings" menuitem. r=mfinkle 2011-12-17 13:50:09 -08:00
Alex Pakhotin
cc92a9b8bb 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
2962f7d02b 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
03dcd39254 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
50bfe0d0b5 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
b663bbf45e Bug 708893 - Allow panning after releasing pinch zoom finger. r=pcwalton 2011-12-15 14:50:04 -05:00
Matt Brubeck
6bde87b755 Bug 703029 - Add text inflation font size prefs to the UI [r=mfinkle] 2011-12-15 10:43:56 -08:00
Brad Lassey
33c25aeced bug 710905 - about:home flashes before page loads, whitespace fix r=mfinkle 2011-12-15 13:02:37 -05:00
Brad Lassey
9f2e12a98b bug 710905 - about:home flashes before page loads r=mfinkle 2011-12-14 18:10:34 -05:00
Ed Morley
f66bf66c32 Merge mozilla-central to mozilla-inbound 2011-12-15 17:27:51 +00:00
Kartikaya Gupta
f4c86ea00b Bug 710864 - (Cleanup) Fix up incorrect logtags. r=blassey 2011-12-15 10:46:36 -05:00
Kartikaya Gupta
88b887c1d9 Bug 710864 - Close stream after we're done with it. r=blassey 2011-12-15 10:46:36 -05:00
Kartikaya Gupta
4ec181f5d4 Bug 702624 - Fix regex for replaceAll so it doesn't die. r=blassey 2011-12-15 10:46:36 -05:00
Brad Lassey
2fc8a40e3a 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
4ca6d623bb 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
71c22a0dd4 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
Kartikaya Gupta
31486683a9 Bug 710393 - Stop using Math.copySign which doesn't exist on Froyo. r=Cwiiis a=ehsan 2011-12-14 16:57:29 -05:00
Mark Finkle
1256a28666 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
6d31dbe14a Backout changeset 3e972d3efc11 (bug 708307) because it breaks Android tests; a=me 2011-12-14 15:55:17 -05:00
Sriram Ramasubramanian
efefacb497 Bug 695444 - Form history autocomplete. r=mfinkle a=android-only 2011-12-06 16:44:08 -08:00
Chris Lord
970a0497a7 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
d296478e70 bug 710751 - Updater is broken, backout aebdec71790e r=mfinle a=java-only 2011-12-14 12:35:58 -05:00
Brad Lassey
2662c1536f bug 710751 - Updater is broken, backout b0165c0d85e1 r=mfinle a=java-only 2011-12-14 12:35:37 -05:00
Margaret Leibovic
5633818cb8 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
b6eb805dd7 Bug 710302 - going to about: pages does a 'feeling lucky' search [r=mfinkle a=java-only] 2011-12-13 19:17:58 -05:00
Patrick Walton
2adc6acc0a 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
01f2ba5697 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
5e981f3a4e 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
b45af436d9 bug 710328 - null pointer when attaching android idle handler r=mfinkle a=java-only 2011-12-13 17:53:06 -05:00
Margaret Leibovic
02ce5b4a32 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
f3d2bc109b 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
0b0e45f786 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
3d4f7981f8 Bug 706667 - Organize/cleanup imports on AboutHomeContent (r=blassey, a=mfinkle) 2011-12-13 20:15:17 +00:00
Lucas Rocha
4f49be600f Bug 706667 - Remove unused properties from AboutHomeContent (r=blassey, a=mfinkle) 2011-12-13 20:15:17 +00:00
Lucas Rocha
faeb640883 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
48a71125a1 Bug 708485 - Add Fennec bookmarks to special "mobile" folder (r=blassey, a=mfinkle) 2011-12-13 19:47:40 +00:00
Lucas Rocha
8f9603a020 Bug 708485 - Create "mobile" special bookmarks folder on DB creation (r=blassey, a=mfinkle) 2011-12-13 19:47:40 +00:00
Lucas Rocha
bfa12c8067 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
9fb06bc547 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
Sriram Ramasubramanian
bcf1f085a8 Bug 709255: Avoid multiple instances of TabsTray. [r=mfinkle a=android-only] 2011-12-12 14:25:29 -08:00
Mark Finkle
8dc49dcb38 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
4c295fd5ed 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
4e0a9c207c Bug 708151 - Fix switch indentation in BrowserProvider (r=blassey, a=mfinkle) 2011-12-13 14:46:58 +00:00
Lucas Rocha
e1ff1ac1cf 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
9827ed269e 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
f77b7258bd Bug 708151 - Handle deleted records in a sync-friendly way (r=blassey, a=mfinkle) 2011-12-13 14:46:58 +00:00
Lucas Rocha
cec91e2269 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
a53e2cb617 Bug 708331 - Add keyword, description, and tags columns to Bookmarks (r=mfinkle, a=mfinkle) 2011-12-13 14:46:58 +00:00
Lucas Rocha
90edc3456b 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
3b82e588be 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
ffa93cd125 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
3dd15c1125 Bug 707732 - More robust implementation of add bookmark (r=blassey, a=mfinkle) 2011-12-13 13:59:27 +00:00
Lucas Rocha
8dcb893051 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
ab4842fb9d 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
1265421bca Bug 698828 - Fix add bookmark operation in Honeycomb/ICS (r=blassey, a=mfinkle) 2011-12-13 13:44:54 +00:00
Lucas Rocha
2393eadcdd Bug 701835 - Fix bookmark removal in Honeycomb/ICS (r=blassey, a=mfinkle) 2011-12-13 13:44:54 +00:00
Doug Turner
a18dfd08d3 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
09f413b467 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
9cc75f8b7b 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