Commit Graph

1458 Commits

Author SHA1 Message Date
Lucas Rocha
9b4b251ae9 Bug 699786 - Cancel pending favicon loads when location changes (r=blassey) 2011-11-17 21:35:19 +00:00
Lucas Rocha
d14280ccd9 Bug 699786 - Add API and infra to support favicon load cancellation (r=blassey) 2011-11-17 21:35:17 +00:00
Lucas Rocha
7630d6c2b4 Bug 699786 - Use Android's AsyncTask in Favicons (r=blassey)
Ensure that listener is always called on main UI thread. We'll need AsyncTask's
cancellation support in Favicons.
2011-11-17 21:35:14 +00:00
Sriram Ramasubramanian
4a85aab8a1 Bug 697098: Do not scroll tab list on onTabsChanged() [r=mfinkle] 2011-11-17 15:31:08 -08:00
Patrick Walton
75825ea861 Bug 703421 - Part 2: Add an API bridge so that picking up part 1 of this patch from m-c won't break us. rs=pcwalton 2011-11-17 19:24:35 -08:00
James Willcox
1c68992047 Bug 703069 - Do a better job of guessing plugin package name r=blassey 2011-11-17 13:26:08 -05:00
Brad Lassey
4866903b3c bug 703080 - we need a way to determine the appname from the apk r=aki,dougt 2011-11-17 20:15:29 -05:00
Brad Lassey
b9be9ccac3 bug 702183 - Fennec 9.0b1 now asking for extra "read sensitive log data" permission r=dougt 2011-11-17 20:08:14 -05:00
Patrick Walton
1910d1d7c0 Bug 703426 - Fix race condition when loading screenshot. r=dougt 2011-11-17 16:34:55 -08:00
Brian Nicholson
c9f50a4283 Bug 701839 - Wrong favicon displayed when both default location and link exists (crash fix) CLOSED TREE 2011-11-17 14:34:11 -08:00
Doug Turner
d3adf11251 Bug 701023 - strictmode Disk read Violation on startup - Move loading the PlaceholderLayerClient last screen png to a thread. This results in a bit of checkerboarding before the file is read in and drawn to the screen. r=pcwalton
--HG--
extra : rebase_source : 8ede767adbbc496d6c4f68277092193e08cfb2cc
2011-11-17 13:04:21 -08:00
Lucas Rocha
1f335acd34 Bug 700951 - Back button on AwesomeBar should return to browser (r=mfinkle)
Except when SKB is in fullscreen mode, in which case we simply dismiss the
keyboard.
2011-11-17 15:47:06 +00:00
Lucas Rocha
be9441799d Bug 700951 - Factor out method to cancel and finish AwesomeBar (r=mfinkle)
So that we can reuse same code in other parts of AwesomeBar.
2011-11-17 15:47:03 +00:00
Brian Nicholson
159942b9ec Bug 701839 - Wrong favicon displayed when both default location and link exists [r=mfinkle] 2011-11-17 12:57:27 -08:00
Sriram Ramasubramanian
e758ab9184 Bug 703344: Stop and security icons are bigger than needed [r=mfinkle] 2011-11-17 12:21:27 -08:00
Kartikaya Gupta
2be53983e3 Bug 702412 - Fix float comparisons to use an epsilon [r=pcwalton] 2011-11-17 14:43:28 -05:00
Kartikaya Gupta
f3c449c527 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
2767043d6a Bug 703094: AwesomeScreen should use same background as URL bar [r=mfinkle] 2011-11-17 11:18:23 -08:00
Brian Nicholson
602c998a17 Bug 701826 - Preferences gets unchecked temporarily when going to the preferences page [r=mfinkle] 2011-11-17 11:22:09 -08:00
Sriram Ramasubramanian
924bbcb930 Bug 703115: Site security represented a lock in URLbar [r=mfinkle] 2011-11-16 17:26:44 -08:00
Sriram Ramasubramanian
c12d69d77f Bug 697726: Stop button in URL bar [r=mfinkle] 2011-11-16 16:23:22 -08:00
Kartikaya Gupta
d89ebbfd72 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
64c329450d 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
5b9e6c7c51 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
1783cbc49c Bug 701014 - Dismiss SKB when scrolling results in AwesomeBar (r=mfinkle) 2011-11-17 10:30:51 +00:00
Doug Turner
38bd64c879 Bug 703057 - Put DrawToFile on another thread. r=blassey
--HG--
extra : rebase_source : f90ae83248da6b270baf8abbb873bdb89977d8fc
2011-11-16 14:32:44 -08:00
Sriram Ramasubramanian
43053c83cc Bug 702821: Doorhanger arrows should point to favicon in the URL bar [r=mfinkle] 2011-11-15 16:15:18 -08:00
Sriram Ramasubramanian
3b4d702e7e Bug 701370: Adding affordance to URL bar [r=mfinkle] 2011-11-15 15:52:54 -08:00
Kartikaya Gupta
651c161e41 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
8bdb2c9dc3 bug 701703 - Null pointer exception thrown loading Fennec Start Page r=dougt 2011-11-16 10:42:10 -05:00
James Willcox
ce20c15d0a Bug 702643 - Flash instances should resize according to zoom factor r=blassey 2011-11-16 10:42:10 -05:00
James Willcox
6b6e39d390 Bug 702883 - Use a native solution for locking/unlocking plugin surfaces 2011-11-16 10:42:09 -05:00
Lucas Rocha
71d3eee243 Bug 702688 - Search key on awesomebar screen should dismiss it (r=mfinkle) 2011-11-16 15:03:52 +00:00
Lucas Rocha
b19ceef2d2 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
4f0198967d Bug 698816 - Use proper text colours in crash reporter UI (r=mfinkle) 2011-11-16 14:38:44 +00:00
Lucas Rocha
f154c73685 Bug 698816 - Fix indentation on crash_reporter.xml (r=mfinkle) 2011-11-16 14:38:42 +00:00
Alex Pakhotin
dea0f42679 Bug 699792 - ALT key not working correctly on Motorola DROID PRO. r=blassey 2011-11-15 18:05:02 -08:00
Margaret Leibovic
7fb524cbd1 Bug 702778 - Only update the doorhanger popup for the currently selected tab. r=mfinkle 2011-11-15 14:51:57 -08:00
Matt Brubeck
e6fa4805c8 Bug 701527 - Hide indexedDB quota prompt when it is canceled by content [r=margaret] 2011-11-15 14:45:54 -08:00
Wes Johnston
00a7e573c4 Backout 6b1414e0a6e8 and 8f3eacc9ceb6 2011-11-15 14:04:07 -08:00
Wes Johnston
f3fba559d3 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
ddc2358bc4 Bug 697701 - Support double tap zooming. r=pcwalton 2011-11-15 13:41:19 -08:00
Margaret Leibovic
27eece2b4f 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
2b2c9c3c76 Merge with m-c fd478c02c29c 2011-11-15 11:18:06 -08:00
Ed Morley
08183066d7 Merge last green changeset of mozilla-inbound to mozilla-central 2011-11-15 19:07:09 +00:00
Kartikaya Gupta
9bafd2683f Bug 702416 - Replace FloatRect with android.graphics.RectF [r=pcwalton] 2011-11-15 12:13:06 -05:00
Kartikaya Gupta
6ef6f96207 Bug 702416 - Replace IntRect with android.graphics.Rect [r=pcwalton] 2011-11-15 12:11:53 -05:00
Kartikaya Gupta
e90056dbc2 Bug 702416 - Replace FloatPoint with android.graphics.PointF [r=pcwalton] 2011-11-15 11:59:41 -05:00
Kartikaya Gupta
64239b0555 Bug 702416 - Replace IntPoint with android.graphics.Point [r=pcwalton] 2011-11-15 11:58:28 -05:00
Patrick Walton
1f182161e5 Bug 702403 - Don't fling if the velocity is low [r=kats] 2011-11-15 11:58:21 -05:00
Doug Turner
9f3f6c7bbf Bug 690201 - dead code - mLastDrawEvent never used. r=mbrubeck 2011-11-14 19:12:26 -08:00
Doug Turner
a94842c06f 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
de2413b2b6 Bug 692988 - Give Flash a valid application directory 2011-11-14 19:47:38 -05:00
James Willcox
ebecaf6b8a Bug 702341 - Add a hack to make plugins (mostly) positioned correctly [r=blassey] 2011-11-14 20:22:12 -05:00
James Willcox
053627a1fa bug 702339 - Go back to using an AbsoluteLayout r=blassey 2011-11-15 10:43:42 -05:00
James Willcox
08e4124e5c bug 702334 - Fix deadlocks caused by Flash r=blassey 2011-11-15 10:43:42 -05:00
James Willcox
21b0d91974 bug 702330 - Revert to drawing Flash plugin with a SurfaceView r=blassey 2011-11-15 10:43:42 -05:00
Sriram Ramasubramanian
858d6ffb2c Bug 702287: Caret should be shown throughtout the animation [r=mfinkle] 2011-11-14 15:30:34 -08:00
Sriram Ramasubramanian
c184355a4b Bug 700936: Tabs button should be on the right [r=mfinkle] 2011-11-14 14:26:39 -08:00
Sriram Ramasubramanian
4aa67c00ca Bug 700434: Dismiss doorhangers on pressing back button [r=mfinkle] 2011-11-14 15:58:14 -08:00
Sriram Ramasubramanian
6517475d21 Bug 700434: Dismiss doorhangers on touching outside it [r=mfinkle] 2011-11-14 15:49:06 -08:00
Doug Turner
408086068e Merge. 2011-11-15 01:09:26 -08:00
Brian Nicholson
efb86c8317 Bug 701834 - Missing favicons for some sites [r=mfinkle] 2011-11-14 14:48:27 -08:00
Kartikaya Gupta
2c2dd725e2 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
0f4e56e4a2 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
bb7a199ae9 Bug 701982: AwesomeBar Tabs color mismatch [r=mfinkle] 2011-11-11 21:25:51 -08:00
Alex Pakhotin
f8dc58683d Bug 697773 - Cannot type in AwesomeBar URL bar with hard keyboard. r=blassey 2011-11-08 17:33:27 -08:00
Kartikaya Gupta
53ca846a50 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
9ce1dea5d4 Bug 700006 - [layers] about:home show dead space [r=dougt] 2011-11-14 11:14:02 -05:00
Kartikaya Gupta
5543257015 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
1a0b52e23a Bug 701994: Tab counter animation should show overlap of numbers [r=mfinkle] 2011-11-12 01:15:19 -08:00
Sriram Ramasubramanian
4bc38070fc Bug 701985: Favicon should have transparent background [r=mfinkle] 2011-11-11 21:49:58 -08:00
Margaret Leibovic
1e4dc518e0 Bug 700913 - Add persistence and timeout features to Doorhangers. r=mfinkle 2011-11-11 13:44:09 -08:00
Margaret Leibovic
138847b761 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
b3c29f4e3a Bug 698095 - Tab count increment/decrement needs animation [r=mfinkle] 2011-11-11 11:26:57 -08:00
Margaret Leibovic
175ff27ee3 Bug 701285 - No favicons display after loading pages. r=pcwalton 2011-11-11 10:05:16 -08:00
Sriram Ramasubramanian
3063499449 Bug 698598: Reskinning stackable doorhangers. r=mfinkle 2011-11-09 14:45:57 -08:00
Brad Lassey
c9d52f9057 bug 699716 - Incorrect screenshot shown when starting up after clearing app data r=mfinkle 2011-11-10 21:37:21 -05:00
Brad Lassey
33ae32d417 bug 700354 - Use of AsyncTask needs some cleanup r=mfinkle 2011-11-10 21:34:38 -05:00
Doug Turner
9c48117956 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
a7cf3eb6f3 Bug 696833 - Implement dynamically coloured tabs in AwesomeBar (r=mfinkle) 2011-11-10 11:22:08 +00:00
Lucas Rocha
24425457b4 Bug 696833 - Change style of awesome bar entry as per design (r=mfinkle) 2011-11-10 11:18:09 +00:00
Doug Turner
7fb3c48666 Backed out changeset 821f8e1cd0ed 2011-11-09 19:38:53 -08:00
Doug Turner
a254c87d3c 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
4dcca0c378 Bug 695448 - Implement a Java compositor, and use it to scroll. r=? 2011-11-09 17:39:29 -08:00
Matt Brubeck
dd9541fc32 Revert to addb9a82a6b8 (undo my failed backouts) 2011-11-09 17:31:09 -08:00
Matt Brubeck
051e854126 Revert duplicate add-ons menu item accidentally added when merging backouts 2011-11-09 16:33:53 -08:00
Kartikaya Gupta
4ec68221e8 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
94675ec217 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
34d5f356e4 Bug 694206 - Add Gonk (B2G) widget backend, r=cjones 2011-11-10 16:17:46 -08:00
Sriram Ramasubramanian
b20e77b455 Bug 698220: The tabs should be restored when awesomebar is rotated. [r=mfinkle] 2011-10-31 13:07:23 -07:00
Matt Brubeck
89e46f879a Back out 150b57fca97c, 22f16ec4052a, 03c53ee42fc9
* * *
Back out 03c53ee42fc9 on suspicion of causing talos failures
2011-11-09 16:06:20 -08:00
Matt Brubeck
f61ffff515 Back out c1881e7e046c on suspicion of causing talos failures 2011-11-09 13:17:37 -08:00
Matt Brubeck
bb8919e177 Back out c09a52af4cd8 on suspicion of causing talos failures 2011-11-09 12:30:35 -08:00
Alex Pakhotin
cc51d439cb Backing out bug 697773 due to VKB regressions 2011-11-09 10:18:50 -08:00
Kartikaya Gupta
5ba9d75c95 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
ea00306b60 bug 700922 - Cursors in Favicons.java are not closed r=dougt 2011-11-09 00:30:19 -05:00
Brad Lassey
cc73d45039 bug 700917 - splash screen shown even with non-default profile r=dougt 2011-11-09 00:28:53 -05:00
Sriram Ramasubramanian
8f638b7d93 Bug 699706: Scroll to the selected tab in Tabs tray [r=mfinkle] 2011-11-08 13:17:15 -08:00
Alex Pakhotin
81021f9877 Bug 697773 - Cannot type in AwesomeBar URL bar with hard keyboard. r=blassey 2011-11-08 19:06:28 -08:00
Sriram Ramasubramanian
04ddafac5f Bug 696832: Icons for Menu based on the SDK version [r=mfinkle] 2011-11-08 11:33:55 -08:00
Wes Johnston
590de5a3a0 Bug 700153 - Allow opening tabs in the background. r=mfinkle 2011-11-08 12:49:25 -08:00
Margaret Leibovic
438adeb057 Bug 698836 - Add full screen mode. r=blassey 2011-11-08 10:36:04 -08:00
Kartikaya Gupta
5104cd75de 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
c7f2bb5c70 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
9d4fd110ef 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
557fa00813 Removing use strict from a hosed merge 2011-11-07 20:54:50 -08:00
Patrick Walton
b97a946207 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
eb85b76dfd Fixing last surfaceView reference 2011-11-07 14:46:58 -08:00
Doug Turner
1cc8d18b6c Switch into the snap state faster after the overscroll. 2011-11-07 14:17:01 -08:00
Doug Turner
17659a2dbe Use a state machine in the PanZoomController to fix some weird touch behaviours. 2011-11-07 14:17:01 -08:00
Doug Turner
8e424a3459 Hook up wesj's long press code (40e3d6b1122d) again 2011-11-07 14:17:01 -08:00
Doug Turner
00fed2a2bb Move the ScaleGestureDetector.OnScaleGestureListener implementation over to PanZoomController rather than delegating through LayerController. 2011-11-07 14:17:01 -08:00
Patrick Walton
33a0de7df6 imported patch 1111-fix-motion-event-targeting 2011-11-07 14:17:01 -08:00
Patrick Walton
cb2fadb2c4 imported patch 1111-fix-zoom-velocity 2011-11-07 14:17:01 -08:00
Patrick Walton
47afe6e236 imported patch 1111-fix-checkerboarding-definition 2011-11-07 14:17:01 -08:00
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