Commit Graph

79 Commits

Author SHA1 Message Date
Masayuki Nakano
1e2c3a60d4 Bug 789852 Use getComplexValue() with nsIFile for view_source.editor.path, which supports unicode path r=gavin 2012-09-11 17:20:06 +09:00
Ehsan Akhgari
e7ff56366a Bug 722868 - Part 4: Make the view source window aware of the deleteTemporaryPrivateFileWhenPossible API; r=Mossop 2012-04-24 23:14:16 -04:00
Ed Morley
a82421537c Backout a6175c97f365, 3ceeeaf0519f, bde34cebdcdc, 66dfa9606626, 86762d8c4de9, 717f908c990a, aa83d71fe7ee (bug 722868) for compilation failures 2012-06-28 19:00:30 +01:00
Ehsan Akhgari
5259bfd587 Bug 722868 - Part 4: Make the view source window aware of the deleteTemporaryPrivateFileWhenPossible API; r=Mossop 2012-04-24 23:14:16 -04: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
Neil Rashbrook
0c34361ca7 Bug 758354 Stop unnecessarily preprocessing chrome r=dolske 2012-06-26 00:11:16 +01:00
Ed Morley
58e896dd49 Backout ec9451e9e830 (bug 758354) for PGO linux permaorange in browser_bug422590.js and friends 2012-06-25 19:14:43 +01:00
Neil Rashbrook
7e7b835fdc Bug 758354 Stop unnecessarily preprocessing chrome r=dolske 2012-06-25 09:24:49 +01:00
Ian Neal
8121ad3ea5 Bug 756784 - Make file menu popup more consistent and easier to overlay r=gavin 2012-06-17 16:40:30 +01:00
Gervase Markham
ca171eec44 Bug 716478 - update licence to MPL 2. 2012-05-21 12:12:37 +01:00
Neil Rashbrook
e51e8007e8 Bug 738589 Avoid JavaScript strict warning by not explicitly passing the default value in r=gavin 2012-04-02 00:02:01 +01:00
aceman
b6293e05e9 Bug 738568 - remove Services.prefs.getBranch(null) occurences. r=gavin 2012-03-29 11:48:40 +02:00
Phil Ringnalda
6e9250f387 Back out 0cb85ff0f764 (bug 738568), 9949bb092303 (bug 730209), 095fd525afa7 (bug 729924), dcf8929a8115 (bug 633602) because of widely scattered and unclear bustage on a CLOSED TREE 2012-03-28 22:37:46 -07:00
aceman
5506b28ad7 Bug 738568 - Remove Services.prefs.getBranch(null) occurences in Toolkit. r=gavin 2012-03-28 21:00:14 -04:00
Gavin Sharp
69d8ffac0e backout 110452fddc2a (bug 738568) since it broke viewsource 2012-03-27 18:06:10 -07:00
aceman
0b394e2937 Bug 738568 - Remove Services.prefs.getBranch(null) occurences in Toolkit. r=gavin 2012-03-27 19:17:35 -04:00
Geoff Lankow
8d531a8d9b Bug 469434 - Links in "view source" should have "copy link location" in context menu; r=dao 2012-02-19 22:47:06 +13:00
Phil Ringnalda
18c63067ed Back out 3d8fc342348b (bug 469434) for browser_contextmenu.js timeouts 2012-02-22 22:11:48 -08:00
Geoff Lankow
30543d19e0 Bug 469434 - Links in "view source" should have "copy link location" in context menu; r=dao 2012-02-19 22:47:06 +13:00
Simon Montagu
a7648e1a49 Rename BrowserSetForcedDetector and remove unnecessary parameter. Bug 720310, r=gavin 2012-01-24 11:52:05 +02:00
Simon Montagu
6d25747926 Remove unused forcedDetector property. Bug 713825, r=bz 2012-01-24 11:52:05 +02:00
Simon Montagu
4feaa1e8f3 Move nsIDocumentCharsetInfo out of intl/chardet into nsIDocShell, Bug 713825, r=bz, mbrubeck 2012-01-24 11:52:05 +02:00
Simon Montagu
07bbd70b32 Move nsIDocCharset out of intl/chardet into nsIDocShell, Bug 713825, r=bz 2012-01-24 11:52:04 +02:00
Henri Sivonen
39aeb30a12 Bug 713810 - Use the HTMLness mode of the original document for the View Selection Source serialization. r=gavin.sharp. 2012-01-19 09:51:49 +02:00
Henri Sivonen
0ed62b3996 Bug 710142 - Make external View Source editor work again when the content comes from nsIWebBrowserPersist. r=gavin.sharp. 2011-12-20 09:41:08 +02:00
Henri Sivonen
e3192d032a Bug 700034 - Wait for the view source doc to load before reading its .body.textContent when feeding an external editor. r=gavin.sharp, a=Unfocused. 2011-12-12 10:53:48 +02:00
Henri Sivonen
a7be029d4b Bug 700361 - Make viewSource.js assume a pre without an id starts on line 1. r=gavin.sharp. 2011-11-16 09:38:51 +02:00
Henri Sivonen
d91f7c72fc Bug 482921 part 9 - Support tooltips in the View Source window. r=gavin.sharp. 2011-11-01 13:33:11 +02:00
arno renevier
ae39c696bb Bug 684908 - Save viewSource uri with content cacheKey; r=neil 2011-10-10 15:27:05 +01:00
Boris Zbarsky
3bc22ea6af Bug 624763. When cloning the fragment we'll munge, clone it into a data document. r=smaug 2011-09-26 17:25:17 -04:00
Gavin Sharp
0f6891df9b Bug 652542: "Ignore warning" link in the view-source window no longer works, r=neil 2011-04-26 09:24:10 -04:00
Dão Gottwald
d00035f67a Bug 571567 - use <menupopup> instead of <popup>. r=enn 2010-06-22 08:34:21 +02:00
Robert Kaiser
1a1d1d5a7f bug 567587 - consistent IDs for view(Partial)Source, kill unused page editing function, r=gavin 2010-05-24 14:48:24 +02:00
Ehsan Akhgari
a534fc7fef Back out changeset 6fc5d661ca55 because of a11y test failures 2010-05-19 10:48:30 -04:00
Asaf Romano
4613bbc1fa Bug 566736 - Lazily initialize the findbar. r=gavin. 2010-05-19 15:23:43 +03:00
Neil Deakin
16e62a0020 Bug 545714, consolidate dropped link handlers into one single component and use it for security checking, r=mano,neil,sr=sicking 2010-04-18 14:27:18 -04:00
Simon Montagu
16606db5c5 Bug 411511: Make nsIProcess accept Unicode paths as well as native charset, r=bsmedberg 2010-03-18 10:37:12 +02:00
Olli Pettay
ecf6194456 Bug 544018 - print preview doesn't work in view source , r=dao 2010-02-09 18:24:49 +02:00
Olli Pettay
435c946f5c backout Bug 544018 2010-02-08 19:00:41 +02:00
Olli Pettay
04889fec16 Bug 544018 - print preview doesn't work in view source, r=dao 2010-02-08 18:16:57 +02:00
Blair McBride
483286803f Bug 397937 - Handle view-source on malware and error pages more gracefully, r=mconnor 2009-12-23 22:03:37 -05:00
Dão Gottwald
72f04db1ba Bug 525708 - mIconURL shouldn't need to be accessed outside of tabbrowser.xml. r=mano 2009-12-15 08:49:08 +01:00
Tom Dyas
ff21c67765 Bug 465265 - Support swipe gestures in View Source windows on Mac OS X. r=gavin, ui-r=faaborg 2009-11-06 17:38:22 +01:00
Taras Glek
b0e277f707 Bug 522229 - XML Pretty-Print no longer colored r=bz
--HG--
extra : rebase_source : a4bac99887fcdae4b82e02e05e765cb9388858aa
2009-10-14 14:34:50 -07:00
Dão Gottwald
71070ef739 Bug 517755 - use smart getters in View Source window. r=neil 2009-10-03 11:36:04 +02:00
Dão Gottwald
cb7e8eb12e Bug 517768 - crash with view page source and external editor [@nsDocShell::OnStateChange(nsIWebProgress*, nsIRequest*, unsigned int, unsigned int) ]. r=bz 2009-10-02 20:33:55 +02:00
Neil Deakin
2737a14b5e Bug 456106, use new drag and drop api in browser and toolkit, r=mano 2009-06-20 20:04:07 -04:00
Masahiro Yamada
9f2119ab96 Bug 425588 "Go to line" should always parse line number as decimal r=mconnor, sr=roc 2009-06-18 14:23:04 +09:00
Phil Ringnalda
d54e367f42 Bug 480080 - updateStatusBar not defined in gSelectionListener in viewSource.js (when it's getting notified of a selection change after the window has already closed), r=gavin 2009-05-08 21:36:55 -07:00
Josh Aas
bcde3caab0 Backed out changeset 9f9b05760fff, bug 480080, to see if it fixes orange 2009-05-08 13:42:19 -04:00