Commit Graph

582 Commits

Author SHA1 Message Date
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