Commit Graph

915 Commits

Author SHA1 Message Date
Jared Wein
893d9d4fbb Backed out changeset c29869656f46 due to wrong bug number. 2012-08-22 16:54:35 -07:00
Michael Comella
6ce85d6ab5 Bug 784472 - Long press on text selection should show context menus again. r=wesj 2012-08-22 19:52:54 -04:00
Michael Comella
0d575ea7c8 Bug 744662 - Sharing an email address no longer copies "mailto:". r=mfinkle 2012-08-22 19:52:53 -04:00
Michael Comella
89e6961e3c Bug 776064 - Make long press "tel:" link context menu behavior more consistent. r=mfinkle 2012-08-22 19:52:53 -04:00
Wes Johnston
a5c7378bd7 Bug 653813 - Use consistent page titles on about pages. r=mfinkle 2012-08-22 08:41:24 -07:00
Lucas Rocha
73cf7a9061 Bug 784683 - Don't create temporary H1 element for title (r=mfinkle) 2012-08-22 18:17:45 +01:00
Brian Nicholson
e2162c2f9b Bug 784126 - Fix JSDOMParser textContent setter. r=lucasr 2012-08-22 10:15:46 -07:00
Matt Brubeck
c7c849e122 Bug 784612 - Remove old XUL content autoScale hack from meta viewport code [r=mfinkle,jwir3]
--HG--
extra : rebase_source : 005f0489eb035c3acc43d7fa2e689d5ff27ffa45
2012-08-22 09:42:24 -07:00
Wes Johnston
8f6c8a1230 Bug 741621 - Marketplace app should open for market urls. r=mfinkle 2012-08-22 08:37:14 -07:00
Doug Sherk
b018fea56e Bug 780397: Convert FrameMetrics.mViewportScrollOffset from nsIntPoint to gfx::Point r=roc 2012-08-21 21:37:15 -07:00
Wes Johnston
55e2571dd1 backout c5961842578e CLOSED TREE 2012-08-21 13:39:39 -07:00
Wes Johnston
67f380bd76 Bug 741621 - Allow opening market links in the market webapp. r=mfinkle 2012-08-20 14:35:44 -07:00
Kartikaya Gupta
b9b7acae3d Bug 783208 - Force a zoom out on double-tap if we're already zoomed in to the maximum allowed zoom. r=wesj 2012-08-21 12:44:37 -04:00
Lucas Rocha
fae99395af Bug 784050 - Put back code to remove style tags in Readability.js (r=bnicholson) 2012-08-20 20:49:28 +01:00
Brian Nicholson
9daa90c9bb Bug 782421 - Use parsed result for reader articles. r=lucasr 2012-08-14 17:29:40 -04:00
Lucas Rocha
15cd44dea9 Bug 784055 - Remove all code dealing with offsetWidth in Readability.js (r=bnicholson) 2012-08-20 18:05:37 +01:00
Lucas Rocha
33543c4e60 Bug 784050 - No need to remove stylesheets and style tags in Readability.js (r=bnicholson) 2012-08-20 18:05:37 +01:00
Lucas Rocha
32c5a66e4b Bug 782348 - Fetch byline info from articles to show on Reader (r=bnicholson) 2012-08-20 14:06:58 +01:00
Mark Finkle
8ec85a12c3 Bug 781169 - Tweak aboutApps strings r=wesj 2012-08-20 00:15:08 -04:00
Lucas Rocha
c7f6fcbf8b Bug 766948 - Implement new Reader style (r=mfinkle) 2012-08-17 17:38:58 -04:00
Brian Nicholson
89952c976e Bug 783601 - Remove extra textContent reference from getInnerText(). r=lucasr 2012-08-17 14:42:48 -04:00
Michael Comella
6b8be84a91 Bug 777450 - Part 2: Long pressing a Flash video no longer activates text selection. r=wesj 2012-08-16 17:35:20 -04:00
Michael Comella
3afbb3b83b Bug 777450 - Part 1: Clean up general context menu code. r=wesj 2012-08-16 17:35:20 -04:00
Lucas Rocha
8f376aefe1 Bug 781865 - Ignore DOMContentLoaded events from iframes in Reader (r=mfinkle) 2012-08-14 15:51:11 -04:00
Lucas Rocha
77977009ab Bug 782480 - Clear parentNode reference when removing a child in JSDOMParser (r=bnicholson) 2012-08-14 15:51:11 -04:00
Margaret Leibovic
aa1e55716f Bug 780906 - Add context menu items to start text selection in input fields. r=wesj 2012-08-14 10:28:14 -04:00
Brian Nicholson
8a0f97517b Bug 779796 - Part 6: Remove article generator function in Readability.js. r=lucasr 2012-08-09 23:30:46 -07:00
Brian Nicholson
0fcd703aa0 Bug 779796 - Part 5: Move Readability parsing to a web worker. r=lucasr 2012-08-09 23:30:46 -07:00
Brian Nicholson
f735862343 Bug 779796 - Part 4: Remove XPCOM-related code from Readability.js. r=lucasr,mfinkle 2012-08-09 23:30:46 -07:00
Brian Nicholson
b463f615fe Bug 779796 - Part 3: Update Readability.js to be compatible with JSDOMParser. r=lucasr 2012-08-09 23:30:46 -07:00
Brian Nicholson
d301a7ba86 Bug 779796 - Part 2: Replace Reader checks with full parses. r=lucasr 2012-08-09 23:30:46 -07:00
Brian Nicholson
3e99e30953 Bug 779796 - Part 1: Implement JSDOMParser. r=lucasr,mfinkle 2012-08-09 23:30:46 -07:00
Chris Peterson
1753f534be Bug 780191 - Commit composition string before sending autocomplete text event. r=blassey 2012-07-11 17:29:33 -07:00
Wes Johnston
648c7e9553 Bug 779490 - Remove code to handle UTF8 App names. r=mfinkle 2012-08-09 12:54:35 -07:00
Brian Nicholson
ea471bee74 Bug 780713 - Disable reader mode logging by default. r=lucasr 2012-08-09 10:53:44 -07:00
Brian Nicholson
f2413a84fc Bug 777966 - Replace regex <br> matching with replaceBrs(). r=lucasr
--HG--
extra : rebase_source : 0cbe7d9788e551ea1412cb014f92cd5b7b038093
2012-08-06 10:54:24 -07:00
Mark Finkle
909cb96224 Bug 781091 - aboutCertError.xhtml XML Parsing Error r=margaret 2012-08-09 09:35:57 -04:00
Brian Nicholson
812aa3599e Bug 779089 - Add proper Apache 2 header to Readability.js. r=gerv 2012-08-08 13:13:10 -07:00
Wes Johnston
dd41a3ded5 Bug 776677 - Show a toast when we receive webapp install errors. r=mfinkle 2012-08-08 12:35:15 -07:00
Wes Johnston
3da599b9d2 Bug 776600 - Allow passing some default prefs from the manfiest to the webapp. r=mfinkle 2012-08-08 12:35:15 -07:00
Margaret Leibovic
9eb4b7cf5e Bug 778263 - Clean up SelectionHandler data when we bail in startSelection. r=mfinkle 2012-08-07 11:20:11 -07:00
Kartikaya Gupta
0910e8da48 Bug 779920 - Fix mismatch between window and coordinates passed to anyElementFromPoint. r=wesj 2012-08-07 16:00:14 -04:00
Kartikaya Gupta
9150424cd4 Bug 771575 - Remove unused function. r=mbrubeck 2012-08-07 15:47:02 -04:00
Kartikaya Gupta
cdb90a6b76 Bug 771757 - Set the browser size without triggering a reflow when meta-viewport elements are received before the first paint. r=mbrubeck 2012-08-07 15:43:17 -04:00
Kartikaya Gupta
4969cda12e Bug 778257 - Fix javascript warning because of function returning inconsistent types. r=margaret 2012-08-07 13:30:45 -04:00
Wes Johnston
aef90a0e14 Bug 766392 - Style about:apps to match other about pages. r=mfinkle 2012-08-07 09:49:30 -07:00
Lucas Rocha
ba1ca0ca89 Bug 766942 - Stop prograpation on clicks in toolbar buttons (r=mfinkle) 2012-08-07 15:23:21 +01:00
Lucas Rocha
781cbdefe1 Bug 766942 - Implement new reader toolbar (r=mfinkle) 2012-08-07 15:23:21 +01:00
Wes Johnston
1b48f2f87d Bug 769821 - Save app cache at install time for webapps. r=mfinkle,fabrice 2012-08-06 09:30:12 -07:00
Mike Hommey
6173fa297f Bug 774032 bonus - Use @DEPTH@ and @relativesrcdir@ in Makefile.in. r=ted 2012-08-04 20:26:44 +02:00
Mike Hommey
4e998b1d36 Backout changeset 2ef51674316a (bug 774032 bonus) for various Mochitest bustages on a CLOSED TREE 2012-08-04 10:38:41 +02:00
Mike Hommey
17fb6cad2d Bug 774032 bonus - Use @DEPTH@ and @relativesrcdir@ in Makefile.in. r=ted 2012-08-04 08:48:56 +02:00
Ed Morley
d89c4cc96e Merge mozilla-central to mozilla-inbound 2012-08-03 23:34:31 +01:00
Sriram Ramasubramanian
4bc0b42978 Bug 765079: Text selection in HTML input elements. [r=margaret]
--HG--
extra : rebase_source : b975954af7f903d9543227970101437a21b21310
2012-08-03 12:38:40 -07:00
Ed Morley
edbbd284ab Merge mozilla-central and fx-team 2012-08-03 15:52:55 +01:00
Margaret Leibovic
2a47eda55f Bug 778940 - Clean up our session history logic in Tab. r=mfinkle 2012-08-02 14:15:17 -07:00
Wes Johnston
679d81312f Bug 772968 - Use a special appid for webapps on android. r=mfinkle 2012-08-02 09:57:01 -07:00
Panos Astithas
8fa59b7e93 Bug 779462 - Use Device instead of Fennec prefixes in Fennec browser actors; r=mfinkle 2012-08-03 10:32:25 +03:00
Michael Comella
a8854286e6 Bug 778879 - Switch relative URL conversion code to use Services.jsm. r=mfinkle 2012-07-31 18:26:29 -04:00
Wes Johnston
c2de7fc35b Bug 766604 - Convert UTF-8 App names to UTF16 for Java. r=mbrubeck 2012-07-31 11:34:48 -07:00
Matt Brubeck
5c5524e215 Bug 778333 - Back out 4b197ffb4dcc (bug 775372) and 7d11ab4b1a8c (bug 769857) because of link-clicking regressions 2012-07-31 10:57:24 -07:00
Brian Nicholson
c0a00895c6 Bug 778561 - Remove YouTube UA hack. r=mfinkle 2012-07-30 21:19:04 -07:00
Matt Brubeck
780d66b2f3 Bug 775372 - Fix exceptions in _cancelTapHighlight when the highlight element is from a dead window [r=margaret] 2012-07-27 16:03:18 -07:00
Michael Comella
ed265dbf79 Bug 776110 - <a> and <img> uris are replaced with absolute uris. r=lucasr 2012-07-26 21:17:23 -04:00
Lucas Rocha
fc234e8bdc Bug 767738 - Use favicon from the original site in Reader (r=mbrubeck) 2012-07-26 23:08:50 +01:00
Margaret Leibovic
666c0aa48d Bug 777805 - Update error message for unsupported plugins to include "Learn More..." link. r=mbrubeck 2012-07-26 14:57:34 -07:00
Kartikaya Gupta
bf1ea7a837 Bug 775722 - Reposition the text selection handles during pan/zoom operations. r=blassey 2012-07-26 10:13:48 -04:00
Ed Morley
bc713a9541 Merge mozilla-central to mozilla-inbound 2012-07-26 13:25:04 +01:00
Ed Morley
581619fa7d Merge last PGO-green changeset of mozilla-inbound to mozilla-central 2012-07-26 13:04:00 +01:00
Paul Rouget
27d1c69a4d merge fx-team to m-c 2012-07-25 15:07:40 -07:00
Lucas Rocha
6151251e80 Bug 767121 - Show tip when toolbar hides for the first time in reader (r=mbrubeck) 2012-07-26 10:48:52 +01:00
Kartikaya Gupta
7e94c8a36e Bug 773431 - Ensure we grab touchstart events in capture mode since content can kill it before it bubbles. r=wesj 2012-07-24 12:53:47 -04:00
Kartikaya Gupta
73ad5aa904 Bug 773427 - Ensure that when moving click points, we don't allow it to get rounded incorrectly. r=wesj 2012-07-24 12:08:40 -04:00
Wes Johnston
d138ff81d4 Bug 766094 - Use an int for telemetry pref. r=mbrubeck 2012-07-23 17:54:37 -07:00
Panos Astithas
28a8d4a224 Bug 751226 - Refactor all the existing browser actor implementations to eliminate duplication. r=rcampbell r=mark.finkle r=21 2012-07-11 14:43:11 +03:00
Margaret Leibovic
6ffa748981 Bug 776390 - Get selected text for context menu actions. r=mbrubeck 2012-07-23 12:50:43 -07:00
Margaret Leibovic
5697e958fa Bug 775969 - Native handles vanish when crossing. r=mbrubeck 2012-07-23 12:50:43 -07:00
Michael Comella
48f242a43a Bug 775770 - Add "Copy Phone Number" to long press context menu. r=mfinkle 2012-07-20 20:19:39 -04:00
Michael Comella
7e45d79d72 Bug 775766 - Add "Copy Email Address" to long press context menu. r=mfinkle 2012-07-20 20:19:38 -04:00
Michael Comella
4ec5f9d1af Bug 769886 - Re-add "Copy Link" item to long press context menu. r=wesj 2012-07-20 20:19:37 -04:00
Chris Peterson
62cc829e3d Bug 764193 - Part 1: Re-enable form autocomplete, but blocklist some IMEs. r=blassey 2012-07-19 11:00:07 -07:00
Wes Johnston
2e90f575b5 Bug 766275 - Rename function. r=mfinkle 2012-07-20 11:17:43 -07:00
Wes Johnston
cf60fc9a3f Bug 766275 - Remove browser actions from the Webapps context menu. r=mfinkle 2012-07-20 11:14:43 -07:00
Arkady Blyakher
67e021f653 Bug 712773 - Support vibrate on long-press. r=wesj
--HG--
extra : rebase_source : d0b78558a2afdee088cba0e06763a83aac086d94
2012-07-19 14:58:19 -07:00
Brian Nicholson
996fe982a6 Bug 775039 - Combine clearing cookies and active logins. r=mfinkle 2012-07-19 13:28:25 -07:00
Brian Nicholson
01db8044b8 Bug 775042 - Clear downloads when clearing history. r=mfinkle 2012-07-19 13:28:18 -07:00
Margaret Leibovic
11834842a6 Bug 774938 - Native text selection handles. r=mfinkle,kats 2012-07-19 13:16:44 -07:00
Wes Johnston
27200b99e4 Bug 766094 - Set default prefs for webapps in js. r=mfinkle 2012-07-19 12:08:54 -07:00
Kartikaya Gupta
3e0c9cd0ce Bug 770659 - Ensure that haptic feedback for clicks is done only when the mouse events are sent to a clickable element. r=wesj 2012-07-19 14:22:07 -04:00
Michael Comella
f9c1f519c6 Bug 769886: Add "Copy Link" action to long press context menu. r=mfinkle 2012-07-19 10:45:10 -07:00
Wes Johnston
74c7733fb6 Bug 766802 - Follow up to fix event listener. r=mfinkle 2012-07-18 17:56:44 -07:00
Wes Johnston
f5bdd44d86 Bug 766802 - Target=blank links should open in the browser for webapps. r=mfinkle DONTBUILD 2012-07-18 15:43:34 -07:00
Wes Johnston
5540ebfafd backout 2c49724bcbfd 2012-07-18 16:02:55 -07:00
Wes Johnston
25e56a92b9 comparing with http://hg.mozilla.org/integration/mozilla-inbound/
searching for changes
changeset:   99712:bbdfd47ad4d7
tag:         tip
user:        Wes Johnston <wjohnston@mozilla.com>
summary:     Bug 766802 - Clicks on links with target=blank in webapps should open in the browser. r=mfinkle
2012-07-18 15:43:34 -07:00
Brian Nicholson
dbb8131734 Bug 773774 - Don't clone document for reader mode check. r=mfinkle 2012-07-17 11:50:26 -07:00
Margaret Leibovic
668f937faf Bug 774491 - Use cached x/y values and some arithmetic instead of also caching left/top values. r=mfinkle 2012-07-16 15:31:00 -07:00
OHZEKI Tetsuharu
68bce7b71a Bug 774336 - Change the script type to application/javascript in aboutCertError.xhtml on mobile. r=margaret 2012-07-16 20:38:47 -04:00
Wes Johnston
12b445c7ed Bug 774426 - Get correct origin for app shortcuts. r=mfinkle 2012-07-16 17:08:47 -07:00
Wes Johnston
483c482c96 Bug 774426 - Set allAppsLaunchable to true since it has no Android implementation. r=mfinkle 2012-07-16 17:07:35 -07:00
Kartikaya Gupta
1db7502e66 Bug 756433 - Treat labels without an associated form element as unclickable. r=wesj 2012-07-16 12:11:19 -04:00
Margaret Leibovic
9b476b6feb Bug 773864 - Use nsIDOMWindowUtils to get scroll without reflow, and cache it. r=mfinkle 2012-07-14 15:30:25 -07:00
Margaret Leibovic
8805cb8566 Bug 773819 - Avoid calls to getBoundingClientRect in text selection code. r=mfinkle 2012-07-14 15:30:22 -07:00
Margaret Leibovic
f6b16cba01 Bug 773813 - Avoid using ElementTouchHelper methods in text selection code. r=mfinkle 2012-07-14 15:30:19 -07:00
Margaret Leibovic
e459ff7b7e Bug 773730 - Minimize the number of element.style calls we make for text selection handles. r=mfinkle 2012-07-14 09:18:03 -07:00
Margaret Leibovic
72e6be1fa6 Bug 773718 - Don't cache range.getBoundingClientRect(). r=mbrubeck 2012-07-14 09:17:53 -07:00
Brian Nicholson
82af463891 Bug 773250 - Change UA for all resources, not just main document 2012-07-13 14:50:50 -07:00
Kartikaya Gupta
cff30e2f4b Bug 773772 - Scale subdocument scrolling by the zoom factor. r=Cwiiis 2012-07-13 17:27:02 -04:00
Brian Nicholson
c3cd571252 Bug 773556 - Check URI scheme for readability. r=mfinkle 2012-07-13 12:54:52 -07:00
Brian Nicholson
596b1b0873 Bug 773556 - Fix reader mode typos. r=mfinkle 2012-07-13 12:54:52 -07:00
Mark Finkle
4918d91a53 Bug 765930 - Reader Mode: Optimize readability check (do reader check in pageshow event) r=bnicholson 2012-07-13 11:36:43 -04:00
Mark Finkle
6f46377308 Bug 765930 - Reader Mode: Optimize readability check (do less DOM manipulation when checking) r=bnicholson 2012-07-13 11:36:41 -04:00
Kartikaya Gupta
d2c8da4110 Bug 769269 - Add code to handle restarting GeckoApp. r=mfinkle 2012-07-13 10:20:34 -04:00
Kartikaya Gupta
90cac38916 Bug 769269 - Update the graphics code to be able to deal with blowing away the layer controller, client, and view and creating them afresh. r=ajuma 2012-07-13 10:19:46 -04:00
Matt Brubeck
0411dc0d8a Bug 755221 - Make the button to cancel an add-on uninstall clearer [r=mfinkle] 2012-07-12 22:16:28 -07:00
Matt Brubeck
a91ac38e5e Bug 769857 - Add a small delay before the tap highlight [r=wesj]
--HG--
extra : rebase_source : e58c938afd1cb66b9bf108a2a70547c0b21382fe
2012-07-11 22:45:42 -07:00
Wes Johnston
e270e15a33 Bug 766260 - Use fallback icon if there is an error downloading the specified one. r=mfinkle 2012-07-11 10:02:28 -07:00
Margaret Leibovic
4f9651faaa Bug 771997 - Use the browser's built-in fastFind. r=mfinkle 2012-07-10 15:54:43 -07:00
Margaret Leibovic
22c332c828 Bug 771997 - End active find when switching tabs. r=mfinkle 2012-07-10 15:54:39 -07:00
Margaret Leibovic
d037547b74 Bug 772656 - End text selection when a different tab is selected. r=mfinkle 2012-07-10 15:54:35 -07:00
Arkady Blyakher
85d29d0638 Bug 769438 - Support sharing images via long press r=snorp 2012-07-10 14:25:15 -07:00
Chris Lord
3b74743225 Bug 772479 - Fix use of undefined aViewport width/height properties. r=kats
setViewport was modified as part of Bug 758620, but tried to access two
properties which didn't exist. Replace the use of these non-existent properties
with the calculated value that was expected.
2012-07-10 21:18:22 +01:00
Wes Johnston
4f6994eca9 Bug 769454 - Show helper apps option in the context menu for links. r=mfinkle 2012-07-10 09:08:54 -07:00
Wes Johnston
6dd1a9a8fa Bug 766808 - Resolve icon urls for apps using relative urls. r=mfinkle 2012-07-09 17:54:40 -07:00
Wes Johnston
412176e299 Bug 769454 - Turn off helper app prompts. r=mfinkle 2012-07-09 10:02:25 -07:00
Margaret Leibovic
44c9e86c1d Bug 771501 - Update text selection handle graphics. r=mfinkle 2012-07-06 11:19:27 -07:00
Matt Brubeck
13c3873620 Bug 771036 - Sanitizer.history should clear the Java history too [r=mfinkle] 2012-07-06 09:22:57 -07:00
Margaret Leibovic
57840e45c3 Bug 718705 - Only persist the password doorhanger across location changes if it is showing. r=mfinkle 2012-07-05 16:12:17 -07:00
Matt Brubeck
2dc771fd33 Bug 770371 - Add a margin to the tappable area for copying selected text [r=margaret] 2012-07-03 10:39:22 -07:00
Mark Finkle
10b3fd2cdd Bug 754585 - Fennec Nightly failing ACID3 test (with one error) r=mbrubeck 2012-07-03 01:54:32 -04:00
Brian Nicholson
80db64835e Bug 769097 - Remember desktop mode preference after OOM. r=mfinkle 2012-07-02 12:42:11 -07:00
Ms2ger
9f56b60843 Merge m-c to m-i. 2012-06-30 14:50:23 +02:00
Kyle Huey
3b3b755501 Bug 726378: Unprefix IndexedDB. r=sicking 2012-06-29 09:48:35 -07:00
Margaret Leibovic
99ba23f673 Bug 766556 - Cancel text selection on device rotation. r=mfinkle 2012-06-28 17:37:04 -04:00
Margaret Leibovic
8317dd0f34 Bug 769038 - Margin on root element causes selection handles to appear at wrong spot. r=mbrubeck 2012-06-28 17:37:01 -04:00
Margaret Leibovic
d74ef46f0a Bug 768666 - Adjust the size of text selection handles as you zoom in/out. r=mbrubeck 2012-06-29 15:15:59 -04:00
Lucas Rocha
0faae3eef1 Bug 766961 - Apply fade in/out transitions to Reader Mode toolbar (r=mfinkle) 2012-06-29 18:17:06 +01:00
Lucas Rocha
662407698e Bug 769642/766935 - Only show toolbar once the reader content is shown (r=mfinkle) 2012-06-29 16:55:54 +01:00
Lucas Rocha
71fc6ed3e3 Bug 767852 - Dismiss any open dropdowns on Android back button (r=mfinkle) 2012-06-29 16:55:54 +01:00
David Rajchenbach-Teller
b0fcfa6d82 Bug 760035 - Adapt main clients to async API (mobile FF). r=mbrubeck 2012-06-27 20:15:33 -04:00
Wes Johnston
eac4d6b53f Bug 749618 - Add missing comma. r=mfinkle 2012-06-27 11:23:49 -07:00
Wes Johnston
3110c09655 Bug 749618 - Use a default icon for webapps without one. r=mfinkle 2012-06-26 14:54:49 -07:00
Wes Johnston
182f9eec16 Bug 653833 - Show a doorhanger allowing users to open a page in helper apps. r=mfinkle 2012-06-26 14:54:46 -07:00
Michael Comella
cdc21bb21d Bug 768235 - Setting BrowserEventHandler.blockClick = true does nothing. r=mbrubeck 2012-06-27 09:24:28 -07:00
Margaret Leibovic
f0c5616852 Bug 768665 - Add context menu to selected text. r=mfinkle 2012-06-27 09:14:16 -07:00
Chris Lord
7979a353e6 Bug 758620 - Clamp scroll port to content size in android fennec. r=kats
Fixed position elements are laid out to the scroll-port size, so setting a
scroll port larger than the content size causes fixed position elements to be
pushed off of the page.
2012-06-27 16:44:30 +01:00
Ehsan Akhgari
45fe6d3ae2 Bug 722872 - Part 1: Add nsITransferable::Init(nsILoadContext*), enforce that it's called in debug builds, and add nsIDOMDocument* arguments to nsIClipboardHelper methods; r=roc
This patch does the following:

* It adds nsITransferable::Init(nsILoadContext*).  The load context
  might be null, which means that the transferable is non-private, but
  if it's non-null, we extract the boolean value for the privacy mode
  and store it in the transferable.
* It adds checks in debug builds to make sure that Init is always
  called, in form of fatal assertions.
* It adds nsIDOMDocument* agruments to nsIClipboardHelper methods which
  represent the document that the string is coming from.
  nsIClipboardHelper implementation internally gets the nsILoadContext
  from that and passes it on to the transferable upon creation.  The
  reason that I did this was that nsIClipboardHelper is supposed to be a
  high-level helper, and in most of its call sites, we have easy access
  to a document object.
* It modifies all of the call sites of the above interfaces according to
  this change.
* It adds a GetLoadContext helper to nsIDocument to help with changing
  the call sites.
2012-04-16 22:14:01 -04:00
Brian Nicholson
c636ea1613 Bug 762064 - Part 3: Add toast notification for cleared private data. r=blassey 2012-06-26 23:15:24 -07:00
Brian Nicholson
2a75281c83 Bug 762064 - Part 2: Enable clearing individual privacy items. r=mfinkle 2012-06-26 23:15:24 -07:00
Brian Nicholson
8ad5433833 Backout a3f5b011f665 for Android bustage 2012-06-26 18:07:15 -07:00
Brian Nicholson
fc0c6c481e Backout 21a070f6afcd for Android bustage 2012-06-26 18:07:13 -07:00
Brian Nicholson
947d4ffd7e Backout 5ab2723fc0e0 for Android bustage 2012-06-26 17:43:03 -07:00
Wes Johnston
671c627991 Bug 653833 - Add back some code that should not have been removed. r=mfinkle 2012-06-26 15:09:55 -07:00
Wes Johnston
9ecd92b78d Bug 749618 - Use a default icon for webapps without one. r=mfinkle 2012-06-26 14:54:49 -07:00
Wes Johnston
c384e87545 Bug 653833 - Show a doorhanger allowing users to open a page in helper apps. r=mfinkle 2012-06-26 14:54:46 -07:00
Margaret Leibovic
d5b53ef04e Bug 767065 - Add a listsener to get rid of text selection handles if the selection is programatically collapsed. r=mbrubeck 2012-06-26 14:39:47 -07:00
Margaret Leibovic
4b898fc808 Bug 767600 - Handle text selection in iframes properly. r=mbrubeck 2012-06-26 10:33:52 -07:00
Ed Morley
ef4179d2d4 Backout de70e79ced32, ddd519d0767e, 9b952d924953 & 03efce585669 (bug 758620) for reftest failures 2012-06-26 16:13:33 +01:00
Chris Lord
c61aecd462 Bug 758620 - Clamp scroll port to content size in android fennec. r=kats
Fixed position elements are laid out to the scroll-port size, so setting a
scroll port larger than the content size causes fixed position elements to be
pushed off of the page.
2012-06-26 14:43:32 +01:00
Margaret Leibovic
78b1c3cbcf Bug 765390 - (Part 3) Add ability to call endSelection without attempting to copy text. r=mbrubeck 2012-06-23 15:46:22 -07:00
Margaret Leibovic
aecb7e31f2 Bug 765390 - (Part 2) Text selection should be cleared on pagehide. r=mbrubeck 2012-06-23 15:46:21 -07:00
Margaret Leibovic
bfc3ddc881 Bug 765390 - (Part 1) Create a flag to keep track of whether or not selection is active instead of checking _view. r=mbrubeck 2012-06-23 15:46:21 -07:00
Margaret Leibovic
c92853bb54 Bug 767626 - We don't need to be caching the selectedText. r=mbrubeck 2012-06-23 15:46:21 -07:00
Margaret Leibovic
c23b5f06de Bug 724339 - Support text selection on RTL pages. r=mbrubeck 2012-06-23 15:46:14 -07:00
Margaret Leibovic
e04db6f0d1 Bug 765072 - All text is selected when one text selection handle moves over another. r=mfinkle 2012-06-22 10:33:00 -07:00
Brian Nicholson
eaa92ddcbb Bug 766406 - Implement "Request Desktop Site". r=mfinkle 2012-06-22 12:53:40 -07:00
Lucas Rocha
ac809090d8 Bug 766966 - Change "Font" to "Text" in Reader UI (r=mfinkle) 2012-06-22 17:44:36 +01:00
Ed Morley
96e35995d3 Merge mozilla-central to mozilla-inbound 2012-06-21 21:08:12 +01:00
Mark Finkle
7e895e5a69 bug 766914 - Unable to play videos on mobile YouTube; redirection loop on 'Play' r=blassey a=blassey 2012-06-21 13:49:48 -04:00
Ed Morley
4992a5b7b4 Merge mozilla-central to mozilla-inbound 2012-06-21 08:38:39 +01:00
Wes Johnston
2c2344cd9d Bug 766285 - Pass correct origin to java when opening webapps. r=mfinkle 2012-06-20 15:02:29 -07:00
Kartikaya Gupta
d031130aa4 Bug 766576 - Fix javascript warning about missing return value. r=mfinkle 2012-06-20 16:48:22 -04:00
Lucas Rocha
5ffb4ad65e Bug 750683 - Check if page is convertible to enable reader mode (r=mfinkle) 2012-06-20 19:21:22 +01:00
Lucas Rocha
beb44ffa01 Bug 750686 - Implement style toolbar for Reader Mode (r=mfinkle) 2012-06-20 18:12:13 +01:00
Lucas Rocha
83292c7fc1 Bug 765330 - Fix runtime warning on redeclared variable in browser.js (r=mfinkle) 2012-06-20 15:04:09 +01:00
Margaret Leibovic
370b1de6af Bug 765270 - Don't try to clean up in findClosed if this._findInProgress is false. r=mfinkle 2012-06-18 14:57:09 -07:00
Margaret Leibovic
b35572cae8 Bug 695173 - Add content.css and jar.mn changes that didn't make it into the first push 2012-06-19 10:48:31 -07:00
Margaret Leibovic
99dc7fba48 Bug 766789 - Fire mouse events closer to the tip of the handle image. r=mbrubeck 2012-06-20 17:56:11 -07:00
Margaret Leibovic
06a8e5b667 Bug 765057 - (Part 2) Reverse handles if the start handle goes past the end of the selection and vice versa. r=mbrubeck 2012-06-20 17:56:08 -07:00
Margaret Leibovic
d2144d9587 Bug 765057 - (Part 1) Refactor updateCacheFromRange and moveSelection to update the cache on each touchmove. r=mbrubeck 2012-06-20 17:56:05 -07:00
Margaret Leibovic
8689c4dd40 Bug 695173 - Support text selection in Fennec Native. r=mbrubeck 2012-05-02 10:39:59 -07:00
Margaret Leibovic
a37df86e2d Bug 765372 - Add some null safety to isElementClickable. r=wesj 2012-06-18 10:09:46 -07:00
Margaret Leibovic
1c316f2591 Bug 764535 - (Part 2) Remove bindings.xml, and put menulist binding in its own file. r=mbrubeck
--HG--
rename : mobile/android/chrome/content/bindings.xml => mobile/android/chrome/content/bindings/menulist.xml
2012-06-18 10:09:23 -07:00
Margaret Leibovic
70923532db Bug 764535 - Remove unused bindings. r=mbrubeck 2012-06-18 10:09:20 -07:00
Vladimir Vukicevic
3f58a4b71f b=740586, [mobile] launch web apps in basic chromeless window; r=wesj,mfinkle 2012-06-18 13:03:03 -04:00
Kartikaya Gupta
a6fbe8a6ab Bug 761721 - Adjust the y-coordinate of the double-tap zoom rect to be near the touch point for tall blocks. r=wesj 2012-06-18 12:57:55 -04:00
Kartikaya Gupta
9523021534 Bug 761721 - Do some code refactoring for readability. r=wesj 2012-06-18 12:57:41 -04:00
Brian Nicholson
3ecf7a3491 Bug 763420 - Set telemetry prompted when telemetry preference changed (follow-up). r=wesj 2012-06-17 23:32:05 -07:00
Ryan VanderMeulen
dd68fb6231 Merge inbound to m-c. 2012-06-16 09:38:43 -04:00
Tim Taubert
fd5ba085cb merge m-c to fx-team 2012-06-16 12:36:20 +02:00
Panos Astithas
d88623ef8a Bug 764324 - Fix breakpoint handling for Fennec and B2G browser actors; r=mfinkle,vingtetun 2012-06-15 11:54:45 +03:00
Matt Brubeck
3f051f8536 Bug 763991 - Disable Telemetry UI for builds without MOZ_TELEMETRY_REPORTING; r=mfinkle
--HG--
rename : mobile/android/base/resources/xml/preferences.xml => mobile/android/base/resources/xml/preferences.xml.in
2012-06-13 08:27:11 -07:00
Kartikaya Gupta
de50e0ad31 Bug 764467 - Add a separate event for notifying browser.js of resize events, to avoid weird re-entrancy issues. r=Cwiiis 2012-06-14 10:59:28 -04:00
Phil Ringnalda
3caadd0ff3 Back out c6371662e21e (bug 765372), a3bbd67b9528 (bug 695173), ed90d02fd908 and 639edd2b32d4 (bug 764535) for widespread orange 2012-06-15 19:37:22 -07:00
Margaret Leibovic
2466684292 Bug 765372 - Add some null safety to isElementClickable. r=wesj 2012-06-15 15:58:36 -07:00
Margaret Leibovic
a138af8433 Bug 695173 - Add support for text selection in Fennec Native. r=mbrubeck 2012-05-02 10:39:59 -07:00
Margaret Leibovic
912ab94124 Bug 764535 - (Part 2) Remove bindings.xml, and put menulist binding in its own file. r=mbrubeck
--HG--
rename : mobile/android/chrome/content/bindings.xml => mobile/android/chrome/content/bindings/menulist.xml
2012-06-15 15:58:29 -07:00
Margaret Leibovic
d44bd0ace4 Bug 764535 - Get rid of unused bindings. r=mbrubeck 2012-06-15 15:58:21 -07:00
Wes Johnston
ce192a57fa Bug 742540 - Move clicks near boxes to the edge of the box. r=mbrubeck 2012-06-15 08:59:45 -07:00
Margaret Leibovic
d8c9b6df34 Bug 719026 - Blue background color remains for inputs, links etc, when panning inside iframes. r=wesj 2012-06-13 08:40:08 -07:00
Brian Nicholson
390bef88ed Bug 775346 - Make sure DOM events match current document. r=mbrubeck
--HG--
extra : rebase_source : 7d482561fd601501323ce494659e6e7f8d30eb92
2012-07-25 15:35:37 -07:00
Brian Nicholson
bef9420390 Bug 775346 - Part 3: Make Readability asynchronous. r=lucasr 2012-07-25 13:00:51 -07:00
Brian Nicholson
a58fcd46ff Bug 775346 - Part 2: Convert grabArticle() to a generator function. r=lucasr 2012-07-25 13:00:51 -07:00
Brian Nicholson
c09ec8ced6 Bug 775346 - Part 1: Make grabArticle() non-recursive. r=lucasr 2012-07-25 13:00:51 -07:00
Chris Peterson
56a8945611 Bug 758820 - Suppress form auto-complete popup after the user starts typing. r=blassey a=blassey 2012-06-12 13:10:59 -07:00
Matt Brubeck
d9d4d8babc Bug 763916 - Fix test for missing viewport metadata [r=kats] 2012-06-12 10:15:16 -07:00
Brian Nicholson
929382cdff Bug 763420 - Set telemetry prompted when telemetry preference changed. r=mfinkle 2012-06-12 10:06:19 -07:00
Lucas Rocha
070a199c10 Bug 750702 - Remove article from cache when removed from reading list (r=mfinkle) 2012-06-12 15:03:06 +01:00
Lucas Rocha
d653747d3a Bug 750702 - Cache article in reader DB when added to reading list (r=mfinkle) 2012-06-12 15:03:06 +01:00
Kartikaya Gupta
052f134c35 Bug 763592 - Ensure reloads are treated as different-document page loads in browser.js. r=mfinkle 2012-06-11 15:17:40 -04:00
Matt Brubeck
164fedaf34 Bug 762043 - meta viewport element should take precedence over mobile doctype [r=wesj]
--HG--
extra : rebase_source : 7cea21edd997a2f09eb6387ee2f94d0dfa9cfc68
2012-06-11 11:49:57 -07:00
Kartikaya Gupta
1edddbc7fe Bug 759678 - Prevent browser.js from triggering a reflow on meta tab addition before the page is displayed. r=mbrubeck 2012-06-11 14:46:43 -04:00
Lucas Rocha
640b776656 Bug 750712 - Add about:reader special url for reader mode pages (r=mfinkle) 2012-06-11 15:59:50 +01:00
Ryan VanderMeulen
53d33c67b1 Merge m-c to inbound 2012-06-09 14:22:32 -04:00
Tim Taubert
59348843cd merge m-c to fx-team 2012-06-09 17:34:20 +02:00
Panos Astithas
20d16de883 Bug 761153 - Use the same preferences for enabling and configuring the remote debugging server across products (Part 2: Fennec); r=mfinkle 2012-06-08 10:00:48 +03:00
Brian Nicholson
61230f82a9 Bug 721640 - Show no entries for empty filter in about:config. r=mfinkle 2012-06-07 11:16:45 -07:00
Wes Johnston
4c253ffb4c Bug 760708 - Remove shortcuts when they're added through about:apps. r=mfinkle 2012-06-06 13:52:32 -07:00
Wes Johnston
58bb22eb18 Bug 760708 - Add ability to remove homescreen shortcuts. r=mfinkle 2012-06-06 13:52:14 -07:00
Kartikaya Gupta
6b9f2b94c6 Bug 756003 - Check both overflow-x and overflow-y properties to see if an element is scrollable. r=mfinkle 2012-06-06 09:49:13 -04:00
Brian Nicholson
4ab9b4aa7f Bug 586885 - Add search suggestions to AwesomeBar. r=mfinkle,lucasr 2012-06-05 14:07:14 -07:00
Matt Brubeck
f1ee414dfd Bug 763104 - Fix android builds with --disable-accessibility [r=mfinkle] 2012-06-08 20:12:49 -07:00
Ehsan Akhgari
7b7a3556e8 Merge the last green changeset of mozilla-inbound to mozilla-central 2012-06-02 14:39:47 -04:00
Panos Astithas
373a9c5b39 Bug 758696 - Add a dialog to the debugger to deny or allow incoming server connections (Part 2: Fennec); r=mfinkle 2012-06-01 18:25:54 +03:00
Margaret Leibovic
14a23e24c9 Bug 760205 - Text match highlight remains on dismissal of Find in Page. r=mfinkle 2012-06-01 11:27:12 -07:00
Margaret Leibovic
b36d7be119 Bug 760089 - Find in Page will not match persisted value when utility is re-invoked. r=mfinkle 2012-06-01 11:27:08 -07:00
Margaret Leibovic
374c30ba41 Bug 760238 - Find in page has broken viewport save/restore code. r=kats 2012-06-01 11:27:05 -07:00
Margaret Leibovic
05159a44ce Bug 695172 - Find in page. r=mfinkle 2012-05-30 13:26:13 -07:00
Wes Johnston
1f64028fb8 Bug 747851 - Only fire change if a select changed. r=mfinkle 2012-05-30 13:23:13 -07:00
Matt Brubeck
72872a72c5 Bug 742207 - Use the same code for sizing SVG documents as for other synthetic documents [r=kats]
--HG--
extra : rebase_source : 863c2c81f3a30b8312cbcff8b4e412a67f6f4ab6
2012-05-30 10:33:40 -07:00
Margaret Leibovic
f483095af3 Bug 715263 - Browser should use the favicon size optimized for device resolution. r=mfinkle 2012-05-29 14:10:48 -07:00
Ali Juma
893d53c11b Bug 747883 - Make Native Fennec's onLocationChanged handler behave correctly for wyciwyg-prefixed URIs. r=mfinkle,kats 2012-05-29 09:37:47 -04:00
Mark Finkle
9ade7c96aa Bug 741430 - On install of a web app, show a system notification r=wesj 2012-05-24 23:42:00 -04:00
Mark Finkle
ee67db3579 Bug 741430 - Use new icons for status alert notifications r=sriram 2012-05-24 23:41:57 -04:00
Margaret Leibovic
2f0571d6ac Bug 755062 - Make sure there are no visible plugins on the page before deciding to show the plugin doorhanger. r=mfinkle 2012-05-22 21:29:19 -04:00
Kartikaya Gupta
4cfe762d78 Bug 753250 - Make the touch radius prefs map to real-world metrics (i.e. 1/240-inches) and expand the radius a little. r=mfinkle 2012-05-23 21:54:30 -04:00
Kartikaya Gupta
cd7997a23d Bug 748384 - Propagate the page bounds in via browser.js. r=Cwiiis,mats 2012-05-23 10:49:59 -04:00
Kartikaya Gupta
d448ef890c Bug 748384 - Remove the DrawMetadataProvider which is not being used any more. r=Cwiiis 2012-05-23 10:49:44 -04:00
Thiyag Krishna
9889587f54 Bug 741655 - Add more controls to download manager. r=bnicholson 2012-05-23 20:56:39 -04:00
Kartikaya Gupta
0f2c633486 Bug 748384 - Back out 330e9c52f9ac, 9ba1078559fe, 2ed39c12d792, f53f05ecacd5 for build bustage. r=bustage 2012-05-23 11:08:19 -04:00
Kartikaya Gupta
d6c0648ca9 Bug 748384 - Propagate the page bounds in via browser.js. r=Cwiiis,mats 2012-05-23 10:49:59 -04:00
Kartikaya Gupta
520bda2b3e Bug 748384 - Remove the DrawMetadataProvider which is not being used any more. r=Cwiiis 2012-05-23 10:49:44 -04:00
Vladimir Vukicevic
3f936df575 b=748509; [android] selecting current tab stops rendering; r=blassey 2012-05-22 18:13:04 -04:00
Mark Finkle
d0229b0166 Bug 741608 - Create homescreen shortcut for installed app r=wesj 2012-05-22 01:00:35 -04:00
Wes Johnston
74e192bdc9 Bug 756689 - Send notifications when addon options are shown. r=mfinkle 2012-05-21 12:31:36 -07:00
Gervase Markham
ca171eec44 Bug 716478 - update licence to MPL 2. 2012-05-21 12:12:37 +01:00
Matt Brubeck
8e2a757fb9 Bug 707571 (part 5) - Add a hidden pref to ignore user-scalable=no [r=mfinkle] 2012-05-18 08:24:27 -07:00
Matt Brubeck
447fca3d1d Bug 707571 (part 4) - Use mininum-scale and maximum-scale from <meta name="viewport"> [r=kats] 2012-05-18 08:24:27 -07:00
Matt Brubeck
d3c53ac15c Bug 707571 (part 2) - Disable zooming for pages with user-scalable=no [r=kats] 2012-05-18 08:24:27 -07:00
Matt Brubeck
a76f21a033 Bug 707571 (part 1) - Make viewport calculations respect zoom limits set by the page [r=mfinkle] 2012-05-18 18:36:47 -07:00
Matt Brubeck
bea1efeb46 Back out bug 707571 because of reftest failures 2012-05-18 09:31:27 -07:00