Commit Graph

3380 Commits

Author SHA1 Message Date
Kartikaya Gupta
f8f3bbe74d Bug 839622 - Move websms backend JNI bindings so that they are not built if websms is not enabled. r=blassey 2013-02-08 16:42:14 -05:00
Kartikaya Gupta
108e5d044f Bug 839622 - Remove a native function that hasn't been used since bug 735230, and the unneeded setSurfaceView implementation. r=cpeterson 2013-02-08 16:42:13 -05:00
Kartikaya Gupta
86703d3edb Bug 839622 - Clean up temp files introduced in bug 794982. r=cpeterson 2013-02-08 16:42:13 -05:00
Jim Chen
ddca886e23 Bug 835906 - Handle off-thread GeckoEditable and GeckoInputConnection calls; r=cpeterson 2013-02-08 16:07:12 -05:00
Jim Chen
9d18f3a9c3 Bug 835906 - Let GeckoInputConnection switch to background thread; r=cpeterson 2013-02-08 16:07:12 -05:00
Jim Chen
fa5235816c Bug 835906 - Add ability for GeckoEditable to switch to a different thread; r=cpeterson 2013-02-08 16:07:12 -05:00
Jim Chen
2a2f9ecdc7 Bug 835906 - Refer to IC thread instead of UI thread in existing IME code; r=cpeterson 2013-02-08 16:07:05 -05:00
Mark Capella
05796d50ff Bug 839359 - Crash -- java.lang.NullPointerException, r=kats 2013-02-08 10:22:35 -05:00
Kartikaya Gupta
88dcc6657a Bug 777468 - Move ownership of TouchEventHandler from LayerView to JavaPanZoomController. r=Cwiiis
This patch has a bunch of semi-independent changes that unfortunately
couldn't be split apart without introducing hacks to make stuff build
on the intermediate patches. The main changes are:
- Moving TouchEventHandler from LayerView to JavaPanZoomController
- Registering the touch interceptor on the LayerView rather than the
  TouchEventHandler
- Moving the Tab:HasTouchListener handler from GeckoApp to JPZC

The net effect of all of this is that the TouchEventHandler is hidden
behind the PanZoomController interface and not accessible to GeckoApp
or GeckoAppShell.

Additionally, some of the JPZC methods were renamed from onXXX to
handleXXX to maintain the convention that onXXX methods are "interface"
methods (i.e. exposed to arbitrary other code) whereas handleXXX
methods are private/package and should only be called in very specific
ways.
2013-02-08 09:13:09 -05:00
Kartikaya Gupta
1a5dcc2958 Bug 777468 - Rename PanZoomController to JavaPanZoomController and extract a new PanZoomController interface. r=Cwiiis
--HG--
rename : mobile/android/base/gfx/PanZoomController.java => mobile/android/base/gfx/JavaPanZoomController.java
2013-02-08 09:12:59 -05:00
Kartikaya Gupta
4dcacbb416 Bug 777468 - Move mobile/android/base/ui/* to mobile/android/base/gfx/. r=Cwiiis
--HG--
rename : mobile/android/base/ui/Axis.java => mobile/android/base/gfx/Axis.java
rename : mobile/android/base/ui/PanZoomController.java => mobile/android/base/gfx/PanZoomController.java
rename : mobile/android/base/ui/PanZoomTarget.java => mobile/android/base/gfx/PanZoomTarget.java
rename : mobile/android/base/ui/SimpleScaleGestureDetector.java => mobile/android/base/gfx/SimpleScaleGestureDetector.java
rename : mobile/android/base/ui/SubdocumentScrollHelper.java => mobile/android/base/gfx/SubdocumentScrollHelper.java
2013-02-08 09:11:43 -05:00
Kartikaya Gupta
0e704cf5cf Bug 777468 - Remove unneeded dependency on PanZoomController. r=Cwiiis 2013-02-08 09:11:37 -05:00
Brian Nicholson
cc36c1a80a Bug 838583 - Scale favicons in the history tab. r=mfinkle
--HG--
rename : dom/browser-element/BrowserElementChildPreload.js => dom/browser-element/BrowserElementChild.js
extra : rebase_source : f5b53cdab96e42b05c3299e043e8ff5a1111a70c
2013-02-07 22:14:06 -08:00
Mark Finkle
c83ff321c4 Bug 838745 - Prevent crashing if a promo type is dropped r=bnicholson 2013-02-08 00:36:48 -05:00
Kartikaya Gupta
2b7a1ab53f Bug 839325 - Make GeckoViewsFactory use a HashMap instead of a table of string compares. r=sriram 2013-02-07 23:35:55 -05:00
Jim Chen
b8152544ef Bug 836589 - Lazily switch between AwesomeBar search and URL modes; r=blassey 2013-02-07 18:17:06 -05:00
Sriram Ramasubramanian
7302390853 Bug 818072: Back/Forward looks disabled. [r=mfinkle] [needs-clobber] 2013-02-07 14:23:33 -08:00
Sriram Ramasubramanian
37ba86275b Bug 838807: Remove tablet specific tabs-ui icons. [r=mfinkle] 2013-02-07 13:46:36 -08:00
Sriram Ramasubramanian
48dd9907ec Bug 838748: Change pressed state of tabs-ui rows. [r=mfinkle] 2013-02-07 12:48:28 -08:00
Sriram Ramasubramanian
1574bc360b Bug 838735: Remove transparency from inactive tabs. [r=mfinkle] 2013-02-07 12:35:03 -08:00
Sriram Ramasubramanian
fdca6a709f Bug 838807: Replace tab-carats. [r=mfinkle] 2013-02-07 12:14:51 -08:00
Sriram Ramasubramanian
dbb2068b54 Bug 838807: Flatten all icons. [r=mfinkle]
--HG--
rename : mobile/android/base/resources/drawable-large-hdpi-v11/ic_menu_bookmark_add.png => mobile/android/base/resources/drawable-xlarge-hdpi-v11/ic_menu_bookmark_add.png
rename : mobile/android/base/resources/drawable-large-hdpi-v11/ic_menu_bookmark_remove.png => mobile/android/base/resources/drawable-xlarge-hdpi-v11/ic_menu_bookmark_remove.png
rename : mobile/android/base/resources/drawable-large-mdpi-v11/ic_menu_bookmark_add.png => mobile/android/base/resources/drawable-xlarge-mdpi-v11/ic_menu_bookmark_add.png
rename : mobile/android/base/resources/drawable-large-mdpi-v11/ic_menu_bookmark_remove.png => mobile/android/base/resources/drawable-xlarge-mdpi-v11/ic_menu_bookmark_remove.png
rename : mobile/android/base/resources/drawable-large-xhdpi-v11/ic_menu_bookmark_add.png => mobile/android/base/resources/drawable-xlarge-xhdpi-v11/ic_menu_bookmark_add.png
rename : mobile/android/base/resources/drawable-large-xhdpi-v11/ic_menu_bookmark_remove.png => mobile/android/base/resources/drawable-xlarge-xhdpi-v11/ic_menu_bookmark_remove.png
2013-02-06 13:21:23 -08:00
Kartikaya Gupta
bb838d30bc Bug 837821 - Guard against exception when calling scheduleComposite before libxul is loaded. r=gbrown 2013-02-07 10:17:33 -05:00
Kartikaya Gupta
e929a15265 Bug 837821 - When calling a JNI function from a library that hasn't been loaded yet, throw a Java exception. r=glandium 2013-02-07 10:17:27 -05:00
Kartikaya Gupta
7aa31b9e0e Bug 794982 - Autogenerate libxul JNI stubs and fail build if they change. r=glandium 2013-02-07 09:37:06 -05:00
Kartikaya Gupta
f4f5d9a488 Bug 794982 - Extract non-libxul native JNI functions from GeckoAppShell. r=glandium, cpeterson 2013-02-07 09:37:06 -05:00
Christian Vielma
b06ea4e13a Bug 454880 - Allow access to recent history through back/forward buttons. r=bnicholson
--HG--
extra : rebase_source : c871a1f0b464db10b5bd22a27f7783ba1c53c213
2013-02-06 22:53:01 -05:00
Brian Nicholson
72fa7bcf1d Bug 838398 - Make sure SyncType.onDestroy() is called when AboutHomePromoBox is removed. r=mfinkle
--HG--
rename : services/sync/tests/unit/test_utils_json.js => services/common/tests/unit/test_utils_json.js
extra : rebase_source : 4e9db7d7954d9138776bcfc1812764dcfa7bc989
2013-02-06 10:45:19 -08:00
Lucas Rocha
e5b2a99af9 Bug 820482 - Ensure pressed state is cancelled on any swipe (r=mfinkle) 2013-02-06 14:16:01 +00:00
Richard Newman
707352c4f6 Bug 838464 - Define MOZ_BUILD_TIMESTAMP in Fennec Makefile.in. r=gps 2013-02-05 20:15:36 -08:00
Brian Nicholson
8b10c42551 Bug 777639 - Part 3: Add ability to delete downloaded files. r=mfinkle
--HG--
rename : mobile/android/chrome/content/sanitize.js => mobile/android/modules/Sanitizer.jsm
extra : rebase_source : c147efb303a2435823690ca70731b58e528fc6f1
2013-02-05 16:08:03 -08:00
Richard Newman
1360f99541 Bug 744981 - Part 1: share should share page title as well as URL. r=mfinkle 2013-02-05 12:55:26 -08:00
Richard Newman
f731e14f05 Bug 744981 - Part 0: refactor GeckoAppShell.openUriExternal. r=mfinkle 2013-02-05 12:55:26 -08:00
Mark Finkle
124a8abe0f Bug 837142 - Regression: about:home promo banner swaps on device rotation r=wesj 2013-02-05 08:52:57 -05:00
Kartikaya Gupta
4e95ef1b3b Bug 821224 - Remove a bitmap recycle that was causing crashes. r=cpeterson 2013-02-04 18:02:16 -05:00
Kartikaya Gupta
51ce773032 Bug 837816 - Clean up the startup lib-loading functions. r=cpeterson 2013-02-04 17:53:39 -05:00
Sriram Ramasubramanian
b49e41bdc5 Bug 834525: Remove unnecessary log. [r=mfinkle] 2013-02-04 13:09:44 -08:00
Kartikaya Gupta
e35c69b34c Bug 837775 - Fix some UseValueOf lint warnings. r=bnicholson 2013-02-04 15:15:51 -05:00
Jim Chen
cfbb5d8e6e Bug 830557 - Fix startup crash by preloading class; r=gbrown 2013-02-04 14:59:14 -05:00
Brian Nicholson
adfee276c9 Bug 837373 - Check for valid favicon before scaling it. r=mfinkle 2013-02-04 11:08:10 -08:00
Paul Feher
f7aa1053d5 Bug 822256 - Robocop: Add test for System Pages feature. r=gbrown 2012-12-18 14:34:48 +02:00
Paul Feher
eaace79422 Bug 830755 - Robocop: Add test for 'Settings Menu Items' feature. r=gbrown 2013-01-16 12:34:54 +02:00
andreea.pod@softvision.ro
1aac21634a Bug 745041 - Robocop: Add test for Clear History. r=jmaher 2013-02-01 16:39:49 +02:00
Kartikaya Gupta
3bdc5bcf81 Bug 827836 - Re-apply patch previously reverted in 1d0948064259 since the test is fixed now. r=Cwiiis 2013-02-04 10:02:11 -05:00
Brian Nicholson
bbfab44dd6 Bug 837042 - Remove gecko property from sendMessageToJava. r=mfinkle
--HG--
extra : rebase_source : 49a739f7550a3afe83b19518833de03a014e2a80
2013-02-01 17:36:38 -08:00
Margaret Leibovic
91e2609853 Bug 836838 - Avoid race condition in distribution initialization. r=bnicholson,mfinkle 2013-02-01 15:45:33 -08:00
Margaret Leibovic
ae1909b998 Bug 834681 - Add support for basic distribution modifications. r=mfinkle 2013-02-01 15:45:33 -08:00
Mark Capella
7c828d1813 Bug 836689 - The security notification pop-up is still displayed, r=mfinkle 2013-02-01 17:19:47 -05:00
Jim Chen
442472a6a8 Bug 832028 - Make resetting Editable during focus more reliable; r=cpeterson 2013-02-01 14:50:03 -05:00
Brian Nicholson
8b5a8ba707 Bug 827370 - Remove RedirectorRunnable. r=mfinkle 2013-02-01 11:49:08 -08:00
Kartikaya Gupta
641743cd74 Bug 835356 - More aggressive logging and fallback handling for prolonged blocking on gecko event sync. r=blassey 2013-02-01 11:45:16 -05:00
Mark Finkle
5b37064e93 Bug 828892 - Favicons are missing for the default bookmarked pages besides about: ones r=bnicholson 2013-01-31 16:40:55 -05:00
Ryan VanderMeulen
69a41795c3 Backed out changesets 9aadf7e35e70 (bug 836517) and 493805ba1c85 (bug 834681) for Android test hangs. 2013-01-31 15:15:50 -05:00
Kartikaya Gupta
2a17d87127 Bug 836803 - Ensure that even a single-element prompt is wrapped in a ScrollView. r=mfinkle 2013-01-31 14:05:49 -05:00
Margaret Leibovic
4f5bfeecb4 Bug 834681 - Add support for basic distribution modifications. r=mfinkle 2013-01-31 10:28:00 -08:00
Mark Capella
d6685ce0c8 Bug 806394 - updater should log more things, r=mfinkle 2013-01-31 02:21:26 -05:00
Sriram Ramasubramanian
fb6c4f9434 Bug 794940: Visible white line in Nexus 7. [r=mfinkle] [needs-clobber]
--HG--
extra : rebase_source : 09b4301502fe5aaf75056d163deb325dabcb79f4
2013-01-30 14:47:41 -08:00
Sriram Ramasubramanian
564a3be8d1 Bug 836043: Tab icons for tablets are same for 7" and 10". [r=mfinkle]
--HG--
extra : rebase_source : b324ce88c3bf057290637dd81d8215094fcc7ae5
2013-01-30 13:49:56 -08:00
Sriram Ramasubramanian
829dc72aaa Bug 836043: Replace tabs toolbar background with a dark one. [r=mfinkle]
--HG--
extra : rebase_source : cfe5ff7847783a0a58142de1b30abfe53c95d8e8
2013-01-29 15:57:52 -08:00
Sriram Ramasubramanian
c5e3ed907a Bug 836043: Use icon-tabs for tab switcher in tabs-ui. [r=mfinkle]
--HG--
extra : rebase_source : efa4b1633f7bbf4bcacc4b2140c759f1666386f6
2013-01-29 14:43:34 -08:00
Sriram Ramasubramanian
86bcb4c0d5 Bug 834525: Tab is not selected if its private. [r=mfinkle]
--HG--
extra : rebase_source : 1889436b29e1e0e96ccd3e353c9419f8c62f22d2
2013-01-30 12:01:55 -08:00
Sriram Ramasubramanian
cfbe0666bd Bug 834525: Supress testNewTab's closeTabs(). [r=mfinkle]
--HG--
extra : rebase_source : 3bdac1f069856357c9930ac8f075c715b534a812
2013-01-30 11:10:17 -08:00
Sriram Ramasubramanian
899c42debc Bug 834525: New tab thumbnail styling for tabs-ui. [r=mfinkle]
--HG--
extra : rebase_source : a774fdea385a9f3e9997adebf730cdb40e9e8a92
2013-01-24 17:08:08 -08:00
Kartikaya Gupta
a78a04f130 Bug 816879 - Only block on gecko in the onLowMemory android notification, not the onTrimMemory suggestion. r=snorp 2013-01-30 13:53:02 -05:00
Kartikaya Gupta
47a3c54891 Bug 816879 - Treat all memory pressure events when Fennec is in the foreground as low-pressure. r=snorp 2013-01-30 13:52:49 -05:00
Sriram Ramasubramanian
2809209bde Bug 833812: BrowserToolbar should consume events, that aren't consumed by its children. [r=mfinkle]
--HG--
extra : rebase_source : e412c542cc218a9df17a4786f5e5b41269b3a068
2013-01-28 15:22:35 -08:00
Wes Johnston
5d62ac8810 Bug 824994 - Hide the marketplace promo if the user has visited the marketplace before r=mfinkle 2013-01-30 12:26:07 -05:00
Nick Alexander
e1d3678264 Bug 835992 - Format Makefile variables in mobile/android/base/android-services-files.mk. r=rnewman 2013-01-30 09:21:21 -08:00
Jim Chen
92badd867a Bug 827325 - Delay calling restartInput in AwesomeBar to avoid specific IME quirks; r=cpeterson 2013-01-30 10:46:58 -05:00
Wes Johnston
1446f1d09c Bug 833942 - Add 'remove' to about:home topsites r=mfinkle 2013-01-30 10:20:35 -05:00
Geoff Brown
f640b1daf7 Bug 826385 - Reduce pause/resume notifications to gecko; r=mfinkle 2013-01-29 14:59:42 -07:00
Matt Brubeck
6ab5695e6e Bug 834399 - Tab sidebar should switch views to show newly selected tab [r=sriram] 2013-01-29 10:58:09 -08:00
James Willcox
b31a7d892b Bug 803154 - Don't wait on Gecko for non-emergency memory reduction events r=kats 2013-01-29 13:24:43 -05:00
Sriram Ramasubramanian
e33ebe26a6 Bug 833546: Rotating phone will open tabs-tray. [r=mfinkle]
--HG--
extra : rebase_source : 8f0e9406102233cdacfc1a993e3d35c91ec1d8be
2013-01-23 15:40:46 -08:00
Brian Nicholson
0ede1ee304 Bug 819973 - Scale favicons before storing them in the cache. r=mfinkle
--HG--
extra : rebase_source : 8d9417c071b3a49fed84e78930c868273d70363a
2013-01-28 14:52:05 -08:00
Chris Peterson
29f8da3b6c Bug 834471 - Part 4: Fix FindBugs warning about unlockProfile() not checking file.delete() return value. r=wesj 2013-01-24 14:26:01 -08:00
Chris Peterson
c920c9eeae Bug 834471 - Part 3: Fix some FindBugs warnings about unused variables and make GeckoMediaScannerClient final. r=wesj 2013-01-24 12:12:25 -08:00
Chris Peterson
940a878cc8 Bug 834471 - Part 1: Fix some FindBugs warnings about strings. r=jchen 2013-01-25 16:32:04 -08:00
Kartikaya Gupta
6e4510693c Bug 834414 - Remove a dangling reference to the LayerView in the IME code when the activity is destroyed. r=jchen 2013-01-25 13:51:41 -05:00
Kartikaya Gupta
8a2bf5b9c8 Bug 835356 - Add logging for sync events to better see if they are causing problems. r=snorp 2013-01-28 13:28:18 -05:00
Kartikaya Gupta
db4b0527f9 Bug 834414 - Free the local refs in GeckoThread's long-running run method to prevent leaks. r=cpeterson 2013-01-25 13:51:41 -05:00
Kartikaya Gupta
b1cf378283 Bug 834414 - Stop holding on to a content resolver in Tab, which leaks the Activity instance it is associated with. r=bnicholson 2013-01-25 13:51:41 -05:00
Kartikaya Gupta
add4bab00f Bug 834414 - Destroy the SiteIdentityPopup when the activity is destroyed to prevent leaking the activity. r=margaret 2013-01-25 13:51:41 -05:00
Kartikaya Gupta
1cdfd88631 Bug 834414 - Remove unnecessary getInstance call that was leaking an App instance. r=wesj 2013-01-25 13:51:41 -05:00
Kartikaya Gupta
57216f4b09 Bug 834414 - Fix leaks caused by missing tab change listener unregistrations. r=sriram 2013-01-25 13:51:41 -05:00
Phil Ringnalda
b8c910183c Back out 5a56a56a6481:a5969a01955b (bug 834414) to investigate whether it caused reftest-4 failures
CLOSED TREE
2013-01-25 20:03:50 -08:00
Phil Ringnalda
6b9dba09d6 Back out ab76caba70f3 (bug 833546) for robocop bustage
--HG--
extra : rebase_source : 95fd538d507c63c80a2f9e565f1583c68593b837
2013-01-25 14:33:18 -08:00
Phil Ringnalda
5b55ee7537 Back out baa055cb9043 (bug 834525) for robocop bustage
--HG--
extra : rebase_source : 8972732b87274e1c657aa86fa798224895d512fe
2013-01-25 14:32:21 -08:00
Sriram Ramasubramanian
1f83191181 Bug 834525: Tab thumbnail styling on phones and tablets. [r=mfinkle] [needs-clobber]
--HG--
extra : rebase_source : 3a06d02240be1381498f5d73a5d48258ad145a20
2013-01-24 17:08:08 -08:00
Kartikaya Gupta
444a38b5ac Bug 834414 - Free the local refs in GeckoThread's long-running run method to prevent leaks. r=cpeterson 2013-01-25 13:51:41 -05:00
Kartikaya Gupta
92884bc973 Bug 834414 - Stop holding on to a content resolver in Tab, which leaks the Activity instance it is associated with. r=bnicholson 2013-01-25 13:51:41 -05:00
Kartikaya Gupta
f8cf570e3c Bug 834414 - Remove a dangling reference to the LayerView in the IME code when the activity is destroyed. r=jchen 2013-01-25 13:51:41 -05:00
Kartikaya Gupta
1265ebb176 Bug 834414 - Destroy the SiteIdentityPopup when the activity is destroyed to prevent leaking the activity. r=margaret 2013-01-25 13:51:41 -05:00
Kartikaya Gupta
fe74a50dbe Bug 834414 - Remove unnecessary getInstance call that was leaking an App instance. r=wesj 2013-01-25 13:51:41 -05:00
Kartikaya Gupta
e9dd366630 Bug 834414 - Fix leaks caused by missing tab change listener unregistrations. r=sriram 2013-01-25 13:51:41 -05:00
Sriram Ramasubramanian
6893bc9b56 Bug 833546: Rotating phone will open tabs-tray. [r=mfinkle] 2013-01-23 15:40:46 -08:00
Chris Peterson
058a067aae Bug 834471 - Part 2: Fix some FindBugs warnings about DateTimePicker. r=wesj 2013-01-24 12:42:06 -08:00
adrian.tamas@softvision.ro
ad8be52353 Bug 817970 - Add tests for Bookmark remove and edit from context menu. r=jmaher 2012-12-07 16:03:27 +02:00
Wes Johnston
85c040f18e Bug 832561 - Dont show Pin Sites option on empty sites. r=lucasr 2013-01-24 15:56:46 -08:00
Wes Johnston
052a5b450c Bug 832561 - Don't update cursors when sites are pinned/unpinned. r=lucasr 2013-01-24 15:56:14 -08:00