Commit Graph

779 Commits

Author SHA1 Message Date
Alex Pakhotin
b991b8fb2b Bug 697773 - Cannot type in AwesomeBar URL bar with hard keyboard. r=blassey 2011-11-08 17:33:27 -08:00
Kartikaya Gupta
c61bff164f Bug 701871 - Remove hacky 3-second timer [r=pcwalton]
Remove the 3-second timer that waits for Gecko, and instead
use the event from Gecko.
2011-11-14 11:19:28 -05:00
Brian Nicholson
23d901b30b Bug 700006 - [layers] about:home show dead space [r=dougt] 2011-11-14 11:14:02 -05:00
Kartikaya Gupta
4d875e7c06 Bug 701873 - Fix NPE in layers code [r=pcwalton]
Straighten out some of the convoluted startup flow, which
fixes the NPE as reported in the bug.
2011-11-14 09:28:53 -05:00
Sriram Ramasubramanian
b51e1f8aa7 Bug 701994: Tab counter animation should show overlap of numbers [r=mfinkle] 2011-11-12 01:15:19 -08:00
Sriram Ramasubramanian
8ff906c41c Bug 701985: Favicon should have transparent background [r=mfinkle] 2011-11-11 21:49:58 -08:00
Margaret Leibovic
bdfb150259 Bug 700913 - Add persistence and timeout features to Doorhangers. r=mfinkle 2011-11-11 13:44:09 -08:00
Margaret Leibovic
dc603e9fb1 Bug 701305 - Refactor DoorHanger code to make it easier to support persistence/timeout options. r=mfinkle 2011-11-11 13:43:38 -08:00
Sriram Ramasubramanian
ccc76e8771 Bug 698095 - Tab count increment/decrement needs animation [r=mfinkle] 2011-11-11 11:26:57 -08:00
Margaret Leibovic
2209f5357f Bug 701285 - No favicons display after loading pages. r=pcwalton 2011-11-11 10:05:16 -08:00
Sriram Ramasubramanian
8125d3c673 Bug 698598: Reskinning stackable doorhangers. r=mfinkle 2011-11-09 14:45:57 -08:00
Brad Lassey
9161fef949 bug 699716 - Incorrect screenshot shown when starting up after clearing app data r=mfinkle 2011-11-10 21:37:21 -05:00
Brad Lassey
728afb5089 bug 700354 - Use of AsyncTask needs some cleanup r=mfinkle 2011-11-10 21:34:38 -05:00
Doug Turner
a0790afc4b bug 700847 - crash stack found in logcat while running pageloader tests on native fennec r=blassey 2011-11-10 21:05:02 -05:00
Lucas Rocha
b82ae0353d Bug 696833 - Implement dynamically coloured tabs in AwesomeBar (r=mfinkle) 2011-11-10 11:22:08 +00:00
Lucas Rocha
a5f59ad0c7 Bug 696833 - Change style of awesome bar entry as per design (r=mfinkle) 2011-11-10 11:18:09 +00:00
Doug Turner
774a4ffd7a Backed out changeset 821f8e1cd0ed 2011-11-09 19:38:53 -08:00
Doug Turner
7c8a8ea376 Test to see if changes to XRE exit have caused the talos regressions. Should be push to try, but try is dead. See bug 701232. 2011-11-09 18:25:33 -08:00
Patrick Walton
c4170c90c4 Bug 695448 - Implement a Java compositor, and use it to scroll. r=? 2011-11-09 17:39:29 -08:00
Matt Brubeck
955a2d79b2 Revert to addb9a82a6b8 (undo my failed backouts) 2011-11-09 17:31:09 -08:00
Matt Brubeck
ee8c2aaa03 Revert duplicate add-ons menu item accidentally added when merging backouts 2011-11-09 16:33:53 -08:00
Kartikaya Gupta
8b295cc6ce 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-11-08 16:41:50 -05:00
Sriram Ramasubramanian
541273fb93 Bug 698220: The tabs should be restored when awesomebar is rotated. [r=mfinkle] 2011-10-31 13:07:23 -07:00
Matt Brubeck
c6ca3ef1b3 Back out 150b57fca97c, 22f16ec4052a, 03c53ee42fc9
* * *
Back out 03c53ee42fc9 on suspicion of causing talos failures
2011-11-09 16:06:20 -08:00
Matt Brubeck
a6c9f2fda4 Back out c1881e7e046c on suspicion of causing talos failures 2011-11-09 13:17:37 -08:00
Matt Brubeck
532e3145b7 Back out c09a52af4cd8 on suspicion of causing talos failures 2011-11-09 12:30:35 -08:00
Alex Pakhotin
4995053c81 Backing out bug 697773 due to VKB regressions 2011-11-09 10:18:50 -08:00
Kartikaya Gupta
fc7617beb2 Bug 700720 - Fix crash in Favicons.java on Honeycomb [r=lucasr]
On Honeycomb the database schema changes mean that
a query to update the favicon DB fails with a crash.
Modifying the query so that it also updates the URL
field with the existing URL field value (i.e. a no-op
update) fixes the crash.
2011-11-09 10:06:56 -05:00
Brad Lassey
1423b2e9c3 bug 700922 - Cursors in Favicons.java are not closed r=dougt 2011-11-09 00:30:19 -05:00
Brad Lassey
b2ac10421e bug 700917 - splash screen shown even with non-default profile r=dougt 2011-11-09 00:28:53 -05:00
Sriram Ramasubramanian
90c25bc37a Bug 699706: Scroll to the selected tab in Tabs tray [r=mfinkle] 2011-11-08 13:17:15 -08:00
Alex Pakhotin
0b5f798f83 Bug 697773 - Cannot type in AwesomeBar URL bar with hard keyboard. r=blassey 2011-11-08 19:06:28 -08:00
Sriram Ramasubramanian
0dde4806f6 Bug 696832: Icons for Menu based on the SDK version [r=mfinkle] 2011-11-08 11:33:55 -08:00
Wes Johnston
fa85a2fe07 Bug 700153 - Allow opening tabs in the background. r=mfinkle 2011-11-08 12:49:25 -08:00
Margaret Leibovic
e05464dfc2 Bug 698836 - Add full screen mode. r=blassey 2011-11-08 10:36:04 -08:00
Kartikaya Gupta
a24735c2b3 Bug 700675 - Display the last-title along with the screenshot [r=mfinkle]
So as to better fool the user.
2011-11-08 12:55:10 -05:00
Kartikaya Gupta
0fe7b84d96 Bug 700675 - (cleanup) Do some code cleanup for the saved prefs data [r=mfinkle]
Document magic numbers by using named constants, remove unused method.
2011-11-08 12:54:57 -05:00
Doug Turner
b167053206 backing out the backout of the landing of the patrick patch queue. lets try this again in the morning with fresh eyes and fresh coffee 2011-11-07 23:54:21 -08:00
Doug Turner
acd647739e Removing use strict from a hosed merge 2011-11-07 20:54:50 -08:00
Patrick Walton
e20f60272b Back out birch-pan-zoom patch queue due to crashes on mochitests. no bug, r=mfinkle 2011-11-07 17:04:44 -08:00
Doug Turner
ad5c7fe0b3 Fixing last surfaceView reference 2011-11-07 14:46:58 -08:00
Doug Turner
abb9a1ffb6 Switch into the snap state faster after the overscroll. 2011-11-07 14:17:01 -08:00
Doug Turner
ad5c52346c Use a state machine in the PanZoomController to fix some weird touch behaviours. 2011-11-07 14:17:01 -08:00
Doug Turner
a99dc9d139 Hook up wesj's long press code (40e3d6b1122d) again 2011-11-07 14:17:01 -08:00
Doug Turner
f08223cca2 Move the ScaleGestureDetector.OnScaleGestureListener implementation over to PanZoomController rather than delegating through LayerController. 2011-11-07 14:17:01 -08:00
Patrick Walton
0435d12c95 imported patch 1111-fix-motion-event-targeting 2011-11-07 14:17:01 -08:00
Patrick Walton
12b3dd4e62 imported patch 1111-fix-zoom-velocity 2011-11-07 14:17:01 -08:00
Patrick Walton
4e38236d65 imported patch 1111-fix-checkerboarding-definition 2011-11-07 14:17:01 -08:00
Doug Turner
17299ac89c Fix overscroll behavior when the document is zoomed smaller than the screen and 2011-11-07 14:17:01 -08:00
Doug Turner
fc2b032468 Change the axis fling states from ints into an enum. 2011-11-07 14:17:01 -08:00
Doug Turner
2081db70d4 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
c783463c77 Fix up the ScaleGestureDetector usage and pinch behaviour 2011-11-07 14:17:00 -08:00
Doug Turner
581dddda30 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
95929abe96 imported patch shrinkpattern 2011-11-07 14:17:00 -08:00
Patrick Walton
0d652e87cc * * *
try: -b do -p linux-android -u none -t none
2011-11-07 14:15:58 -08:00
Sriram Ramasubramanian
caff07ea26 Bug 698598: Avoid flickering while closing a background tab [r=mfinkle] 2011-11-07 10:30:50 -08:00
Sriram Ramasubramanian
d100dfbd25 Bug 698598: Stackable doorhangers in a scrolling pane [r=mfinkle] 2011-11-07 10:27:02 -08:00
Eitan Isaacson
4cfc447c55 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
6180f2fde8 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
92901d7eab 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
9cd95792d9 Merge 2011-11-07 10:20:27 -08:00
Lucas Rocha
e17e5d2033 Bug 697194 - Implement favicon caching (r=blassey) 2011-11-07 13:55:25 +00:00
Brad Lassey
8c812afde2 bug 699442 - implement quit r=dougt 2011-11-03 22:06:32 -04:00
Brad Lassey
60144e7de8 bug 700218 - Unclosed Cursor detected assertions when running Fennec Native r=dougt 2011-11-07 00:40:18 -05:00
Doug Turner
d1545231e8 Merge 2011-11-04 10:46:58 -07:00
Mark Finkle
fa619f0a0c Bug 696076 - Telemetry for Mobile [r=kats] 2011-11-04 10:42:29 -04:00
Doug Turner
8fdf340d1e 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
58e3acdb2a 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
2458e7ff04 Bug 696846 - Basic context menu support. r=mfinkle 2011-11-03 15:09:37 -07:00
Sriram Ramasubramanian
2d59ef56a1 Bug 699492: Animate the tab-list popup [r=mfinkle] 2011-11-03 11:34:58 -07:00
Sriram Ramasubramanian
1ff438fce1 Bug 699155: Tabs should preserve the order in the list [r=mfinkle] 2011-11-02 23:42:11 -07:00
Sriram Ramasubramanian
21c2c99318 Bug 698220: The tabs should be restored when awesomebar is rotated. [r=mfinkle] 2011-10-31 13:07:23 -07:00
Doug Turner
574d71187c 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
233a45e5ce 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
09d0913ffb 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
45e2efc02b Bug 698436: Use a custom blue spinner for progress bar [r=mfinkle] 2011-11-02 15:52:20 -07:00
Sriram Ramasubramanian
790d471d58 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
98b4676b51 Bug 696462: Refresh UX of tabs list UI [r=mfinkle] 2011-11-02 11:36:44 -07:00
Gian-Carlo Pascutto
5f7a022bfa Bug 697087 - Multiple notifications content permission prompt. r=mfinkle 2011-11-01 21:26:11 +01:00
Gian-Carlo Pascutto
28cbed5935 Bug 697086 - Content permission notifications not dismissed on page dismiss. r=mfinkle 2011-11-01 21:02:20 +01:00
Sriram Ramasubramanian
e15695daa2 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
15738a8548 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
f18e14ec28 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
359670131e 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
5d57e96849 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
fb5ee6d00f Bug 698114 - Don't rebuild the app on orientation changes. r=blassey 2011-10-31 15:03:37 -07:00
Wes Johnston
c9390e22cd Bug 698311 - Make sure we return -1 from cancelled prompts. r=mfinkle 2011-10-31 14:36:30 -07:00
Lucas Rocha
4cdc8dedcc 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
1d37ee2292 Bug 698223 - Add Tab method to return title for display (r=mfinkle) 2011-10-31 20:36:50 +00:00
Lucas Rocha
fd3015eef8 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
27887be1a6 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
02716c1c27 Bug 697122 - Show only a label on AwesomeBar's tab indicators (r=mfinkle) 2011-10-31 16:42:56 +00:00
Kartikaya Gupta
7730e828cd 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
dea32173fe 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
4739274e82 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
6b28046753 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
cab0de2495 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
64a73319e8 Bug 697070 - Use default favicon on tab if no image is available (r=sriram) 2011-10-31 10:45:20 +00:00
Sriram Ramasubramanian
72b8100899 Bug 698042: Spinner style progress bar for browser toolbar (part 2) [r=mfinkle] 2011-10-28 11:08:47 -07:00
Sriram Ramasubramanian
1757f47f46 Bug 698042: Spinner style progress bar for browser toolbar (part 1) [r=mfinkle] 2011-10-28 11:02:57 -07:00
Wes Johnston
c37abf63fd Bug 695485 - Bustage. Missing file. r=mfinkle 2011-10-28 13:17:16 -07:00
Wes Johnston
3cb697d67a Bug 695485 - Native UI for select elements. r=mfinkle 2011-10-28 11:49:19 -07:00
Doug Turner
7c148bcac8 merge 2011-10-28 11:46:10 -07:00
Kartikaya Gupta
5d674678fa 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
e65a6fd8cb Bug 696461: Primary UI: Reskinning the browser toolbar and awesomebar [r=mfinkle] 2011-10-27 16:53:09 -07:00
Brad Lassey
9253989e6a fix build bustage 2011-10-28 13:26:06 -04:00
Mounir Lamouri
e248153a1f Bug 696038 - (3/3) Battery API Android backend. r=cjones 2011-11-02 16:36:44 +01:00
Mounir Lamouri
505e9f3919 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
949973d39e no bug - make quit work r=dougt
--HG--
extra : rebase_source : 167f35f6ac7543d3954e8f7c0d641d6e70414ce9
2011-10-19 16:31:31 -04:00
Lucas Rocha
2e8e7b55aa 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
6680ec38b7 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
72d31fe15a 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
bf0526bbe2 Bug 697747 - Limit the number of rows returned in AwesomeBar queries (r=mfinkle) 2011-10-28 15:57:09 +01:00
Mark Finkle
221a346fdf Bug 697720 - Add 'Clear private data' preference [r=blassey] 2011-10-28 00:55:15 -04:00
Brian Nicholson
69bcbcb853 Bug 697299 - Disable preferences before Gecko is loaded (ui thread fix) [r=dougt] 2011-10-27 14:30:34 -07:00
Sriram Ramasubramanian
0d2a5ba2a2 Bug 696912 - Fix layout of download progress notification. r=alexp 2011-10-24 17:24:48 -07:00
Alex Pakhotin
0878bdc06b 640025 - Clear text function using ezKeyboard does not work. r=blassey 2011-10-27 13:43:29 -07:00
Brian Nicholson
b5154706fd Bug 697469 - crash mozalloc_abort - Fennec process dies on tap of AwesomeBar [r=dougt] 2011-10-27 10:12:59 -07:00
Alex Pakhotin
547454bd36 Bug 632542 - Text entered with SlideIT VKB sometimes disappears. r=blassey 2011-10-26 18:51:49 -07:00
Lucas Rocha
16a83b95d6 Sort all lists of files in Makefile.in in alphabetical order (r=mfinkle) 2011-10-27 16:27:41 +01:00
Kartikaya Gupta
0eeaa1871f 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
a896111996 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
d77bc49e63 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
a5d090029f 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
d328885479 Bug 697120 - Show favicon on AwesomeBar's history tab (r=mfinkle) 2011-10-27 14:26:13 +01:00
Lucas Rocha
082d69f8ad Bug 697120 - Show favicons on AwesomeBar's All Pages and Bookmarks tabs (r=mfinkle) 2011-10-27 14:26:13 +01:00
Lucas Rocha
f56b67615b 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
b918490593 Bug 697505 - Remove all redundant uses of 'this' in Tab (r=sriram) 2011-10-27 14:18:34 +01:00
Lucas Rocha
448bc82d09 Bug 697505 - Declare one property per line in Tab (r=sriram)
For consistency reasons.
2011-10-27 14:18:34 +01:00
Lucas Rocha
bb0e2e7ec2 Bug 697505 - Prefix all private properties with 'm' for consistency (r=sriram) 2011-10-27 14:18:34 +01:00
Lucas Rocha
e59c05f079 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
d3e77a787d 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
2347997721 Bug 695199: Add/Remove bookmarks through menus (quick string change) 2011-10-26 23:49:57 -04:00
Sriram Ramasubramanian
eeceee0060 Bug 695199: Add/Remove bookmarks through menus [r=mfinkle] 2011-10-26 14:33:16 -07:00
Sriram Ramasubramanian
76d9ad660f 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
cfffd6ded3 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
75ab7e26b8 Bug 696319 - Scroll window as needed when soft keyboard is up [r=mfinkle] 2011-10-26 14:30:48 -04:00
Fabrice Desré
c18cf04dbc Bug 696520 - Enable add-on installation : part 2/2 XPInstallObserver [r=mfinkle] 2011-10-26 13:21:51 -07:00
Kartikaya Gupta
e7a4de252e Bug 697433 - Makefile doesn't rebuild strings correctly [r=mfinkle] 2011-10-26 10:32:23 -04:00
Wes Johnston
952cb689d2 Bug 696846 - Use default system theme except on GeckoSurfaceView. r=blassey 2011-10-26 11:01:31 -07:00
Kartikaya Gupta
be464ef76b 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
e3b7d29ac2 bug 696062 - Clear History r=mfinkle
--HG--
extra : rebase_source : fec8263b6b33c25bc065ab5650f2c47778a8b4ff
2011-10-26 11:59:06 -04:00
Doug Turner
273b51d05d 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
5c2f485b4c Bug 696282 - Implement native toast alert support [r=mfinkle] 2011-10-25 22:51:44 -04:00
Sriram Ramasubramanian
cfc392bd83 Bug 697180 - favicon replaced by default one (patch 2) [r=mfinkle] 2011-10-25 18:04:02 -07:00
Sriram Ramasubramanian
54e93e9f90 Bug 697180 - favicon replaced by default one [r=mfinkle] 2011-10-25 15:01:20 -07:00
Brian Nicholson
54cf8b69a6 Bug 695458 - Update Preferences (crash fix followup) [r=mfinkle] 2011-10-25 19:27:54 -04:00
Brian Nicholson
28b889b935 Bug 697299 - Disable preferences before Gecko is loaded. r=dougt 2011-10-25 16:12:44 -07:00
Mike Hommey
b2a287031a Bug 686464 - Leave it to Android to unpack the content process executable. r=ted 2011-10-27 14:53:20 +02:00
Brian Nicholson
98022f4b12 Bug 694684 - Change camel case and @android IDs [r=mfinkle] 2011-10-14 15:39:07 -07:00
Brian Nicholson
c61e02b06b Bug 695458 - Update Preferences [r=mfinkle] 2011-10-25 17:31:55 -04:00
Alex Pakhotin
370407efa9 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
f9644b6a74 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
7132b1b237 Bug 695742 - Implement 'Save as PDF' (missing chunk) [r=mfinkle] 2011-10-25 14:11:01 -04:00
Kartikaya Gupta
12ee2ab2dc 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
ae1acb0127 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é
fcb7aea477 Bug 696324 - Provide JS API for adding items to the Android menu [r=mfinkle] 2011-10-21 01:50:04 -04:00
Mark Finkle
f70f45c10f Bug 697117 - Clean up some errors found at runtime [r=lucasr] 2011-10-25 11:49:22 -04:00
Lucas Rocha
ca48f11004 Bug 695307 - Implement history tab in AwesomeBar (r=mfinkle) 2011-10-25 16:46:32 +01:00
Lucas Rocha
07521ab637 Bug 695307 - Implement Bookmarks tab in AwesomeBar (r=mfinkle) 2011-10-25 16:46:32 +01:00
Lucas Rocha
ea649e62e9 Bug 695307 - Factor our method to open URL and close awesome bar (r=mfinkle) 2011-10-25 16:46:32 +01:00
Lucas Rocha
dc21a781f3 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
e112e13d93 Bug 696851 - Remove unused imports from BrowserToolbar (r=sriram) 2011-10-25 14:07:01 +01:00
Lucas Rocha
7dcb474435 Bug 696851 - Remove wildcard import from AwesomeBar (r=sriram) 2011-10-25 14:07:01 +01:00
Lucas Rocha
6c0e89457e 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
bad2f5e68b Bug 696851 - Remove unused method from AwesomeBar (r=sriram) 2011-10-25 14:07:01 +01:00
Lucas Rocha
9b24e0d49e Bug 695332 - Fix browser toolbar id for consistency (r=sriram) 2011-10-25 14:06:51 +01:00
Gian-Carlo Pascutto
5553eed7b6 No bug - Fix dangling logging strings after we refactored Java code. r=mfinkle 2011-10-25 14:44:42 +02:00
Gian-Carlo Pascutto
65bca172d7 Add doorhanger notifications for Java UI. r=mfinkle 2011-10-25 14:00:37 +02:00
Sriram Ramasubramanian
527ff56cf4 Bug 696927 - Use default favicon for the domain. r=mfinkle 2011-10-24 15:40:00 -07:00
Wes Johnston
b61a6562a6 Bug 696311 - Show current url in awesomebar. r=lucasr 2011-10-24 15:55:54 -07:00
Margaret Leibovic
c81980ad46 Bug 695461 - Download notifications 2011-10-19 14:17:00 -04:00
Sriram Ramasubramanian
82120aae93 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
bb442bad1c 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
3836ab3ab6 Addressbar gets corrupted in droid pro when keyboard suggestions are shown r=dougt 2011-10-24 14:06:19 -07:00
Fabrice Desré
5045a8fd71 Bug 696683 - handleGeckoMessage throws java.lang.NullPointerException on startup [r=dougt] 2011-10-24 14:08:24 -07:00
Doug Turner
e8670cc25d Merge from m-c 2011-10-24 11:11:26 -07:00
Wes Johnston
566b8b773b Bug 694455 - Implement a prompt service for native ui fennec. r=mfinkle,blassey 2011-10-24 10:05:18 -07:00
Doug Turner
5a15b2030f Backing out the Quit change which is causing bug 696386. r=mfinkle 2011-10-23 21:19:42 -07:00
Doug Turner
6c96336089 Bug 695836 - sync last screen and last uri preference. r=mfinkle 2011-10-23 21:11:29 -07:00
Fabrice Desré
138e39a062 Bug 696550 - Reset favicon when loading a new document [r=mfinkle] 2011-10-22 15:08:44 -07:00
Gian-Carlo Pascutto
4623d5946b Bug 695835 - Move favicon download to a separate thread. r=mfinkle 2011-10-21 18:56:39 +02:00
Brad Lassey
72ea013272 no bug - make quit work r=dougt 2011-10-19 16:31:31 -04:00
Kartikaya Gupta
3d1008c0f8 Bug 695595 - Fix bug introduced in f8179ee6846a [r=mfinkle] 2011-10-18 12:53:33 -04:00
Brad Lassey
b4de11a0ea bug 695457 - Use android system backend for Awesome Bar data r=dougt 2011-10-19 13:39:51 -04:00
Margaret Leibovic
78ce61b50d Bug 695177 - Add sharing to fennec native, r=blassey 2011-10-19 08:22:26 -07:00
Brian Nicholson
baa8aa9b35 Bug 695434 - Resize favicon image [r=mfinkle] 2011-10-18 21:13:13 -04:00
Fabrice Desré
ab3a01d567 Backed out changeset 20d4914c7b13 : will be done in styles.xml (see bug 695434) 2011-10-18 14:33:43 -07:00
Brian Nicholson
e077aa3c00 Scale favicon size 2011-10-18 12:51:20 -07:00
Lucas Rocha
e3a4ae04df Bug 695332 - Factor out browser toolbar into a self-contained view (r=mfinkle) 2011-10-18 13:54:41 -04:00
Kartikaya Gupta
4daf69f3d5 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
ffe6d1004d 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é
8295a4aa0d backout b559e3ee4ce9 that broke build 2011-10-17 22:36:05 -07:00
Kartikaya Gupta
1512dc02b6 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
ffa247ec71 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
51d625c326 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
39bff7a15d 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
bf779f29da 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
9cc9016005 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
3db50fe254 Fixes and nits to the Java Tab UI 2011-10-15 02:22:25 -04:00
Doug Turner
bdb70f5a77 isEmpty() doe not exist on Java strings 2011-10-14 23:20:23 -07:00
Doug Turner
751543f2b6 #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
fae32ada54 Bug 694622 - [birch] Handle links from other apps on the command line [r=mfinkle] 2011-10-14 19:58:04 -07:00
Kartikaya Gupta
d49dafc4b8 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
11943dfeb0 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
d2af8b1191 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
d50700b220 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
8bd5538b73 Bug 694637 - [birch] Add basic DOMTitleChanged and DOMLinkAdded support r=bnicholson 2011-10-14 16:07:17 -04:00
Doug Turner
888ef1bc19 Merge from mozilla-central 2011-10-14 10:22:33 -07:00
Doug Turner
9698df47df 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
90c510b59f 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é
4409d32006 Check index bounds in SessionHistory::getHistoryEntryAt() 2011-10-13 17:48:46 -07:00
Fabrice Desré
0e4dfe71f0 StrictMode API is only available for API level >= 9 2011-10-13 17:35:12 -07:00
Brad Lassey
c5c342b6a8 implement bookmarks UI r=dougt 2011-10-13 20:00:26 -04:00
Fabrice Desré
2c9cb382ff Camera support for birch - using default Android camera app 2011-10-13 16:52:43 -07:00
Doug Turner
509173b567 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
5f5532169a 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
e347868344 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
6d78265908 Use styles with XML layouts in Android 2011-10-13 12:22:26 -07:00
Doug Turner
24728e5b84 Add KEYCODE_MENU key handling to GeckoSurfaceView 2011-10-13 12:08:42 -07:00
Doug Turner
2148831b5e Hook up session history and reload. 2011-10-13 11:13:41 -07:00
Sriram Ramasubramanian
545c653462 Menu's xml needs to be added in Makefile.in 2011-10-13 11:02:43 -07:00
Kartikaya Gupta
feb8de34b6 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
4d127712ca 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
f166b1a672 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
e75d9be406 Remove unnecessary intermediate CharSequence variable (r=kats) 2011-10-13 14:41:57 +01:00
Doug Turner
261f2fecea Enables simple message passing from Java->Gecko using the nsIObserver. r=blassey 2011-10-12 21:53:43 -07:00
Mark Finkle
2cb6a66ba0 Bug 694136 - [birch] Refactor the browser JS and XUL files [r=fabrice r=kats] 2011-10-12 17:31:04 -04:00
Kartikaya Gupta
d9e82d6fbb 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
5329da1855 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
899db5353b Resize window when the keyboard is dimissed 2011-10-12 10:53:37 -07:00
Lucas Rocha
208e7a551a Name AwesomeBarCursorAdapter private properties consistently (r=mfinkle) 2011-10-12 16:54:14 +01:00
Kartikaya Gupta
5106f36c4a Give the awesome bar a URI keyboard 2011-10-12 08:39:28 -07:00
Doug Turner
41b092049c 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
2795e42225 Moving options menu from java to xml 2011-10-11 20:32:23 -07:00
Fabrice Desré
81d52c79b9 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
Matt Brubeck
800156d876 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
8b5fd4086d Replaced Threads with AsyncTasks 2011-10-11 11:11:38 -07:00
Brad Lassey
8d45fda683 cleaned up warnings 2011-10-11 13:09:44 -04:00
Brad Lassey
61d8a429d6 backed out dougt because nothing compiled 2011-10-11 13:09:43 -04:00
Doug Turner
99ec91b22d Too many class members that are not prefixed with m. Fixing that up. 2011-10-11 09:20:33 -07:00
Sriram Ramasubramanian
ae3d04613b Update theme 2011-10-11 00:09:03 -07:00
Doug Turner
952b4094a1 Patch from https://github.com/snorp/mozilla-central faster branch. 2011-10-10 17:40:17 -07:00
Mark Finkle
d9be7ab180 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
cfe560c34b 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
5ab0f860ac 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
ae1884f3a8 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
62e5128d2f 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
Brad Lassey
30960abdf5 bug 633239 - event loop responsiveness for Android r=dougt 2011-08-04 03:32:57 -04:00
Mounir Lamouri
fecd5a34c5 Bug 700263 - Add remainingTime support to android backend. r=cjones 2011-11-09 15:13:37 +01:00