Commit Graph

1392 Commits

Author SHA1 Message Date
Doug Turner
d823301384 Fix overscroll behavior when the document is zoomed smaller than the screen and 2011-11-07 14:17:01 -08:00
Doug Turner
c69bced103 Change the axis fling states from ints into an enum. 2011-11-07 14:17:01 -08:00
Doug Turner
12e8924064 Update shadow tiling when page size changes
Without this patch, the shadows for the page get drawn with stale page heights
because the vertex buffers are not updated when the page height changes. With
the previous patch applied, this results in shadows extending down past the page
when they shouldn't.
2011-11-07 14:17:00 -08:00
Doug Turner
4fefbf7dd5 Fix up the ScaleGestureDetector usage and pinch behaviour 2011-11-07 14:17:00 -08:00
Doug Turner
fdcba035a3 Fix NPE on first startup, if there is no screenshot lying around from a previous run 2011-11-07 14:17:00 -08:00
Doug Turner
dcce78fffb imported patch shrinkpattern 2011-11-07 14:17:00 -08:00
Patrick Walton
bde2ae2410 * * *
try: -b do -p linux-android -u none -t none
2011-11-07 14:15:58 -08:00
Sriram Ramasubramanian
e0e0c0cc4b Bug 698598: Avoid flickering while closing a background tab [r=mfinkle] 2011-11-07 10:30:50 -08:00
Sriram Ramasubramanian
46ff70b84c Bug 698598: Stackable doorhangers in a scrolling pane [r=mfinkle] 2011-11-07 10:27:02 -08:00
Eitan Isaacson
2615bf66e0 Bug 699243 - Add method to GeckoAppShell to emit a11y events and bridge it [r=blassey] 2011-11-04 09:56:24 -04:00
Eitan Isaacson
a204e75bb8 Bug 699243 - Add method to GeckoAppShell to check for a11y and bridge it [r=blassey] 2011-11-04 09:47:18 -04:00
Brad Lassey
f46512cc72 bug 699442 - follow up to put watch dog on non-main handler r=mbrubeck (via irc) 2011-11-07 14:18:14 -05:00
Doug Turner
6cda9cb5f1 Merge 2011-11-07 10:20:27 -08:00
Lucas Rocha
f9d12fc065 Bug 697194 - Implement favicon caching (r=blassey) 2011-11-07 13:55:25 +00:00
Ed Morley
7bc582f20f Backout 4997c6f8b24d (bug 616542) for causing locally run mochitest-browser-chrome test runs to fail 2011-11-05 18:35:59 +00:00
Brad Lassey
20d209feab bug 699442 - implement quit r=dougt 2011-11-03 22:06:32 -04:00
Brad Lassey
a8c5e0b2a1 bug 700218 - Unclosed Cursor detected assertions when running Fennec Native r=dougt 2011-11-07 00:40:18 -05:00
Doug Turner
4a3bc4cd6c Merge 2011-11-04 10:46:58 -07:00
Mark Finkle
df7c5d02e1 Bug 696076 - Telemetry for Mobile [r=kats] 2011-11-04 10:42:29 -04:00
Doug Turner
1359f3d79f No Bug - Make saving the screenshot non-blocking. I moved this call as-is from Quit() which had to be blocking since we were going to be exiting as-is. However, now that it is outside immediate death, we can do it async. r=me 2011-11-03 20:38:31 -07:00
Julien Vermet
30c84fe75f Bug 695477 - Use an indicator in toolbar to reflect security state [r=mfinkle, r=sriram] 2011-11-03 18:53:34 -04:00
Wes Johnston
23c15d7e52 Bug 696846 - Basic context menu support. r=mfinkle 2011-11-03 15:09:37 -07:00
Sriram Ramasubramanian
5e5a99c4f6 Bug 699492: Animate the tab-list popup [r=mfinkle] 2011-11-03 11:34:58 -07:00
Sriram Ramasubramanian
2021845587 Bug 699155: Tabs should preserve the order in the list [r=mfinkle] 2011-11-02 23:42:11 -07:00
Sriram Ramasubramanian
af8bf309e4 Bug 698220: The tabs should be restored when awesomebar is rotated. [r=mfinkle] 2011-10-31 13:07:23 -07:00
Doug Turner
dd359d48cb No Bug - When there is nothing left in session history, do not finish(), but call moveTaskToBack(). r=bnicholson
--HG--
extra : rebase_source : 22867d2ad57661ad3d265fb1194378189d84aa3f
2011-11-02 23:20:19 -07:00
Doug Turner
c1298234ab Bug 696315 - Remove Quit menu option. r=bnicholson@mozilla.com
--HG--
extra : rebase_source : 27492a24f3c58e71d9df98534612c0f74c05d7e4
2011-11-02 22:32:36 -07:00
Sriram Ramasubramanian
0dab015715 Bug 699312: Make the selected tab in tabs-list use a bold font [r=mfinkle] 2011-11-02 22:07:13 -07:00
Sriram Ramasubramanian
946d69cddb Bug 698436: Use a custom blue spinner for progress bar [r=mfinkle] 2011-11-02 15:52:20 -07:00
Sriram Ramasubramanian
0dad874ddd Bug 696462: A divider is needed at the end of the list in tabs-tray [r=mfinkle] 2011-11-02 16:49:13 -07:00
Sriram Ramasubramanian
e42bcee94c Bug 696462: Refresh UX of tabs list UI [r=mfinkle] 2011-11-02 11:36:44 -07:00
Gian-Carlo Pascutto
b5930981e8 Bug 697087 - Multiple notifications content permission prompt. r=mfinkle 2011-11-01 21:26:11 +01:00
Gian-Carlo Pascutto
14c6100ab8 Bug 697086 - Content permission notifications not dismissed on page dismiss. r=mfinkle 2011-11-01 21:02:20 +01:00
Sriram Ramasubramanian
f62e064568 Bug 698332: Awesomebar should use a default text of 'Enter Search or Address' r=mfinkle 2011-10-30 22:12:31 -07:00
Kartikaya Gupta
368bd3af0d Bug 697987 - Remove race when downloading favicons [r=sriram]
Multiple DownloadFaviconTasks could get queued and run simultaneously,
making the tab's final favicon anybody's guess. Instead, this patch
ensures that existing favicon downloaders for a particular tab are
cancelled before new ones are queued, eliminating the race condition.
2011-11-01 13:15:08 -04:00
Kartikaya Gupta
1bdc567283 Bug 697987 - Remove race conditions from Runnables [r=sriram]
Eliminate various race conditions when using runnables,
specifically when doing things to global UI state based on
the selected tab. Since the selected tab might change
between a particular non-UI action and the corresponding
UI-thread update, we have to ensure that the selected tab
is still correct on the UI runnable.
2011-11-01 13:14:37 -04:00
Kartikaya Gupta
f4e1afc42c Bug 697803 - Show URL instead of empty title in awesome history [r=lucasr]
Overlapping area of concern with bug 698223 - to be consistent with
the awesome bar view, we should also show the url instead of an empty
title in the different tabs of the awesome bar.
2011-11-01 11:48:27 -04:00
Lucas Rocha
8eb130e19e Bug 698131 - Always use white style list views in AwesomeBar (r=mfinkle)
This will also inherit the proper pressed and focused states from the style.
2011-11-01 13:58:42 +00:00
Wes Johnston
fe3bde6ccc Bug 698114 - Don't rebuild the app on orientation changes. r=blassey 2011-10-31 15:03:37 -07:00
Wes Johnston
2abbfa8b96 Bug 698311 - Make sure we return -1 from cancelled prompts. r=mfinkle 2011-10-31 14:36:30 -07:00
Lucas Rocha
99ea2d41ef Bug 698223 - Use display title from tab in GeckoApp (r=mfinkle)
Tab handles the case where the title is empty and uses URL as a fallback when
necessary.
2011-10-31 20:36:52 +00:00
Lucas Rocha
46a9288d78 Bug 698223 - Add Tab method to return title for display (r=mfinkle) 2011-10-31 20:36:50 +00:00
Lucas Rocha
5141160246 Bug 698223 - Always set tab title, even when it's empty (r=mfinkle)
Otherwise the tab might reuse the title from a previous URL.
2011-10-31 20:36:49 +00:00
Kartikaya Gupta
8ca92a13ad Bug 697803 - Show page titles in Awesome screen history [r=blassey]
When the page title updates, propagate the update to the
system history as well, so that the AwesomeScreen shows
page titles on the history tab.
2011-10-31 15:29:49 -04:00
Lucas Rocha
b0a7f896d7 Bug 697122 - Show only a label on AwesomeBar's tab indicators (r=mfinkle) 2011-10-31 16:42:56 +00:00
Kartikaya Gupta
697358bfb6 Bug 695165 - Rename events for consistency [r=mfinkle]
Rename session-* events to Session:* for consistency with
the other event names.
2011-10-31 11:02:34 -04:00
Kartikaya Gupta
6ba6a7429b Bug 695165 - Hook up Forward to UI [r=sriram]
Add a menu item to allow the user to go forward in history.
The menu item automatically enables/disables based on whether
the action is available.
2011-10-31 11:02:34 -04:00
Kartikaya Gupta
e707191418 Bug 695165 - Implement plumbing for Forward [r=mfinkle]
Put in support for the "Forward" feature; it can be invoked
by calling doForward() on a Tab. Not yet hooked up to any
UI elements, pending UX decisions.
2011-10-31 11:02:34 -04:00
Kartikaya Gupta
c098c1f428 Bug 697732 - Keep Java history state in sync with Gecko [r=mfinkle]
Add a session history listener to gecko so that session navigation
events can be listened for. This allows us to detect when javascript
code calls history.back() and related functions, and updates the
history state on the Java side accordingly.
2011-10-31 11:02:20 -04:00
Kartikaya Gupta
6f3cd24ad9 Bug 697732 - Cleanup of Tab.java [r=sriram]
Fix indenting of a couple of functions, add a missing space
between the "if" and opening paren, and collapse redundant
constructor.
2011-10-31 10:49:13 -04:00
Lucas Rocha
8a30f36a2a Bug 697070 - Use default favicon on tab if no image is available (r=sriram) 2011-10-31 10:45:20 +00:00
Sriram Ramasubramanian
52f53b259e Bug 698042: Spinner style progress bar for browser toolbar (part 2) [r=mfinkle] 2011-10-28 11:08:47 -07:00
Sriram Ramasubramanian
7a94572adb Bug 698042: Spinner style progress bar for browser toolbar (part 1) [r=mfinkle] 2011-10-28 11:02:57 -07:00
Wes Johnston
178ae3b4f4 Bug 695485 - Bustage. Missing file. r=mfinkle 2011-10-28 13:17:16 -07:00
Wes Johnston
6e820595c5 Bug 695485 - Native UI for select elements. r=mfinkle 2011-10-28 11:49:19 -07:00
Doug Turner
46ab5ad03a merge 2011-10-28 11:46:10 -07:00
Kartikaya Gupta
b421ec234b Bug 692185 - Flush PrintWriter prior to extracting printed string; r=blassey
Not flushing the PrintWriter might cause data to get left in the PrintWriter's
internal buffers, and not get written into the underlying StringWriter. This
might explain why the stack trace does not get written out to the crash report.
2011-10-28 15:05:06 +01:00
Sriram Ramasubramanian
00d81052e1 Bug 696461: Primary UI: Reskinning the browser toolbar and awesomebar [r=mfinkle] 2011-10-27 16:53:09 -07:00
Brad Lassey
a6cfdbbc8f fix build bustage 2011-10-28 13:26:06 -04:00
Mounir Lamouri
1ead8e80d2 Bug 674725 - Part O - Receiving SMS: Android backend. r=cjones 2011-11-24 14:10:20 +01:00
Mounir Lamouri
5a31bcb979 Bug 674725 - Part J - Basic implementation of mozSms.send(). r=cjones 2011-11-21 00:00:46 +01:00
Mounir Lamouri
619f3d8199 Bug 674725 - Part I - Implement mozSms.getNumberOfMessagesForText(). r=smaug,cjones 2011-11-25 10:48:51 +01:00
Mounir Lamouri
9cecb2401a Bug 705156 - Fix flaky test embedding/test/test_window_open_units.html. r=roc 2011-11-25 10:46:10 +01:00
Mounir Lamouri
6d7e8ff325 Bug 696038 - (3/3) Battery API Android backend. r=cjones 2011-11-02 16:36:44 +01:00
Mounir Lamouri
81e95dc4d5 Bug 696038 - (2/3) Boilerplate code to communicate between hal and Android Java code. r=cjones 2011-11-02 16:35:11 +01:00
Brad Lassey
325ef462b9 no bug - make quit work r=dougt
--HG--
extra : rebase_source : 167f35f6ac7543d3954e8f7c0d641d6e70414ce9
2011-10-19 16:31:31 -04:00
Lucas Rocha
7e7bd2d3d4 Bug 697121 - Keep focus on entry while typing on AwesomeBar (r=mfinkle)
When user types on AwesomeBar's entry, we always switch to 'All Pages' tab to
show the filtered results. Tab switching was causing the tab content to steal
focus from the search entry.
2011-10-28 16:09:34 +01:00
Lucas Rocha
f1876cf426 Bug 697747 - Only query frecency results on AwesomeBar startup (r=mfinkle)
Only load the bookmark and history lists if they are actually requested.
2011-10-28 15:57:09 +01:00
Lucas Rocha
0141187fd6 Bug 697747 - Move history group splitting to background thread (r=mfinkle)
Ensures we're not doing too heavy processing on UI thread.
2011-10-28 15:57:09 +01:00
Lucas Rocha
47b863e9e8 Bug 697747 - Limit the number of rows returned in AwesomeBar queries (r=mfinkle) 2011-10-28 15:57:09 +01:00
Mark Finkle
f625da9b51 Bug 697720 - Add 'Clear private data' preference [r=blassey] 2011-10-28 00:55:15 -04:00
Brian Nicholson
40cd8efebf Bug 697299 - Disable preferences before Gecko is loaded (ui thread fix) [r=dougt] 2011-10-27 14:30:34 -07:00
Sriram Ramasubramanian
65beef7ded Bug 696912 - Fix layout of download progress notification. r=alexp 2011-10-24 17:24:48 -07:00
Alex Pakhotin
60f4141861 640025 - Clear text function using ezKeyboard does not work. r=blassey 2011-10-27 13:43:29 -07:00
Brian Nicholson
2821767b76 Bug 697469 - crash mozalloc_abort - Fennec process dies on tap of AwesomeBar [r=dougt] 2011-10-27 10:12:59 -07:00
Alex Pakhotin
0440ae571d Bug 632542 - Text entered with SlideIT VKB sometimes disappears. r=blassey 2011-10-26 18:51:49 -07:00
Lucas Rocha
996fdb0f9a Sort all lists of files in Makefile.in in alphabetical order (r=mfinkle) 2011-10-27 16:27:41 +01:00
Kartikaya Gupta
0b06cd8efd Bug 697528 - Remove incorrect entries from awesome bar
Don't show bookmark items that have not been visited in the "History" section
of the awesome bar. This is done by adding a date check on the SQL query for
the history items.

Also, when the history is empty, a dummy "Bookmarks" item with no URL appears
in the Bookmarks database. Prevent this entry from showing up in the Awesomebar
UI by filtering out rows with a zero-length URL.
2011-10-27 09:51:25 -04:00
Kartikaya Gupta
7436980605 Bug 697528 - Fix NPE when history is empty (r=lucasr)
If the history is empty, then some data structures don't get initialized and
this results in an NPE. Ensure that the data structures wherever used, and do
an early exit so we don't uselessly run code when the history is empty.
2011-10-27 09:49:29 -04:00
Lucas Rocha
b6e982b925 Bug 697705 - Pass tab ID through constructor on DownloadFaviconTask (r=mfinkle)
Instead of having to type cast String args into integer.
2011-10-27 15:47:55 +01:00
Lucas Rocha
1e5fcda8fe Bug 697705 - Rename LOG_FILE_NAME to LOG_FILE in GeckoApp (r=mfinkle)
Better matches the semantics of the constant and more consistent with other
parts of the code base.
2011-10-27 15:47:55 +01:00
Lucas Rocha
cfc300a474 Bug 697120 - Show favicon on AwesomeBar's history tab (r=mfinkle) 2011-10-27 14:26:13 +01:00
Lucas Rocha
a11c44d83f Bug 697120 - Show favicons on AwesomeBar's All Pages and Bookmarks tabs (r=mfinkle) 2011-10-27 14:26:13 +01:00
Lucas Rocha
f070e7c85f Bug 697120 - Don't store "all pages" cursor as private property (r=mfinkle)
Simply get it from the adapter whenever needed (e.g. when destroing
AwesomeBarTabs).
2011-10-27 14:26:13 +01:00
Lucas Rocha
05b890b3e7 Bug 697505 - Remove all redundant uses of 'this' in Tab (r=sriram) 2011-10-27 14:18:34 +01:00
Lucas Rocha
3e6243267f Bug 697505 - Declare one property per line in Tab (r=sriram)
For consistency reasons.
2011-10-27 14:18:34 +01:00
Lucas Rocha
c39d6e723d Bug 697505 - Prefix all private properties with 'm' for consistency (r=sriram) 2011-10-27 14:18:34 +01:00
Lucas Rocha
2124401937 Bug 697505 - Rename LOG_FILE_NAME to LOG_FILE in Tab (r=sriram)
Better matches the semantics of the constant and more consistent with other
parts of the code base.
2011-10-27 14:18:34 +01:00
Lucas Rocha
631447d698 Bug 697505 - Organize imports in Tab (r=sriram)
Remove wildcard and unused imports and sort them properly.
2011-10-27 14:18:34 +01:00
Mark Finkle
f79ee03bc3 Bug 695199: Add/Remove bookmarks through menus (quick string change) 2011-10-26 23:49:57 -04:00
Sriram Ramasubramanian
baa4e9dcee Bug 695199: Add/Remove bookmarks through menus [r=mfinkle] 2011-10-26 14:33:16 -07:00
Sriram Ramasubramanian
2c304c8fd3 Bug 697562 - Hide soft keyboard when the focus is not in awesomebar text field [r=mfinkle] 2011-10-26 13:47:59 -07:00
Sriram Ramasubramanian
d512940bf9 Bug 696550: Favicon should be reset in the Tab, when there is a location change [r=mfinkle] 2011-10-26 10:50:35 -07:00
Kartikaya Gupta
ee3e74b6ae Bug 696319 - Scroll window as needed when soft keyboard is up [r=mfinkle] 2011-10-26 14:30:48 -04:00
Fabrice Desré
8d499eecc0 Bug 696520 - Enable add-on installation : part 2/2 XPInstallObserver [r=mfinkle] 2011-10-26 13:21:51 -07:00
Kartikaya Gupta
82ff50a9f9 Bug 697433 - Makefile doesn't rebuild strings correctly [r=mfinkle] 2011-10-26 10:32:23 -04:00
Wes Johnston
c6d0fab2a2 Bug 696846 - Use default system theme except on GeckoSurfaceView. r=blassey 2011-10-26 11:01:31 -07:00
Kartikaya Gupta
03e60558ea Bug 697183 - Fix crash on rotation (r=lucasr)
Prevent an NullPointerException caused by mBrowserToolbar not being initialized
before use. Happens only on rotation because it gets used only when there is an
active tab.
2011-10-25 14:02:12 -04:00
Brad Lassey
80a7a87772 bug 696062 - Clear History r=mfinkle
--HG--
extra : rebase_source : fec8263b6b33c25bc065ab5650f2c47778a8b4ff
2011-10-26 11:59:06 -04:00
Doug Turner
79b600db37 Re-enabled update checking. on my device, this takes up ~2ms of startup, could be more on devices with crappier fs.
--HG--
extra : rebase_source : 4f1f69387c2beb9acd94685a81486761d495c7ca
2011-10-25 20:10:56 -07:00
Julien Vermet
abbbd5cdb7 Bug 696282 - Implement native toast alert support [r=mfinkle] 2011-10-25 22:51:44 -04:00
Sriram Ramasubramanian
2291f4ed94 Bug 697180 - favicon replaced by default one (patch 2) [r=mfinkle] 2011-10-25 18:04:02 -07:00
Sriram Ramasubramanian
4860ab1016 Bug 697180 - favicon replaced by default one [r=mfinkle] 2011-10-25 15:01:20 -07:00
Brian Nicholson
43bb8a881f Bug 695458 - Update Preferences (crash fix followup) [r=mfinkle] 2011-10-25 19:27:54 -04:00
Brian Nicholson
c996ad5c93 Bug 697299 - Disable preferences before Gecko is loaded. r=dougt 2011-10-25 16:12:44 -07:00
Mike Hommey
4a62f1045e Bug 686464 - Leave it to Android to unpack the content process executable. r=ted 2011-10-27 14:53:20 +02:00
Brian Nicholson
1e0e681aa1 Bug 694684 - Change camel case and @android IDs [r=mfinkle] 2011-10-14 15:39:07 -07:00
Brian Nicholson
a06639c0bf Bug 695458 - Update Preferences [r=mfinkle] 2011-10-25 17:31:55 -04:00
Alex Pakhotin
89c365ee3b Bug 694688 - Preferences activity. Asynchronous preferences initialization and update. Using JSON to pass data. [r=mfinkle] 2011-10-14 12:48:02 -07:00
Sriram Ramasubramanian
030bef94b4 Bug 697063 - Tabs.getSelectedTab returns null until Gecko starts and will cause crashes [r=mfinkle] 2011-10-25 12:21:28 -07:00
Kartikaya Gupta
ce2ea3694f Bug 695742 - Implement 'Save as PDF' (missing chunk) [r=mfinkle] 2011-10-25 14:11:01 -04:00
Kartikaya Gupta
258be86c37 Bug 695742 - Implement 'Save as PDF' [r=mfinkle]
Add a menu item that allows the user to save the page the
selected tab as a PDF. Currently this will list the generated
PDF as a download.
2011-10-25 11:51:23 -04:00
Kartikaya Gupta
32f767413d Bug 695170 - Implement visited link styles [r=blassey]
Provide an IHistory interface implementation from the android widgets
rather than using the one in Places. This allows the Link class to get
history information from the android code. The IHistory implementation
talks to the Android browser history database via JNI.
The Java-side implementation attempts to batch-process the requests coming
in, and keeps an in-memory cache of the visited links to avoid multiple
hits to the database. The in-memory cache is guaranteed to be cleared
by the VM before an OOMs get thrown.
The current implementation does not consider external events that might
update the history database, and so the visited link information
provided to Gecko might not reflect the latest information in the
Android browser history database.
2011-10-25 11:39:32 -04:00
Fabrice Desré
3b171f21a2 Bug 696324 - Provide JS API for adding items to the Android menu [r=mfinkle] 2011-10-21 01:50:04 -04:00
Mark Finkle
945a12a30c Bug 697117 - Clean up some errors found at runtime [r=lucasr] 2011-10-25 11:49:22 -04:00
Lucas Rocha
cf8f1d2e30 Bug 695307 - Implement history tab in AwesomeBar (r=mfinkle) 2011-10-25 16:46:32 +01:00
Lucas Rocha
b559386bfa Bug 695307 - Implement Bookmarks tab in AwesomeBar (r=mfinkle) 2011-10-25 16:46:32 +01:00
Lucas Rocha
ae52926b92 Bug 695307 - Factor our method to open URL and close awesome bar (r=mfinkle) 2011-10-25 16:46:32 +01:00
Lucas Rocha
f9db88cf70 Bug 695307 - Factor out awesome bar search into AwesomeBarTabs (r=mfinkle)
The bookmarks and history tabs are just empty for now.
2011-10-25 16:46:32 +01:00
Lucas Rocha
31446c414a Bug 696851 - Remove unused imports from BrowserToolbar (r=sriram) 2011-10-25 14:07:01 +01:00
Lucas Rocha
fa160e0fee Bug 696851 - Remove wildcard import from AwesomeBar (r=sriram) 2011-10-25 14:07:01 +01:00
Lucas Rocha
6c5ece9694 Bug 696851 - Rename LOG_FILE_NAME to LOG_FILE in Tabs (r=sriram)
Better matches the semantics of the constant.
2011-10-25 14:07:01 +01:00
Lucas Rocha
90162a8df9 Bug 696851 - Remove unused method from AwesomeBar (r=sriram) 2011-10-25 14:07:01 +01:00
Lucas Rocha
c0d052138f Bug 695332 - Fix browser toolbar id for consistency (r=sriram) 2011-10-25 14:06:51 +01:00
Gian-Carlo Pascutto
37221e4943 No bug - Fix dangling logging strings after we refactored Java code. r=mfinkle 2011-10-25 14:44:42 +02:00
Gian-Carlo Pascutto
b4d8e60fb8 Add doorhanger notifications for Java UI. r=mfinkle 2011-10-25 14:00:37 +02:00
Sriram Ramasubramanian
6808f8af6f Bug 696927 - Use default favicon for the domain. r=mfinkle 2011-10-24 15:40:00 -07:00
Wes Johnston
23273356f2 Bug 696311 - Show current url in awesomebar. r=lucasr 2011-10-24 15:55:54 -07:00
Margaret Leibovic
e601ca9d9d Bug 695461 - Download notifications 2011-10-19 14:17:00 -04:00
Sriram Ramasubramanian
3ea80c8427 Bug 695152 - Tabs tray implementation for native UI. r=mfinkle
--HG--
extra : rebase_source : 81efd1c8844a1ecdf49be1ee28060c4e8198e23d
2011-10-24 12:20:27 -07:00
Sriram Ramasubramanian
7bf934669d Bug 695152 - On rotation, the title and favicons should be preserved. r=evilfinkle
--HG--
extra : rebase_source : 41eda4101e014f231de0139a6da0c9d12cc34d74
2011-10-24 12:36:56 -07:00
Sriram Ramasubramanian
ac2f3ce644 Addressbar gets corrupted in droid pro when keyboard suggestions are shown r=dougt 2011-10-24 14:06:19 -07:00
Fabrice Desré
2e04f94fb2 Bug 696683 - handleGeckoMessage throws java.lang.NullPointerException on startup [r=dougt] 2011-10-24 14:08:24 -07:00
Doug Turner
05f2dd0d67 Merge from m-c 2011-10-24 11:11:26 -07:00
Wes Johnston
8686209daf Bug 694455 - Implement a prompt service for native ui fennec. r=mfinkle,blassey 2011-10-24 10:05:18 -07:00
Doug Turner
2084bc10db Backing out the Quit change which is causing bug 696386. r=mfinkle 2011-10-23 21:19:42 -07:00
Doug Turner
ee3fee9c0d Bug 695836 - sync last screen and last uri preference. r=mfinkle 2011-10-23 21:11:29 -07:00
Fabrice Desré
a6d238cf37 Bug 696550 - Reset favicon when loading a new document [r=mfinkle] 2011-10-22 15:08:44 -07:00
Gian-Carlo Pascutto
79ce324964 Bug 695835 - Move favicon download to a separate thread. r=mfinkle 2011-10-21 18:56:39 +02:00
Brad Lassey
8f858b54f3 no bug - make quit work r=dougt 2011-10-19 16:31:31 -04:00
Kartikaya Gupta
e0494f5b98 Bug 695595 - Fix bug introduced in f8179ee6846a [r=mfinkle] 2011-10-18 12:53:33 -04:00
Brad Lassey
5b9e845344 bug 695457 - Use android system backend for Awesome Bar data r=dougt 2011-10-19 13:39:51 -04:00
Margaret Leibovic
e80d0747dd Bug 695177 - Add sharing to fennec native, r=blassey 2011-10-19 08:22:26 -07:00
Brian Nicholson
be6b8f0b0e Bug 695434 - Resize favicon image [r=mfinkle] 2011-10-18 21:13:13 -04:00
Fabrice Desré
4c1984b40e Backed out changeset 20d4914c7b13 : will be done in styles.xml (see bug 695434) 2011-10-18 14:33:43 -07:00
Brian Nicholson
c5a92fe745 Scale favicon size 2011-10-18 12:51:20 -07:00
Lucas Rocha
578b6d7ef4 Bug 695332 - Factor out browser toolbar into a self-contained view (r=mfinkle) 2011-10-18 13:54:41 -04:00
Kartikaya Gupta
7d2c60f26b Bug 695112 - [birch] Add an action bar to menu items usable on Honeycomb [r=mfinkle] 2011-10-17 15:34:46 -04:00
Kartikaya Gupta
9b2f5cb4f6 Bug 695100 - Code cleanup for CrashReporter (r=lucasr)
Fix indentation, remove trailing spaces, expand wildcard imports and sort them,
pull out magic constant strings, scope some methods down to private, used
java's foreach loop construct.
2011-10-17 16:27:27 -04:00
Fabrice Desré
19de227cf0 backout b559e3ee4ce9 that broke build 2011-10-17 22:36:05 -07:00
Kartikaya Gupta
839ff657a4 Bug 695100 - Misc cleanups for GeckoConnectivityReceiver (r=lucasr)
Expand wildcard imports, extract magic constant strings.
2011-10-17 17:51:59 -04:00
Kartikaya Gupta
8981e3a431 Bug 695100 - Misc cleanups in DatabaseHelper (r=lucasr)
Expand wildcard imports, remove unused strings, extract magic constant strings.
2011-10-17 16:58:50 -04:00
Kartikaya Gupta
c139519fa8 Bug 695100 - Code cleanup for CrashReporter (r=lucasr)
Fix indentation, remove trailing spaces, expand wildcard imports and sort them,
pull out magic constant strings, scope some methods down to private, used
java's foreach loop construct.
2011-10-17 16:27:27 -04:00
Kartikaya Gupta
70b1e8cf7f Bug 695100 - Fix a build warning by removing duplicate item in list of files (r=lucasr) 2011-10-17 15:33:43 -04:00
Kartikaya Gupta
64c2998d99 Bug 695100 - Code cleanup for AwesomeBar (r=lucasr)
Remove trailing spaces and some blank lines, expand wildcard imports and sort
them, pull out some magic constants, scope down visibility of fields, ensure
consistent naming of fields.
2011-10-17 15:29:08 -04:00
Kartikaya Gupta
20563a1061 Bug 695100 - Code cleanup for GeckoBookmarks (r=lucasr)
Add license text, remove unneeded fields and methods, add missing @Override
tags, fix indentation, remove trailing spaces, expand wildcard imports and sort
them, pull out magic constant strings. No functional changes.
2011-10-17 17:24:15 -04:00
Mark Finkle
f4674c6f35 Fixes and nits to the Java Tab UI 2011-10-15 02:22:25 -04:00
Doug Turner
9f22cb7a61 isEmpty() doe not exist on Java strings 2011-10-14 23:20:23 -07:00
Doug Turner
290ad3dbd4 #changeset: 78790:3f21e8a211ff
#tag:         qbase
#tag:         qtip
#tag:         tabs_in_nativeui
#tag:         tip
#user:        Sriram Ramasubramanian <sriram@mozilla.com>
#date:        Fri Oct 14 18:58:02 2011 -0700
#summary:     Support for tabs in native ui.
2011-10-14 22:35:15 -07:00
Matt Brubeck
45e83682bf Bug 694622 - [birch] Handle links from other apps on the command line [r=mfinkle] 2011-10-14 19:58:04 -07:00
Kartikaya Gupta
cf4faa2bd4 Bug 694334 - Make the mainLayout and geckoLayout variables in GeckoApp private and non-static; move the only code that uses it into GeckoApp from GeckoAppShell 2011-10-14 17:11:14 -04:00
Kartikaya Gupta
f019ceb25d Bug 694334 - Make the awesomebar, favicon, and progressbar private and non-static in GeckoApp; move the only code that uses it into GeckoApp from GeckoAppShell 2011-10-14 17:11:14 -04:00
Kartikaya Gupta
4e2f06b873 Bug 694334 - Fix bug introduced in 7f874fcc92c4 that caused the session history to be lost on rotations [r=lucasr] 2011-10-14 16:45:15 -04:00
Kartikaya Gupta
11c243e412 Bug 694334 - Minor touchups to 7f874fcc92c4: fix copy/pasted copyright block and expand glob imports to individual imports [r=lucasr] 2011-10-14 14:44:59 -04:00
Mark Finkle
117ec0a9c2 Bug 694637 - [birch] Add basic DOMTitleChanged and DOMLinkAdded support r=bnicholson 2011-10-14 16:07:17 -04:00
Doug Turner
7093994409 Merge from mozilla-central 2011-10-14 10:22:33 -07:00
Doug Turner
c52fdf8908 We need to ensure that the last screen shot is written if we forcefully quit. 2011-10-13 20:21:09 -07:00
Doug Turner
e08d0b71b9 Move hiding last screen from onTouch to when the document finishes loading. This will change after the layer manager lands 2011-10-13 19:38:04 -07:00
Fabrice Desré
f73815d99e Check index bounds in SessionHistory::getHistoryEntryAt() 2011-10-13 17:48:46 -07:00
Fabrice Desré
c2ec3288b0 StrictMode API is only available for API level >= 9 2011-10-13 17:35:12 -07:00
Brad Lassey
308b02f176 implement bookmarks UI r=dougt 2011-10-13 20:00:26 -04:00
Fabrice Desré
88634d9600 Camera support for birch - using default Android camera app 2011-10-13 16:52:43 -07:00
Doug Turner
39f8c1540b Disabling setting locale code. See bug 635342. This is probably not needed anymore. It costs about 145 ms at startup 2011-10-13 15:55:20 -07:00
Doug Turner
1c640d32e3 Remove cgroup handling. We no longer have a child process. Also, and more importantly, this code runs on the main thread. It takes about 1s to run. When we have extra processes, we should make sure that this runs on a new thread 2011-10-13 15:08:27 -07:00
Doug Turner
760ec09e12 Make sure that mStartupBitmap is loaded off of the main thread.
Also addes policy which dumps stacktraces to logcat if we are slow on the main thread.
2011-10-13 15:06:26 -07:00
sriram@mozilla.com
15639c96f0 Use styles with XML layouts in Android 2011-10-13 12:22:26 -07:00
Doug Turner
599b7bcc05 Add KEYCODE_MENU key handling to GeckoSurfaceView 2011-10-13 12:08:42 -07:00
Doug Turner
b15185f516 Hook up session history and reload. 2011-10-13 11:13:41 -07:00
Sriram Ramasubramanian
f01e048b20 Menu's xml needs to be added in Makefile.in 2011-10-13 11:02:43 -07:00
Kartikaya Gupta
1815f22d0c Evacuate the session history stuff from GeckoApp for better encapsulation, and to make fewer things static 2011-10-13 07:18:33 -07:00
Lucas Rocha
e2b96d3f5e Don't use AbsoluteLayout.LayoutParams as it's deprecated (r=mfinkle)
Use the equivalent RelativeLayout.LayoutParams instead.
2011-10-13 14:41:57 +01:00
Lucas Rocha
dab6c448b5 Supress deprecation warnings for android.text.ClipboardManager (r=kats)
We're conditionally and intentionally using it on older Android versions.
2011-10-13 14:41:57 +01:00
Lucas Rocha
170e9b4952 Remove unnecessary intermediate CharSequence variable (r=kats) 2011-10-13 14:41:57 +01:00
Doug Turner
acdd2248fa Enables simple message passing from Java->Gecko using the nsIObserver. r=blassey 2011-10-12 21:53:43 -07:00
Mark Finkle
6bd6047208 Bug 694136 - [birch] Refactor the browser JS and XUL files [r=fabrice r=kats] 2011-10-12 17:31:04 -04:00
Kartikaya Gupta
4f31612e48 Make variables private/final for better encapsulation and to allow the compiler to optimize things better 2011-10-12 08:14:30 -07:00
Kartikaya Gupta
2a1d726aa3 Remove == comparison of dynamic java strings, and also prevent collapsing empty strings in the clipboard to null r=mfinkle 2011-10-12 16:24:35 -04:00
Doug Turner
da93b7e509 Resize window when the keyboard is dimissed 2011-10-12 10:53:37 -07:00
Lucas Rocha
8cd16701e2 Name AwesomeBarCursorAdapter private properties consistently (r=mfinkle) 2011-10-12 16:54:14 +01:00
Kartikaya Gupta
ee1ce61c1f Give the awesome bar a URI keyboard 2011-10-12 08:39:28 -07:00
Doug Turner
1587475a73 During first run, or when the lastScreen.png is missing, we currently show a black screen. I am changing this to display a stock image with some text over it. We should think about exactly what we want to show here. 2011-10-11 22:08:42 -07:00
Doug Turner
ca9d51b706 Moving options menu from java to xml 2011-10-11 20:32:23 -07:00
Fabrice Desré
f2ecf7b606 Bug 694795 - Black rectangle in top left corner after opening a link from another app [r=mbrubeck] 2011-11-04 16:46:34 -07:00
Rail Aliiev
8a56fd9db2 Bug 616542 - Shorten file path length of mochitest; r=ted 2011-11-04 21:13:42 +00:00
Matt Brubeck
6132faa3d4 Back out dcc28a7cfa31, 13342c7d1fc3, f005ff7b0e2a (bug 692198, bug 692196, bug 692200) because of test failures 2011-10-13 12:17:06 -07:00
Brian Nicholson
1576378a92 Replaced Threads with AsyncTasks 2011-10-11 11:11:38 -07:00
Brad Lassey
077d4b12cc cleaned up warnings 2011-10-11 13:09:44 -04:00
Brad Lassey
bf3da9cc4c backed out dougt because nothing compiled 2011-10-11 13:09:43 -04:00
Doug Turner
2a32b79086 Too many class members that are not prefixed with m. Fixing that up. 2011-10-11 09:20:33 -07:00
Sriram Ramasubramanian
d90f949cf5 Update theme 2011-10-11 00:09:03 -07:00
Doug Turner
f7ffea8082 Patch from https://github.com/snorp/mozilla-central faster branch. 2011-10-10 17:40:17 -07:00
Mark Finkle
376ac2073d Bug 684826 - Last typed character from password field is not visible when password is filled in [r=blassey] 2011-10-10 10:52:06 -04:00
Matt Brubeck
d53193f383 Back out f7bf7ac18a79 (bug 684826), 3a910924c50c (bug 687367), and 524a6bb8744b (bug 693086) because of Android bustage on a CLOSED TREE 2011-10-10 09:43:58 -07:00
Mark Finkle
bf49bcc153 Bug 684826 - Last typed character from password field is not visible when password is filled in [r=blassey] 2011-10-10 10:52:06 -04:00
James Willcox
a3512c3ba8 Bug 692198 - Make Flash on Android draw to bitmap intead of SurfaceView directly r=blassey
commit 872c1f5bf1f2c205c3f999409ed55f31627c968a
Author: James Willcox <jwillcox@mozilla.com>
    Bug 692198 - Make Flash on Android draw to bitmap intead of SurfaceView directly
2011-10-05 14:44:19 -04:00
Ali Juma
06a85a7909 Bug 689626 - EGL surfaceChanged event shouldn't draw a frame of the previous size on Honeycomb. r=jrmuizel 2011-10-13 09:43:05 -04:00
Neil Deakin
5548813f50 Bug 503879, remove nsIToolkit, make nsToolkit a singleton, remove it from some widget platforms, and don't pass it around when creating widgets, original patch by robarnold, r=roc 2011-10-25 11:05:32 -04:00
Jeff Walden
eb2cb918a4 Back out everything since 5435ee09cf7b. Tinderbox compilers hate me. r=epic-fail 2011-10-12 12:21:53 -07:00
Jeff Walden
77ebbde4ab Bug 639469 - Implement mozilla::ArrayLength and mozilla::ArrayEnd, and replace uses of NS_ARRAY_LENGTH whenever possible. r=cjones
--HG--
extra : rebase_source : 860a8271bf7e51cde358f2a4185c410de1fc2960
2011-10-10 22:50:08 -07:00
Oonishi Atsushi
5db5ec8f54 Bug 311007 - Add aFlags arg to onLocationChange(...), to distinguish between same-document and different-document. r=smaug, sr=bzbarsky 2011-11-10 15:01:11 +01:00
Brad Lassey
4b62b4041c bug 633239 - event loop responsiveness for Android r=dougt 2011-08-04 03:32:57 -04:00
Mounir Lamouri
504b2c1700 Bug 700263 - Add remainingTime support to android backend. r=cjones 2011-11-09 15:13:37 +01:00
Mounir Lamouri
acf8bceffc Bug 699742 - (4/4) battery.level should be a double (android backend). r=cjones 2011-11-09 09:56:37 +01:00
Mounir Lamouri
f5e2b5a571 Bug 699741 - Do not check if the change is higher than 0.01 to send a levelchange event. r=cjones 2011-11-09 09:53:01 +01:00
Ed Morley
01f7bdf1f4 Backout 31d345404c98 (bug 671634) due to missing privacy review and necko peer review; a=dao 2011-11-08 10:43:36 +00:00
Chris Jones
32b5bac310 Bug 679966, part 1: Add vibrator support for android. r=blassey,cjones 2011-09-30 00:00:48 -07:00
Wes Johnston
78c00de613 Bug 671634 - Update Fennec useragent to more closely match stock browser. r=dougt 2011-11-07 15:03:53 -08:00
Mounir Lamouri
dcbf1a1d55 Bug 702858 - Do not stop listening to battery changes when in the background on Android. r=cjones 2011-11-22 10:35:53 +01:00
Mike Hommey
6c1448574b Bug 696555 - Move update.locale into omni.jar. r=rstrong 2011-11-22 08:05:59 +01:00
Mike Hommey
24650c0957 Bug 686466 part 3 - Use a pre-generated nsXREAppData struct instead of application.ini. r=ted,bsmedberg
--HG--
rename : build/application.ini => build/application.ini.in
2011-11-22 08:05:59 +01:00
Justin Wood
81b01c45f5 Merge m-c to m-i 2011-11-19 04:33:12 -05:00
Matt Brubeck
8ea2f10f13 Bug 703661 - Add back WAKE_LOCK permission request for PowerManager [r=blassey] 2011-11-18 12:13:00 -08:00
Brad Lassey
65bc23dc14 bug 702183 - Fennec 9.0b1 now asking for extra "read sensitive log data" permission r=dougt 2011-11-17 20:08:14 -05:00
James Willcox
8d9185239c Bug 692198 - Make Flash on Android draw to bitmap intead of SurfaceView directly
From 718909dd4d8c1b1ffb2e8ea72cc7d75c281e0773 Mon Sep 17 00:00:00 2001

--HG--
extra : rebase_source : 01bc243a06d5470b559c8c892425d7918b5a7de3
2011-10-05 14:44:19 -04:00
Ehsan Akhgari
2a602a5685 Bug 690892 - Replace PR_TRUE/PR_FALSE with true/false on mozilla-central; rs=dbaron
Landing on a CLOSED TREE
2011-10-17 10:59:28 -04:00
Jeff Walden
b7753477cf Bug 693469 - Implement mozilla::ArrayLength and mozilla::ArrayEnd, and replace uses of NS_ARRAY_LENGTH whenever possible. (Exceptions: assigning to static initializers, use in static assertions, as template parameters, etc. These will go away when the relevant compilers have C++11 constexpr support.) r=cjones
--HG--
extra : rebase_source : b4bae9a0f85abf2feb828609b50e756916b99a6f
2011-10-10 22:50:08 -07:00
Ed Morley
091dcad0ea Merge last green changeset of mozilla-inbound to mozilla-central 2011-10-15 12:19:29 +01:00
Ms2ger
cd715d9c9b Bug 540433 - Remove nsIDocumentViewer; r=smaug 2011-10-15 09:33:26 +02:00
Neil Deakin
a613d39bb5 Bug 694227 nsIBaseWindow::blurSuppression is unusued, r-bsmedbeg,sr=bz 2011-10-14 14:11:22 -04:00
Neil Deakin
731458c274 Bug 694224, remove appshell argument from various widget creation methods, r=roc 2011-10-14 09:06:39 -04:00
Fabrice Desré
fb1b6260ea Bug 690635 - Issues with camera input on DroidX [r=wjohnston] 2011-10-11 11:21:27 -07:00
Ed Morley
e8fdfa2c99 Bug 687358 - Remove nsWWJSUtils and use nsJSUtils instead; r=jst 2011-10-11 14:50:09 +01:00
Mark Finkle
5dbaf2f766 Bug 684826 - Last typed character from password field is not visible when password is filled in [r=blassey] 2011-10-10 10:52:06 -04:00
Fabrice Desré
2da98dac54 Bug 692961 - Capturing image on camera api crashes [@ mozalloc_abort | __swrite ] [r=blassey] 2011-10-10 14:01:39 -07:00
Matt Brubeck
eb9465f1a3 Back out f7bf7ac18a79 (bug 684826), 3a910924c50c (bug 687367), and 524a6bb8744b (bug 693086) because of Android bustage on a CLOSED TREE 2011-10-10 09:47:27 -07:00
Jonathan Kew
e80daf3d78 bug 655337 - part 2 - don't unpack hyphenation patterns on android, look for them in omnijar. r=mfinkle,bsmedberg,smontagu 2011-10-06 16:06:36 +01:00
Matt Brubeck
5e5628b0b1 Merge mozilla-central to mozilla-inbound 2011-10-06 10:23:02 -07:00
Jonathan Kew
6546463bfc backout changeset e1eac54b1ed3 (bug 655337 pt 2) for causing a leak. 2011-10-06 17:29:39 +01:00
Ed Morley
72ed7305fc Bug 689884 - Deleted the now unused Makefiles from the tree; r=khuey 2011-10-06 17:15:07 +01:00
Ed Morley
918444551f Bug 689884 - Skip Makefiles that are no-op or else only |DIRS = a_single_subdir|; r=khuey 2011-10-06 17:15:07 +01:00
Ed Morley
99f78ba391 Merge last green changeset of mozilla-inbound to mozilla-central 2011-10-06 16:25:34 +01:00
Rob Campbell
b9fc64ed05 merge m-c to fx-team 2011-10-06 08:00:51 -03:00
Felix Fung
313fa65df7 Bug 691703 - MOZILLA_STRICT_API isn't used anymore. r=ted 2011-10-04 02:32:03 -07:00
Matt Brubeck
d6af4c95e2 Bug 691054 - Back out bug 667980 (getNetworkLinkType) on Android because of scary permissions [r=dougt] 2011-10-03 16:34:43 -07:00
James Willcox
a37ac5a39e Bug 686405 - remove the debug button and just wait 5s for the debugger; r=dougt
From d125ca2f69f2002d96e75761bb8450932aa8f37e Mon Sep 17 00:00:00 2001
2011-10-03 12:00:36 -04:00
Jonathan Kew
9a71cdd844 bug 655337 - part 2 - don't unpack hyphenation patterns on android, look for them in omnijar. r=mfinkle,bsmedberg,smontagu 2011-10-06 16:06:36 +01:00
James Willcox
18117114b1 Bug 690705 - Don't put the restart helper activity in the recent list [r=blassey] 2011-09-30 08:08:00 -04:00
Mark Finkle
c207b376a7 Bug 645799 - Hide the crash reporter from the recently used apps window [r=blassey] 2011-09-30 14:37:19 -04:00
Sriram Ramasubramanian
e98266ca22 Bug 689330 - "update LauncherShortcuts to use the new web apps repository" [r=mark.finkle] 2011-10-04 17:45:00 -04:00
Matt Brubeck
87a74a287c Bug 691818 - Mark camera features as optional in AndroidManifest.xml [r=blassey] 2011-10-04 11:58:17 -07:00