Commit Graph

1494 Commits

Author SHA1 Message Date
Sriram Ramasubramanian
c4635f55f5 Bug 703344: Stop and security icons are bigger than needed [r=mfinkle] 2011-11-17 12:21:27 -08:00
Kartikaya Gupta
f3f1f4e4c0 Bug 702412 - Fix float comparisons to use an epsilon [r=pcwalton] 2011-11-17 14:43:28 -05:00
Kartikaya Gupta
bb325120ea Bug 703059 - Fixup log tag strings [r=mfinkle]
Standardize on "Gecko" + filename as the log tag for
each file. Strip "Gecko" from the front of the filename
if it already starts with "Gecko". This allows grepping
for either the filename or Gecko in logcat output.
2011-11-17 14:36:09 -05:00
Sriram Ramasubramanian
567e92413d Bug 703094: AwesomeScreen should use same background as URL bar [r=mfinkle] 2011-11-17 11:18:23 -08:00
Brian Nicholson
a2f2e0a6d3 Bug 701826 - Preferences gets unchecked temporarily when going to the preferences page [r=mfinkle] 2011-11-17 11:22:09 -08:00
Sriram Ramasubramanian
49c66cb77b Bug 703115: Site security represented a lock in URLbar [r=mfinkle] 2011-11-16 17:26:44 -08:00
Sriram Ramasubramanian
995704084e Bug 697726: Stop button in URL bar [r=mfinkle] 2011-11-16 16:23:22 -08:00
Kartikaya Gupta
bb57a2e56e Bug 700559 - Fix crash with overlapping fling events [r=pcwalton]
A crash occurs when a second fling is started while the
first fling has a non-zero velocity but zero excess. This
happens because the displacement could temporarily trigger
an overscroll, but then since the new viewport is not saved,
it reverts back to no overscroll. However, state variables
have already been updated, leading to things being out of
sync and triggering the crash. Adding a call to update
the position fixes this. See bug for more details.
2011-11-17 13:25:56 -05:00
Lucas Rocha
e21452e84e Bug 697189 - Don't use transparent theme on AwesomeBar screen (r=mfinkle)
Otherwise the current web page will be visible 'under' the AwesomeBar screen
while SKB slides in and out.
2011-11-17 10:52:23 +00:00
Lucas Rocha
c957149ada Bug 702962 - Always dismiss SKB on tab change in AwesomeBar (r=mfinkle)
Because we lazy load the content of bookmarks and history tabs, the focus was
not moving to the tab content on tab switch when you first access them.
2011-11-17 10:30:53 +00:00
Lucas Rocha
79894b4708 Bug 701014 - Dismiss SKB when scrolling results in AwesomeBar (r=mfinkle) 2011-11-17 10:30:51 +00:00
Doug Turner
1321168afe Bug 703057 - Put DrawToFile on another thread. r=blassey
--HG--
extra : rebase_source : f90ae83248da6b270baf8abbb873bdb89977d8fc
2011-11-16 14:32:44 -08:00
Sriram Ramasubramanian
08a99b0393 Bug 702821: Doorhanger arrows should point to favicon in the URL bar [r=mfinkle] 2011-11-15 16:15:18 -08:00
Sriram Ramasubramanian
3e89f497ac Bug 701370: Adding affordance to URL bar [r=mfinkle] 2011-11-15 15:52:54 -08:00
Kartikaya Gupta
73a1752d9c Bug 703004 - Fix NPE on touch during startup [r=pcwalton]
Fix a couple of places that transform a point but
don't properly deal with the possible null return
value.
2011-11-16 13:42:45 -05:00
Brad Lassey
b0a7d2f7cb bug 701703 - Null pointer exception thrown loading Fennec Start Page r=dougt 2011-11-16 10:42:10 -05:00
James Willcox
fc7fda77fb Bug 702643 - Flash instances should resize according to zoom factor r=blassey 2011-11-16 10:42:10 -05:00
James Willcox
42bb73874f Bug 702883 - Use a native solution for locking/unlocking plugin surfaces 2011-11-16 10:42:09 -05:00
Lucas Rocha
9775ff1a30 Bug 702688 - Search key on awesomebar screen should dismiss it (r=mfinkle) 2011-11-16 15:03:52 +00:00
Lucas Rocha
bd2f2933f4 Bug 702306 - Ensure we use sane text colours in AwesomeBar tabs (r=mfinkle)
Relying on system's theme to set text colour on tabs might not work on certain
devices.
2011-11-16 15:01:33 +00:00
Lucas Rocha
3b01037f3c Bug 698816 - Use proper text colours in crash reporter UI (r=mfinkle) 2011-11-16 14:38:44 +00:00
Lucas Rocha
1da37c897a Bug 698816 - Fix indentation on crash_reporter.xml (r=mfinkle) 2011-11-16 14:38:42 +00:00
Alex Pakhotin
ac78073798 Bug 699792 - ALT key not working correctly on Motorola DROID PRO. r=blassey 2011-11-15 18:05:02 -08:00
Margaret Leibovic
6c4776b00b Bug 702778 - Only update the doorhanger popup for the currently selected tab. r=mfinkle 2011-11-15 14:51:57 -08:00
Matt Brubeck
d8e483c521 Bug 701527 - Hide indexedDB quota prompt when it is canceled by content [r=margaret] 2011-11-15 14:45:54 -08:00
Wes Johnston
0375317692 Backout 6b1414e0a6e8 and 8f3eacc9ceb6 2011-11-15 14:04:07 -08:00
Wes Johnston
275fdb2d58 Bug 701594 - Snap back if you zoom out further than the page size. r=pcwalton 2011-11-15 13:41:28 -08:00
Wes Johnston
c70ecf77a7 Bug 697701 - Support double tap zooming. r=pcwalton 2011-11-15 13:41:19 -08:00
Margaret Leibovic
9d2fa41a0d Bug 702386 - Support setting persistence to -1 for doorhangers (and fix buggy doorhanger removal code). r=mfinkle 2011-11-15 12:30:54 -08:00
Doug Turner
2adea6abb5 Merge with m-c fd478c02c29c 2011-11-15 11:18:06 -08:00
Ed Morley
4c666fa158 Merge last green changeset of mozilla-inbound to mozilla-central 2011-11-15 19:07:09 +00:00
Kartikaya Gupta
a9b123b600 Bug 702416 - Replace FloatRect with android.graphics.RectF [r=pcwalton] 2011-11-15 12:13:06 -05:00
Kartikaya Gupta
309c4ec3c6 Bug 702416 - Replace IntRect with android.graphics.Rect [r=pcwalton] 2011-11-15 12:11:53 -05:00
Kartikaya Gupta
419a047fb6 Bug 702416 - Replace FloatPoint with android.graphics.PointF [r=pcwalton] 2011-11-15 11:59:41 -05:00
Kartikaya Gupta
5580ff0a78 Bug 702416 - Replace IntPoint with android.graphics.Point [r=pcwalton] 2011-11-15 11:58:28 -05:00
Patrick Walton
5bf50a1ec6 Bug 702403 - Don't fling if the velocity is low [r=kats] 2011-11-15 11:58:21 -05:00
Doug Turner
75b15a91d9 Bug 690201 - dead code - mLastDrawEvent never used. r=mbrubeck 2011-11-14 19:12:26 -08:00
Doug Turner
a9f4e7d04b Bug 701996 - Merge widget/src/android from birch back into mozilla-central. r=dougt/blassey 2011-11-14 19:12:14 -08:00
James Willcox
d66ce5b421 Bug 692988 - Give Flash a valid application directory 2011-11-14 19:47:38 -05:00
James Willcox
d04d6b39eb Bug 702341 - Add a hack to make plugins (mostly) positioned correctly [r=blassey] 2011-11-14 20:22:12 -05:00
James Willcox
08e5a65dbf bug 702339 - Go back to using an AbsoluteLayout r=blassey 2011-11-15 10:43:42 -05:00
James Willcox
6f3b739b4d bug 702334 - Fix deadlocks caused by Flash r=blassey 2011-11-15 10:43:42 -05:00
James Willcox
f7d2a69d61 bug 702330 - Revert to drawing Flash plugin with a SurfaceView r=blassey 2011-11-15 10:43:42 -05:00
Sriram Ramasubramanian
f1e9e3e831 Bug 702287: Caret should be shown throughtout the animation [r=mfinkle] 2011-11-14 15:30:34 -08:00
Sriram Ramasubramanian
8913a79c96 Bug 700936: Tabs button should be on the right [r=mfinkle] 2011-11-14 14:26:39 -08:00
Sriram Ramasubramanian
dddaedcc14 Bug 700434: Dismiss doorhangers on pressing back button [r=mfinkle] 2011-11-14 15:58:14 -08:00
Sriram Ramasubramanian
023d6bdc77 Bug 700434: Dismiss doorhangers on touching outside it [r=mfinkle] 2011-11-14 15:49:06 -08:00
Doug Turner
e717fb795f Merge. 2011-11-15 01:09:26 -08:00
Brian Nicholson
45fcbea09c Bug 701834 - Missing favicons for some sites [r=mfinkle] 2011-11-14 14:48:27 -08:00
Kartikaya Gupta
671882cc3d Bug 701292 - Add a pan threshold [r=pcwalton]
Don't switch into pan mode if the amount moved after the touch-down
is small. This should prevent eating clicks if the user's finger
wiggles slightly during the click.
2011-11-14 15:55:43 -05:00
Kartikaya Gupta
48151cc6c2 Bug 701292 - Fix clicking while panning [r=pcwalton]
This is a temporary fix that reduces the incidence of
accidental clicks while panning. It probably messes with
touch events but those aren't working now anyway.
2011-11-10 11:46:18 -05:00
Sriram Ramasubramanian
6834e03e1f Bug 701982: AwesomeBar Tabs color mismatch [r=mfinkle] 2011-11-11 21:25:51 -08:00
Alex Pakhotin
aca4854d9e Bug 697773 - Cannot type in AwesomeBar URL bar with hard keyboard. r=blassey 2011-11-08 17:33:27 -08:00
Kartikaya Gupta
97f81729fb 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
a2da3dc4af Bug 700006 - [layers] about:home show dead space [r=dougt] 2011-11-14 11:14:02 -05:00
Kartikaya Gupta
b22c3b87cd 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
6a7646e1f2 Bug 701994: Tab counter animation should show overlap of numbers [r=mfinkle] 2011-11-12 01:15:19 -08:00
Sriram Ramasubramanian
e5b77362bd Bug 701985: Favicon should have transparent background [r=mfinkle] 2011-11-11 21:49:58 -08:00
Margaret Leibovic
ba6e3ac1ec Bug 700913 - Add persistence and timeout features to Doorhangers. r=mfinkle 2011-11-11 13:44:09 -08:00
Margaret Leibovic
402207629a 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
6b4cc94d97 Bug 698095 - Tab count increment/decrement needs animation [r=mfinkle] 2011-11-11 11:26:57 -08:00
Margaret Leibovic
7ca2f84d72 Bug 701285 - No favicons display after loading pages. r=pcwalton 2011-11-11 10:05:16 -08:00
Sriram Ramasubramanian
5f0c74c0b8 Bug 698598: Reskinning stackable doorhangers. r=mfinkle 2011-11-09 14:45:57 -08:00
Brad Lassey
9dbb9d5d69 bug 699716 - Incorrect screenshot shown when starting up after clearing app data r=mfinkle 2011-11-10 21:37:21 -05:00
Brad Lassey
7636e5c582 bug 700354 - Use of AsyncTask needs some cleanup r=mfinkle 2011-11-10 21:34:38 -05:00
Doug Turner
063a8a0351 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
3fda6cb1ed Bug 696833 - Implement dynamically coloured tabs in AwesomeBar (r=mfinkle) 2011-11-10 11:22:08 +00:00
Lucas Rocha
fe3c726691 Bug 696833 - Change style of awesome bar entry as per design (r=mfinkle) 2011-11-10 11:18:09 +00:00
Doug Turner
a5140f1fbd Backed out changeset 821f8e1cd0ed 2011-11-09 19:38:53 -08:00
Doug Turner
4dff536ab9 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
d20e174b9a Bug 695448 - Implement a Java compositor, and use it to scroll. r=? 2011-11-09 17:39:29 -08:00
Matt Brubeck
3b6926c9b5 Revert to addb9a82a6b8 (undo my failed backouts) 2011-11-09 17:31:09 -08:00
Matt Brubeck
b8e4eb9a26 Revert duplicate add-ons menu item accidentally added when merging backouts 2011-11-09 16:33:53 -08:00
Kartikaya Gupta
ac70c5daa5 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
Chris Jones
b2261fa023 Bug 705009: Report DeviceMotion values in units of m/s^2, not Gs, per current spec. r=dougt 2011-11-23 16:27:40 -08:00
Michael Wu
3e0835d415 Bug 694206 - Add Gonk (B2G) widget backend, r=cjones 2011-11-10 16:17:46 -08:00
Sriram Ramasubramanian
2e466839bd Bug 698220: The tabs should be restored when awesomebar is rotated. [r=mfinkle] 2011-10-31 13:07:23 -07:00
Matt Brubeck
7267c6f214 Back out 150b57fca97c, 22f16ec4052a, 03c53ee42fc9
* * *
Back out 03c53ee42fc9 on suspicion of causing talos failures
2011-11-09 16:06:20 -08:00
Matt Brubeck
109da08309 Back out c1881e7e046c on suspicion of causing talos failures 2011-11-09 13:17:37 -08:00
Matt Brubeck
53f0485f6e Back out c09a52af4cd8 on suspicion of causing talos failures 2011-11-09 12:30:35 -08:00
Alex Pakhotin
b33625e389 Backing out bug 697773 due to VKB regressions 2011-11-09 10:18:50 -08:00
Kartikaya Gupta
26c62fa9fc 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
27d86195d3 bug 700922 - Cursors in Favicons.java are not closed r=dougt 2011-11-09 00:30:19 -05:00
Brad Lassey
c7025047e8 bug 700917 - splash screen shown even with non-default profile r=dougt 2011-11-09 00:28:53 -05:00
Sriram Ramasubramanian
41aa671700 Bug 699706: Scroll to the selected tab in Tabs tray [r=mfinkle] 2011-11-08 13:17:15 -08:00
Alex Pakhotin
7b5ca27ad9 Bug 697773 - Cannot type in AwesomeBar URL bar with hard keyboard. r=blassey 2011-11-08 19:06:28 -08:00
Sriram Ramasubramanian
217fd73d3e Bug 696832: Icons for Menu based on the SDK version [r=mfinkle] 2011-11-08 11:33:55 -08:00
Wes Johnston
5f31222f4d Bug 700153 - Allow opening tabs in the background. r=mfinkle 2011-11-08 12:49:25 -08:00
Margaret Leibovic
a8026118c1 Bug 698836 - Add full screen mode. r=blassey 2011-11-08 10:36:04 -08:00
Kartikaya Gupta
d949de0030 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
b46afb2c25 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
5e91e54024 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
c971b7be6d Removing use strict from a hosed merge 2011-11-07 20:54:50 -08:00
Patrick Walton
7d0b84a62b 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
8630190f5a Fixing last surfaceView reference 2011-11-07 14:46:58 -08:00
Doug Turner
4f1177d705 Switch into the snap state faster after the overscroll. 2011-11-07 14:17:01 -08:00
Doug Turner
4b990c4e03 Use a state machine in the PanZoomController to fix some weird touch behaviours. 2011-11-07 14:17:01 -08:00
Doug Turner
80ce9daa60 Hook up wesj's long press code (40e3d6b1122d) again 2011-11-07 14:17:01 -08:00
Doug Turner
b0b5b9e180 Move the ScaleGestureDetector.OnScaleGestureListener implementation over to PanZoomController rather than delegating through LayerController. 2011-11-07 14:17:01 -08:00
Patrick Walton
3e0027fff3 imported patch 1111-fix-motion-event-targeting 2011-11-07 14:17:01 -08:00
Patrick Walton
9830fa0451 imported patch 1111-fix-zoom-velocity 2011-11-07 14:17:01 -08:00
Patrick Walton
025f84c879 imported patch 1111-fix-checkerboarding-definition 2011-11-07 14:17:01 -08:00
Doug Turner
d836d53c20 Fix overscroll behavior when the document is zoomed smaller than the screen and 2011-11-07 14:17:01 -08:00
Doug Turner
a87f2ec13d Change the axis fling states from ints into an enum. 2011-11-07 14:17:01 -08:00
Doug Turner
b4de76d375 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
6863caa7a7 Fix up the ScaleGestureDetector usage and pinch behaviour 2011-11-07 14:17:00 -08:00
Doug Turner
1a0fd2e75d 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
1e8c9c2470 imported patch shrinkpattern 2011-11-07 14:17:00 -08:00
Patrick Walton
129c7c71ff * * *
try: -b do -p linux-android -u none -t none
2011-11-07 14:15:58 -08:00
Sriram Ramasubramanian
efb9826e34 Bug 698598: Avoid flickering while closing a background tab [r=mfinkle] 2011-11-07 10:30:50 -08:00
Sriram Ramasubramanian
b68e2d2abc Bug 698598: Stackable doorhangers in a scrolling pane [r=mfinkle] 2011-11-07 10:27:02 -08:00
Eitan Isaacson
7e098f7158 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
5a893c18d8 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
36e3cbab75 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
0050a0ab2b Merge 2011-11-07 10:20:27 -08:00
Lucas Rocha
a03fe6854c Bug 697194 - Implement favicon caching (r=blassey) 2011-11-07 13:55:25 +00:00
Ed Morley
6a998be2c5 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
0c65a1b5e9 bug 699442 - implement quit r=dougt 2011-11-03 22:06:32 -04:00
Brad Lassey
15dc495b51 bug 700218 - Unclosed Cursor detected assertions when running Fennec Native r=dougt 2011-11-07 00:40:18 -05:00
Doug Turner
cd42b892d2 Merge 2011-11-04 10:46:58 -07:00
Mark Finkle
85f2bd569d Bug 696076 - Telemetry for Mobile [r=kats] 2011-11-04 10:42:29 -04:00
Doug Turner
562e08742e 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
d42ad806e3 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
22cf474b9d Bug 696846 - Basic context menu support. r=mfinkle 2011-11-03 15:09:37 -07:00
Sriram Ramasubramanian
3cdba5bd49 Bug 699492: Animate the tab-list popup [r=mfinkle] 2011-11-03 11:34:58 -07:00
Sriram Ramasubramanian
452e9441bc Bug 699155: Tabs should preserve the order in the list [r=mfinkle] 2011-11-02 23:42:11 -07:00
Sriram Ramasubramanian
cb7e47434c Bug 698220: The tabs should be restored when awesomebar is rotated. [r=mfinkle] 2011-10-31 13:07:23 -07:00
Doug Turner
af22635a9a 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
9005fea036 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
6560f19145 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
72d4171824 Bug 698436: Use a custom blue spinner for progress bar [r=mfinkle] 2011-11-02 15:52:20 -07:00
Sriram Ramasubramanian
aa28c23674 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
351be26665 Bug 696462: Refresh UX of tabs list UI [r=mfinkle] 2011-11-02 11:36:44 -07:00
Gian-Carlo Pascutto
1edf7bf410 Bug 697087 - Multiple notifications content permission prompt. r=mfinkle 2011-11-01 21:26:11 +01:00
Gian-Carlo Pascutto
42e5a1b78d Bug 697086 - Content permission notifications not dismissed on page dismiss. r=mfinkle 2011-11-01 21:02:20 +01:00
Sriram Ramasubramanian
c817fdb118 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
9f5e5a9f08 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
f1d78e3e5c 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
6f94edd8c5 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
3b26190f6f 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
009cc94911 Bug 698114 - Don't rebuild the app on orientation changes. r=blassey 2011-10-31 15:03:37 -07:00
Wes Johnston
e849546a82 Bug 698311 - Make sure we return -1 from cancelled prompts. r=mfinkle 2011-10-31 14:36:30 -07:00
Lucas Rocha
b62a9a106d 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
40d88c005f Bug 698223 - Add Tab method to return title for display (r=mfinkle) 2011-10-31 20:36:50 +00:00
Lucas Rocha
fa9c813cb3 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
28bc25ad4f 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
0d4cb003be Bug 697122 - Show only a label on AwesomeBar's tab indicators (r=mfinkle) 2011-10-31 16:42:56 +00:00
Kartikaya Gupta
e0d04795c9 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
6ddb4a7a0c 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
4f8c464c42 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
758518eb4c 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
8d6802e9a2 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
f6ac877371 Bug 697070 - Use default favicon on tab if no image is available (r=sriram) 2011-10-31 10:45:20 +00:00
Sriram Ramasubramanian
dac635736d Bug 698042: Spinner style progress bar for browser toolbar (part 2) [r=mfinkle] 2011-10-28 11:08:47 -07:00
Sriram Ramasubramanian
3a05000dbb Bug 698042: Spinner style progress bar for browser toolbar (part 1) [r=mfinkle] 2011-10-28 11:02:57 -07:00
Wes Johnston
ff3fb5e3f8 Bug 695485 - Bustage. Missing file. r=mfinkle 2011-10-28 13:17:16 -07:00
Wes Johnston
19d77538ea Bug 695485 - Native UI for select elements. r=mfinkle 2011-10-28 11:49:19 -07:00
Doug Turner
5215d252e5 merge 2011-10-28 11:46:10 -07:00
Kartikaya Gupta
49c41ad007 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
f0faac4a87 Bug 696461: Primary UI: Reskinning the browser toolbar and awesomebar [r=mfinkle] 2011-10-27 16:53:09 -07:00
Brad Lassey
11508ddfb4 fix build bustage 2011-10-28 13:26:06 -04:00
Mounir Lamouri
ff4a7f0cf3 Bug 674725 - Part O - Receiving SMS: Android backend. r=cjones 2011-11-24 14:10:20 +01:00
Mounir Lamouri
98c0c1714e Bug 674725 - Part J - Basic implementation of mozSms.send(). r=cjones 2011-11-21 00:00:46 +01:00
Mounir Lamouri
81a2fb6c4d Bug 674725 - Part I - Implement mozSms.getNumberOfMessagesForText(). r=smaug,cjones 2011-11-25 10:48:51 +01:00
Mounir Lamouri
c628222d07 Bug 705156 - Fix flaky test embedding/test/test_window_open_units.html. r=roc 2011-11-25 10:46:10 +01:00
Mounir Lamouri
96af51d523 Bug 696038 - (3/3) Battery API Android backend. r=cjones 2011-11-02 16:36:44 +01:00
Mounir Lamouri
2545c63c8e 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
dd3fde0590 no bug - make quit work r=dougt
--HG--
extra : rebase_source : 167f35f6ac7543d3954e8f7c0d641d6e70414ce9
2011-10-19 16:31:31 -04:00
Lucas Rocha
5b37fe89ad 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
453857dd30 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
97205982a6 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
a77f62e102 Bug 697747 - Limit the number of rows returned in AwesomeBar queries (r=mfinkle) 2011-10-28 15:57:09 +01:00
Mark Finkle
1dc03ea66d Bug 697720 - Add 'Clear private data' preference [r=blassey] 2011-10-28 00:55:15 -04:00
Brian Nicholson
0576c53df1 Bug 697299 - Disable preferences before Gecko is loaded (ui thread fix) [r=dougt] 2011-10-27 14:30:34 -07:00
Sriram Ramasubramanian
a77c3b5dec Bug 696912 - Fix layout of download progress notification. r=alexp 2011-10-24 17:24:48 -07:00
Alex Pakhotin
9bd4747b47 640025 - Clear text function using ezKeyboard does not work. r=blassey 2011-10-27 13:43:29 -07:00
Brian Nicholson
b09df1d22f Bug 697469 - crash mozalloc_abort - Fennec process dies on tap of AwesomeBar [r=dougt] 2011-10-27 10:12:59 -07:00
Alex Pakhotin
93984b164c Bug 632542 - Text entered with SlideIT VKB sometimes disappears. r=blassey 2011-10-26 18:51:49 -07:00
Lucas Rocha
ac71209a6e Sort all lists of files in Makefile.in in alphabetical order (r=mfinkle) 2011-10-27 16:27:41 +01:00
Kartikaya Gupta
2442eea565 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
4bc688651f 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
ded2716513 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
9ba4cce21e 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
fdda65fb83 Bug 697120 - Show favicon on AwesomeBar's history tab (r=mfinkle) 2011-10-27 14:26:13 +01:00
Lucas Rocha
dc2f59e3d2 Bug 697120 - Show favicons on AwesomeBar's All Pages and Bookmarks tabs (r=mfinkle) 2011-10-27 14:26:13 +01:00
Lucas Rocha
2473b58948 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
e470e6a065 Bug 697505 - Remove all redundant uses of 'this' in Tab (r=sriram) 2011-10-27 14:18:34 +01:00
Lucas Rocha
8a829df413 Bug 697505 - Declare one property per line in Tab (r=sriram)
For consistency reasons.
2011-10-27 14:18:34 +01:00
Lucas Rocha
2ce4527f1b Bug 697505 - Prefix all private properties with 'm' for consistency (r=sriram) 2011-10-27 14:18:34 +01:00
Lucas Rocha
c86e5ca648 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
202d69b40e 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
0e4fe51f5e Bug 695199: Add/Remove bookmarks through menus (quick string change) 2011-10-26 23:49:57 -04:00
Sriram Ramasubramanian
a804a397d9 Bug 695199: Add/Remove bookmarks through menus [r=mfinkle] 2011-10-26 14:33:16 -07:00
Sriram Ramasubramanian
776065b205 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
e9fea0ef7b 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
2928558ff7 Bug 696319 - Scroll window as needed when soft keyboard is up [r=mfinkle] 2011-10-26 14:30:48 -04:00
Fabrice Desré
89eebfb854 Bug 696520 - Enable add-on installation : part 2/2 XPInstallObserver [r=mfinkle] 2011-10-26 13:21:51 -07:00
Kartikaya Gupta
b4fa6d3706 Bug 697433 - Makefile doesn't rebuild strings correctly [r=mfinkle] 2011-10-26 10:32:23 -04:00
Wes Johnston
8566d6f8d4 Bug 696846 - Use default system theme except on GeckoSurfaceView. r=blassey 2011-10-26 11:01:31 -07:00
Kartikaya Gupta
ef2223f074 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
be573351b1 bug 696062 - Clear History r=mfinkle
--HG--
extra : rebase_source : fec8263b6b33c25bc065ab5650f2c47778a8b4ff
2011-10-26 11:59:06 -04:00
Doug Turner
6bd56269dd 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
f91951e6ae Bug 696282 - Implement native toast alert support [r=mfinkle] 2011-10-25 22:51:44 -04:00
Sriram Ramasubramanian
2d128f4fa4 Bug 697180 - favicon replaced by default one (patch 2) [r=mfinkle] 2011-10-25 18:04:02 -07:00
Sriram Ramasubramanian
9ad006f36b Bug 697180 - favicon replaced by default one [r=mfinkle] 2011-10-25 15:01:20 -07:00
Brian Nicholson
9f62d867e3 Bug 695458 - Update Preferences (crash fix followup) [r=mfinkle] 2011-10-25 19:27:54 -04:00
Brian Nicholson
073b9b08fb Bug 697299 - Disable preferences before Gecko is loaded. r=dougt 2011-10-25 16:12:44 -07:00
Mike Hommey
c04dec79a7 Bug 686464 - Leave it to Android to unpack the content process executable. r=ted 2011-10-27 14:53:20 +02:00
Brian Nicholson
0bd71dd0c0 Bug 694684 - Change camel case and @android IDs [r=mfinkle] 2011-10-14 15:39:07 -07:00
Brian Nicholson
baa232250a Bug 695458 - Update Preferences [r=mfinkle] 2011-10-25 17:31:55 -04:00
Alex Pakhotin
d8211c0f97 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
e57942b36a 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
e6ca51bef0 Bug 695742 - Implement 'Save as PDF' (missing chunk) [r=mfinkle] 2011-10-25 14:11:01 -04:00
Kartikaya Gupta
eaa96956d3 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
d076409347 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é
a75e3b9a67 Bug 696324 - Provide JS API for adding items to the Android menu [r=mfinkle] 2011-10-21 01:50:04 -04:00
Mark Finkle
a8aa234257 Bug 697117 - Clean up some errors found at runtime [r=lucasr] 2011-10-25 11:49:22 -04:00
Lucas Rocha
20923e00cc Bug 695307 - Implement history tab in AwesomeBar (r=mfinkle) 2011-10-25 16:46:32 +01:00
Lucas Rocha
58f4d5db65 Bug 695307 - Implement Bookmarks tab in AwesomeBar (r=mfinkle) 2011-10-25 16:46:32 +01:00
Lucas Rocha
dfe7fd36ac Bug 695307 - Factor our method to open URL and close awesome bar (r=mfinkle) 2011-10-25 16:46:32 +01:00
Lucas Rocha
aa7d4e927d 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
4c809c316e Bug 696851 - Remove unused imports from BrowserToolbar (r=sriram) 2011-10-25 14:07:01 +01:00
Lucas Rocha
04cc0166ed Bug 696851 - Remove wildcard import from AwesomeBar (r=sriram) 2011-10-25 14:07:01 +01:00
Lucas Rocha
d29cbcf5dc 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
18ad385776 Bug 696851 - Remove unused method from AwesomeBar (r=sriram) 2011-10-25 14:07:01 +01:00
Lucas Rocha
ecf6717825 Bug 695332 - Fix browser toolbar id for consistency (r=sriram) 2011-10-25 14:06:51 +01:00
Gian-Carlo Pascutto
856d858b61 No bug - Fix dangling logging strings after we refactored Java code. r=mfinkle 2011-10-25 14:44:42 +02:00
Gian-Carlo Pascutto
6973917c1c Add doorhanger notifications for Java UI. r=mfinkle 2011-10-25 14:00:37 +02:00
Sriram Ramasubramanian
8d95702096 Bug 696927 - Use default favicon for the domain. r=mfinkle 2011-10-24 15:40:00 -07:00
Wes Johnston
443fca0b29 Bug 696311 - Show current url in awesomebar. r=lucasr 2011-10-24 15:55:54 -07:00
Margaret Leibovic
d64d64a762 Bug 695461 - Download notifications 2011-10-19 14:17:00 -04:00
Sriram Ramasubramanian
03c42af896 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
dedcb28dbb 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
f3ecf7b6e2 Addressbar gets corrupted in droid pro when keyboard suggestions are shown r=dougt 2011-10-24 14:06:19 -07:00
Fabrice Desré
3d92da214d Bug 696683 - handleGeckoMessage throws java.lang.NullPointerException on startup [r=dougt] 2011-10-24 14:08:24 -07:00
Doug Turner
205f53d1b2 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