Commit Graph

35 Commits

Author SHA1 Message Date
J. Ryan Stinnett
375b366378 Bug 1067325 - MathML source in tab. r=mconley 2015-05-23 18:17:50 -05:00
J. Ryan Stinnett
cc8fe48b34 Bug 1067325 - Selection source in tab via frame scripts. r=mconley 2015-05-23 18:17:50 -05:00
J. Ryan Stinnett
90c30dc157 Bug 1067325 - Extract view source core to support tabs. r=mconley 2015-05-23 18:17:50 -05:00
J. Ryan Stinnett
3319e1fe68 Bug 1067325 - Fix line endings in several browser / toolkit files. r=mconley 2015-05-23 18:17:50 -05:00
Mike Conley
d98e438815 Bug 1163693 - Fix View Source external editor fallback. r=jryans. 2015-05-15 12:07:19 -04:00
Mike Conley
261f419eb5 Bug 1025146 - Modernize ViewSourceUtils to be able to use outerWindowIDs to load document sources. r=jryans. 2015-04-01 14:59:37 -04:00
Ehsan Akhgari
d4d4007fd7 Bug 1116880 - Pass in the referrer policy to the savePrivacyAwareURI() call in openInExternalEditor(); r=geekboy 2015-01-02 17:53:11 -05:00
Jim Blandy
39dc0c6097 Bug 914753: Make Emacs file variable header lines correct, or at least consistent. DONTBUILD r=ehsan
The -*- file variable lines -*- establish per-file settings that Emacs will
pick up. This patch makes the following changes to those lines (and touches
nothing else):

 - Never set the buffer's mode.

   Years ago, Emacs did not have a good JavaScript mode, so it made sense
   to use Java or C++ mode in .js files. However, Emacs has had js-mode for
   years now; it's perfectly serviceable, and is available and enabled by
   default in all major Emacs packagings.

   Selecting a mode in the -*- file variable line -*- is almost always the
   wrong thing to do anyway. It overrides Emacs's default choice, which is
   (now) reasonable; and even worse, it overrides settings the user might
   have made in their '.emacs' file for that file extension. It's only
   useful when there's something specific about that particular file that
   makes a particular mode appropriate.

 - Correctly propagate settings that establish the correct indentation
   level for this file: c-basic-offset and js2-basic-offset should be
   js-indent-level. Whatever value they're given should be preserved;
   different parts of our tree use different indentation styles.

 - We don't use tabs in Mozilla JS code. Always set indent-tabs-mode: nil.
   Remove tab-width: settings, at least in files that don't contain tab
   characters.

 - Remove js2-mode settings that belong in the user's .emacs file, like
   js2-skip-preprocessor-directives.
2014-06-24 22:12:07 -07:00
Ehsan Akhgari
09cb6bc6c1 Bug 815001 - Pass in the privacy information for the view sourced document to the web browser persist service when using an external view source program; r=jdm 2012-11-26 13:08:00 -05:00
Masayuki Nakano
8c8865adfd 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
97b6ccc8c3 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
2d31d82b8d Backout a6175c97f365, 3ceeeaf0519f, bde34cebdcdc, 66dfa9606626, 86762d8c4de9, 717f908c990a, aa83d71fe7ee (bug 722868) for compilation failures 2012-06-28 19:00:30 +01:00
Ehsan Akhgari
8fb72cdd94 Bug 722868 - Part 4: Make the view source window aware of the deleteTemporaryPrivateFileWhenPossible API; r=Mossop 2012-04-24 23:14:16 -04:00
Neil Rashbrook
3f194429dd Bug 758354 Stop unnecessarily preprocessing chrome r=dolske 2012-06-26 00:11:16 +01:00
Ed Morley
4bd90ea948 Backout ec9451e9e830 (bug 758354) for PGO linux permaorange in browser_bug422590.js and friends 2012-06-25 19:14:43 +01:00
Neil Rashbrook
d9a10be7eb Bug 758354 Stop unnecessarily preprocessing chrome r=dolske 2012-06-25 09:24:49 +01:00
Gervase Markham
cb6a072c2a Bug 716478 - update licence to MPL 2. 2012-05-21 12:12:37 +01:00
Neil Rashbrook
fadc7afebe Bug 738589 Avoid JavaScript strict warning by not explicitly passing the default value in r=gavin 2012-04-02 00:02:01 +01:00
Henri Sivonen
fa50078a10 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
44c46417e9 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
Simon Montagu
240ba31641 Bug 411511: Make nsIProcess accept Unicode paths as well as native charset, r=bsmedberg 2010-03-18 10:37:12 +02:00
Dão Gottwald
32f9911ea1 Bug 525708 - mIconURL shouldn't need to be accessed outside of tabbrowser.xml. r=mano 2009-12-15 08:49:08 +01:00
Dão Gottwald
ee84abf99c 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
Boris Zbarsky
a9c9ed852d Bug 490957. Eliminate nsWebShell. r+sr=bsmedberg 2009-05-07 15:21:53 -04:00
Jason Barnabe
467f6b788d Bug 318048 - viewing source in external editor never deletes the temp. file; r=gavin.sharp 2008-09-22 21:16:27 +02:00
Gavin Sharp
0fb7619377 Bug 454022: external editor doesn't work on Mac, r=zeniko 2008-09-15 09:15:43 -04:00
Dão Gottwald
bd0a870bc2 Bug 331940 - Should be able to pass a line number to the external viewer/editor (add missing semicolon) 2008-09-08 14:10:11 +02:00
Simon Bünzli
29a0ed8442 Bug 331940 - Should be able to pass a line number to the external viewer/editor. r=gavin 2008-09-08 14:06:06 +02:00
cae078a626 Bug 396176 - "Make change in viewSource() due to Bug 382074 backward compatible" [p=philip.chee@gmail.com (Philip Chee) r=Mano a1.9=mconnor] 2007-09-17 18:07:14 -07:00
fbd01d2392 Only override the charset in viewsource if the document charset was forced by the user. Bug 382074, r=mano 2007-08-11 11:55:27 -07:00
asqueella@gmail.com
ecce3de2e6 Bug 347057 - Report errors which lead to a fallback to the internal viewer in the console
p=Simon B��nzli <zeniko@gmail.com>
r=gavin
2007-02-10 23:54:05 +00:00
gavin@gavinsharp.com
a66ed96f80 Bug 307656: line and column numbers in view source statusbar, r=mconnor 2006-05-02 20:40:03 +00:00
gavin@gavinsharp.com
17180556d2 Bug 319006: External view source editor does not fallback to internal viewer on error, patch by Jason Barnabe (np) <jason_barnabe@fastmail.fm>, r=mconnor 2005-12-04 06:12:00 +00:00
timeless@mozdev.org
a7fc907ca5 Bug 318073 nsIProcess is not a service
patch by jason_barnabe@fastmail.fm r=mconnor
2005-11-29 16:40:17 +00:00
gavin@gavinsharp.com
993a9830ba Bug 172817: Allow external source viewer/editor, patch by Jason Barnabe (np) <jason_barnabe@fastmail.fm>, r=mconnor 2005-11-22 05:36:48 +00:00