Jim Blandy
7e20285e70
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
Mark Hammond
cae334e085
Bug 987404 - Disable failing mochitest-browser tests in e10s. r=ted.
2014-04-02 10:53:55 +11:00
Mike de Boer
b3953af07a
Bug 326743: support find-selection in view-source component. r=Unfocused
2014-02-28 16:07:37 +01:00
Neil Rashbrook
599e862904
Bug 956657 Followup tweak r=Unfocused
2014-02-25 00:19:36 +00:00
Neil Rashbrook
b15efc9c98
Bug 956657 Share more charset menu code between the view source window and the browser r=Unfocused
...
--HG--
extra : rebase_source : 7fd31cfc4b8eefee38fa06e63351cc207a9208db
2014-02-23 18:28:04 +00:00
Ryan VanderMeulen
0291c5929b
Backed out 3 changesets (bug 956657, bug 974824, bug 974258) for mochitest-other failures on a CLOSED TREE.
...
Backed out changeset 792ce962cad6 (bug 956657)
Backed out changeset a1574a6b0544 (bug 974824)
Backed out changeset ad851c771c04 (bug 974258)
2014-02-21 15:28:43 -05:00
Neil Rashbrook
2ccf75f0bd
Bug 956657 Share more charset menu code between the view source window and the browser r=Unfocused
...
--HG--
extra : rebase_source : 6fd5f6565b6dd0c07db0d530ffa01311d6e6d643
2014-02-21 00:17:13 +00:00
James Kitchener
cfadc2a043
Bug 464222 - Get relative links to resolve in parser view selection. r=dolske
2014-02-20 08:43:54 -05:00
Phil Ringnalda
2ff6e6f32a
Back out 024e6835e6ea:bece94ce2310 (bug 326743) for frequent 10.6 debug failures in browser_bug537013.js
2014-02-14 23:58:49 -08:00
Mike de Boer
8f0475a831
Bug 326743: support find-selection in view-source component. r=Unfocused
2014-02-14 14:04:25 +01:00
Mike de Boer
f4e68f74e8
Backed out 5 changesets (bug 326743)
...
Backed out changeset 55fba7bccaaf (bug 326743)
Backed out changeset f4ab79254dfb (bug 326743)
Backed out changeset c8151192e447 (bug 326743)
Backed out changeset 57ceb72568c6 (bug 326743)
Backed out changeset 3081b9770c33 (bug 326743)
2014-02-14 12:55:13 +01:00
Mike de Boer
02d40ece5b
Bug 326743: support find-selection in view-source component. r=Unfocused
2014-02-14 11:38:26 +01:00
Gregory Szorc
afdb724edf
Bug 969021 - Part 1: Consolidate moz.build data into parent moz.build files; r=ted
...
Many moz.build files define things that could be defined in parent
moz.build files. Keeping the number of moz.build files low helps with
build times due to less I/O and fewer directories traversed.
This patch eliminates a lot of moz.build files by moving their content
into parent moz.build files.
--HG--
extra : rebase_source : 0cfdf2697d10532e5b03cd27fbaadb41f42b837c
extra : amend_source : 0119d4e4881217f105e0e4ba1dfa9c8f7295f3e9
extra : histedit_source : eb49e62c67af2005fdc08d9c9a07f56bee98d558%2C50951e960e450f9b0e48fc7e8ec369d8666a63b0
2014-02-06 13:00:20 -08:00
Henri Sivonen
cf6bacb02c
Bug 959061 - Have only one "Chinese, Simplified" item in the Character Encoding menu. r=Unfocused.
2014-01-30 14:39:25 +02:00
Gijs Kruitbosch
9fd4ab18f7
Bug 936442 - part 1: refactor CharsetMenu to allow Australis code to use it, r=Unfocused
2014-01-27 11:56:04 +00:00
Neil Rashbrook
fbaa743e6a
Bug 940907 Re-introduce the Character Encoding menu to the View Source window r=Unfocused
...
--HG--
rename : browser/locales/en-US/chrome/browser/charsetMenu.dtd => toolkit/locales/en-US/chrome/global/charsetMenu.dtd
rename : browser/locales/en-US/chrome/browser/charsetMenu.properties => toolkit/locales/en-US/chrome/global/charsetMenu.properties
rename : browser/modules/CharsetMenu.jsm => toolkit/modules/CharsetMenu.jsm
2014-01-06 08:44:19 +00:00
Gregory Szorc
e396fc159d
Bug 774572 - Part 2: Define JAR_MANIFESTS in moz.build files; r=glandium
...
Every directory with a jar.mn now has JAR_MANIFESTS defined in its
moz.build file.
We also removed the may_skip special consideration of jar.mn files
because this information is now available during tier traversal by the
reader courtesy of the variables being present in moz.build files.
--HG--
extra : rebase_source : 21049b15e6bd9cf65b0805ccaccc4ba5aae93c98
extra : amend_source : 0b1ea866d725beef92d37c6f6d475369ac002e19
2013-12-10 16:18:11 +09:00
Jared Wein
22eac44ef0
Bug 926487 - Replace className comparisons with classList.contains in viewSource.js. r=Unfocused
...
--HG--
extra : rebase_source : 1e5a9b55e2c455b08454e8bd17afe4412f42a042
2013-12-12 18:14:25 -05:00
Henri Sivonen
a581322e18
Bug 805374 - Clean up the Character Encoding menu. r=Gijs,Unfocused.
2013-11-26 09:31:52 +02:00
Henri Sivonen
eb050aeb55
Bug 871161 - Stop inheriting charset where other browsers do not inherit it. r=bzbarsky.
2013-10-16 04:46:10 +03:00
Gavin Sharp
992c46c5f1
Bug 922338: update link to phishing protection info in Firefox, r=dao,wesj,mbrubeck,fabrice
2013-10-08 14:00:48 -07:00
Ms2ger
1ee1f27aa3
Bug 922268 - Remove empty makefiles; r=gps
2013-10-03 09:10:00 +02:00
Gregory Szorc
54c1de66d6
Bug 920223 - Part 3: Mass convert MOCHITEST_BROWSER_FILES to manifests; rs=Ms2ger
2013-09-30 09:52:06 +02:00
Gregory Szorc
e6acf6270f
Bug 920223 - Part 2: Mass convert MOCHITEST_CHROME_FILES to manifests; rs=Ms2ger
2013-09-30 09:52:01 +02:00
Ed Morley
53a451894a
Backed out changeset 68b6b152f51a (bug 920223)
2013-09-30 12:50:09 +01:00
Ed Morley
2c7dd24541
Backed out changeset 8b02873ee07e (bug 920223)
2013-09-30 12:50:05 +01:00
Gregory Szorc
8344d8a946
Bug 920223 - Part 3: Mass convert MOCHITEST_BROWSER_FILES to manifests; rs=Ms2ger
2013-09-30 09:52:06 +02:00
Gregory Szorc
0b4364c6f3
Bug 920223 - Part 2: Mass convert MOCHITEST_CHROME_FILES to manifests; rs=Ms2ger
2013-09-30 09:52:01 +02:00
Mike de Boer
751a9d7924
Backed out 3 changesets (bug 893446, bug 893011, bug 869543)
...
Backed out changeset 452ca8b779f3 (bug 893446)
Backed out changeset e1bf70be67ec (bug 893011)
Backed out changeset 60865db5f5dc (bug 869543)
2013-09-13 11:01:40 +02:00
Ryan VanderMeulen
ec705baafb
Backed out changeset 6dcc6fc612e4 (bug 914180) for it was intended for Aurora only.
2013-09-13 14:53:00 -04:00
Mike de Boer
1c932c7d52
Bug 914180 - Backout moving findbar to the top. r=dao
...
Backs out changeset 452ca8b779f3 (bug 893446), changeset e1bf70be67ec (bug 893011), and changeset 60865db5f5dc (bug 869543).
2013-09-13 11:01:40 +02:00
Mike Hommey
f8bc7fa754
Bug 912293 - Remove now redundant boilerplate from Makefile.in. r=gps
2013-09-05 09:01:46 +09:00
Mike de Boer
7ed8394c6f
Bug 869543: move findbar to the top. r=dao
2013-07-11 12:44:34 +02:00
Boris Zbarsky
0745baf88c
Bug 792215. Convert quickstubs to using JSNative getters and setters. r=peterv
2012-09-25 14:44:40 -04:00
Kyle Machulis
72a717a860
Bug 855465 - Add emacs python mode comments to moz.build files; r=gps
2013-04-01 11:36:59 -07:00
Kyle Machulis
43628a7867
Backout for changeset 03452b187c14 (Bug 855465) due to bustage on a CLOSED TREE; r=qdot
2013-03-29 15:12:58 -07:00
Kyle Machulis
334c0800cf
Bug 855465 - Add emacs python mode comments to moz.build files; r=gps
...
--HG--
extra : rebase_source : 004a756492323e1a049586e85b3be5037159df20
2013-03-29 13:56:18 -07:00
Neil Deakin
978beafe38
Bug 480356, move content page tooltip text generation code into tooltip binding so that it can be shared, r=neil,mratcliffe
2013-03-21 08:58:07 -04:00
Gregory Szorc
7d09ff18e0
Bug 844635 - Part 3: Remove empty Makefile.in files; r=glandium
2013-03-17 18:01:25 -07:00
Gregory Szorc
2f9c3f619e
Bug 784841 - Part 18θ: Convert /toolkit f=Mossop, Ms2ger; rs=ted
2013-02-25 13:19:09 -08:00
Boris Zbarsky
1ee4c73471
Bug 838518 part 1. Fix treewalker callers per the API change that was made. r=smaug
2013-02-06 14:22:33 +00:00
Scott Johnson
948f478584
Bug 812372: Rename DocumentViewerImpl to nsDocumentViewer for consistency. [r=ehsan]
2012-11-28 18:26:39 -06:00
Ehsan Akhgari
ce71c8bd00
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
Neil Rashbrook
2e0327bdb4
Bug 803661 Can't save files from the view source window r=jdm
2012-10-20 00:37:35 +01:00
Josh Matthews
be721d5624
Bug 795065 - Add privacy status to nsDownload. r=mak sr=bz
2012-10-03 13:10:20 -04:00
Masayuki Nakano
cde384043e
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
Mike Hommey
70d7c821af
Bug 774032 bonus - Use @DEPTH@ and @relativesrcdir@ in Makefile.in. r=ted
2012-08-04 20:26:44 +02:00
Nathan Froyd
bfff055672
Bug 370750 - consolidate mochitest files installation; r=glandium
...
With assistance on the patch from Ms2ger, Waldo, and Mossop.
2012-07-03 16:49:02 -04:00
Ehsan Akhgari
2d1d49791d
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
9f814b505f
Backout a6175c97f365, 3ceeeaf0519f, bde34cebdcdc, 66dfa9606626, 86762d8c4de9, 717f908c990a, aa83d71fe7ee (bug 722868) for compilation failures
2012-06-28 19:00:30 +01:00