Commit Graph

308 Commits

Author SHA1 Message Date
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
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
2bedc5c02c Bug 711232 - Avoid unnecessary bounce animations. r=pcwalton 2011-12-16 17:01:02 -05: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
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
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
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
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
Margaret Leibovic
497010a089 Bug 706876 - Create "Clear Site Settings" menuitem. r=mfinkle 2011-12-17 13:50:09 -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
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
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
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
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