Jim Blandy
4d6a633bba
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
Henri Sivonen
9a664db15c
Bug 863728 - Implement the replacement encoding. r=emk.
2013-11-25 10:06:56 +02:00
Henri Sivonen
55a266896b
Bug 910192 non-UI part - Get rid of intl.charset.default as a localizable pref and deduce the fallback from the locale. r=bzbarsky.
2013-11-04 13:24:33 +02:00
Carsten "Tomcat" Book
d7506637b7
Backed out changeset 88e0c01e2d81 (bug 910192) bustage on a CLOSED TREE
2013-11-04 13:04:02 +01:00
Henri Sivonen
821d942153
Bug 910192 non-UI part - Get rid of intl.charset.default as a localizable pref and deduce the fallback from the locale. r=bzbarsky.
2013-11-04 13:24:33 +02:00
Ms2ger
105ce73cfa
Bug 922268 - Remove empty makefiles; r=gps
2013-10-03 09:10:00 +02:00
Gregory Szorc
cc1da2c22a
Bug 920223 - Part 2: Mass convert MOCHITEST_CHROME_FILES to manifests; rs=Ms2ger
2013-09-30 09:52:01 +02:00
Ed Morley
038cae0901
Backed out changeset 68b6b152f51a (bug 920223)
2013-09-30 12:50:09 +01:00
Gregory Szorc
483a776413
Bug 920223 - Part 2: Mass convert MOCHITEST_CHROME_FILES to manifests; rs=Ms2ger
2013-09-30 09:52:01 +02:00
Mike Hommey
f1cf3b4238
Bug 912293 - Remove now redundant boilerplate from Makefile.in. r=gps
2013-09-05 09:01:46 +09:00
Kyle Machulis
5aa83c3e11
Bug 855465 - Add emacs python mode comments to moz.build files; r=gps
2013-04-01 11:36:59 -07:00
Kyle Machulis
c79ccc0693
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
a59d40f143
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
Henri Sivonen
ad623cb811
Bug 844461 - Perform alias resolution on the fallback encoding pref value. r=smontagu.
2013-03-04 20:09:11 +02:00
Ms2ger
cd9c6150fe
Merge m-c to b-s.
2013-02-26 19:09:25 +01:00
Gregory Szorc
c978b6dde0
Bug 784841 - Part 18n: Convert /extensions; r=glandium f=Ms2ger
2013-02-25 12:47:21 -08:00
L. David Baron
57d19fbb86
Bug 404077: Annotate known assertions in mochitests.
2013-02-25 18:39:21 -08:00
Simon Montagu
67c7db920b
UTF-8 auto-detection tests. Bug 811363
2012-11-16 11:33:12 -08:00
Ryan VanderMeulen
dd87cc277e
Bug 799917 - Backout for various regressions.
2012-10-28 08:49:20 -04:00
Aryeh Gregor
45b3e80460
Bug 799917 - Make document.characterSet always lowercase; r=bz,f=hsivonen,smontagu
2012-10-14 10:13:19 +02:00
Mike Hommey
6173fa297f
Bug 774032 bonus - Use @DEPTH@ and @relativesrcdir@ in Makefile.in. r=ted
2012-08-04 20:26:44 +02:00
Nathan Froyd
a7eb97f896
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
Simon Montagu
b28eb77c41
Update patch for bug 644209 to final version. r=emk
2012-05-24 22:56:49 +03:00
Simon Montagu
615e4a9afa
Make tests that use non-UTF-8 content use file URLs instead of chrome URLs. Bug 644209, r=emk
2012-05-24 22:41:38 +03:00
Gervase Markham
ca171eec44
Bug 716478 - update licence to MPL 2.
2012-05-21 12:12:37 +01:00
Ed Morley
6a998be2c5
Backout 4997c6f8b24d (bug 616542) for causing locally run mochitest-browser-chrome test runs to fail
2011-11-05 18:35:59 +00:00
Rail Aliiev
364e83c545
Bug 616542 - Shorten file path length of mochitest; r=ted
2011-11-04 21:13:42 +00:00
Malini Das
e306b1b5aa
Bug 367393 - Add a packed MochiKit that contains only SimpleTest dependencies- chrome. r=jmaher, a=test-only
2011-08-12 12:21:36 -04:00
Henri Sivonen
cc99f71e41
Test for bug 638318 - Test that a byte run that has more than 1024 zeros but one non-zero byte among them before the 1024 byte limit does not sniff as UTF-16LE/BE. r=bzbarsky, a=test-only.
2011-03-03 19:20:00 +02:00
Henri Sivonen
9dadb8ba9d
Bug 631751 - Sniff Basic Latin BOMless UTF-16 for IE compat. r=bzbarsky, a=bzbarsky.
2011-02-16 08:40:35 +02:00
Henri Sivonen
c2e0c3291c
Bug 620106 - Allow chardet (if enabled) reload the page during load. r=sicking, a=blocking2.0-final.
2011-02-11 12:33:32 +02:00
Ms2ger@gmail.com
a8ba3b54f7
Bug 548073 - Tabs in extensions/universalchardet/tests/CharsetDetectionTests.js. r=smontagu
2010-03-06 16:36:05 +01:00
Simon Montagu
30abdde649
Set a minimum threshold even for the detector's preferred language. Bug 547487, r=emk
2010-02-23 01:46:15 -08:00
Jonathan Griffin
ffc7637cba
Bug 542660. Move universalchardet tests that use XPConnect to mochi-chrome. r=smontagu
2010-02-03 13:35:15 -08:00
Hiroyuki Ikezoe
017f87f4e2
Bug 488426 - enable TIS-620 detector; r=smontagu
2009-06-24 13:12:36 +09:00
Hiroyuki Ikezoe
09f3fd34d3
Bug 482558. Remove obsolete test. r=smontagu
2009-05-18 10:27:40 +12:00
L. David Baron
8c38aba811
Switch HTML mochitests from using MochiKit.js to packed.js. (Bug 490955) r=sayrer
2009-05-06 13:46:04 -07:00
Simon Montagu
e2998661ce
Don't require a minimum data threshold for encodings that correspond to the selected language. Bug 431054, r=Masatoshi Kimura (:emk) <VYV03354@nifty.ne.jp>
2008-10-30 10:57:25 -07:00
Ted Mielczarek
468a3823fc
bug 447642 - get rid of --disable-mochitest, replace MOZ_MOCHITEST with ENABLE_TESTS. r=bsmedberg
2008-09-09 13:59:11 -04:00
Simon Montagu
5148d12d4a
Unit test for bug 9357 (Autodetection of EUC-KR)
2008-06-22 01:28:42 -07:00
smontagu@smontagu.org
418103ab2c
Mochitests for charset autodetection
2008-04-21 03:50:45 -07:00
smontagu@smontagu.org
9f78c9b77a
Use universal charset detector with filters instead of the old language-specific parallel state machines. Bug 426271, r+sr=dbaron, b=vladimir
2008-04-08 23:36:22 -07:00
hg@mozilla.com
465265d0d4
Free the (distributed) Lizard! Automatic merge from CVS: Module mozilla: tag HG_REPO_INITIAL_IMPORT at 22 Mar 2007 10:30 PDT,
2007-03-22 10:30:00 -07:00