Commit Graph

26 Commits

Author SHA1 Message Date
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
Ryan VanderMeulen
2f0f166eb1 Backed out 4 changesets (bug 993282) for bringing back bug 1008357 on a CLOSED TREE.
Backed out changeset b67f3001c73d (bug 993282)
Backed out changeset b9ca30286579 (bug 993282)
Backed out changeset 41fe339ca4ea (bug 993282)
Backed out changeset 2a6184672f1e (bug 993282)
2014-06-03 14:32:10 -04:00
Fabrice Desré
b63fc110a3 Bug 993282 - Lazy load more js modules - Part 2: contacts r=gwagner 2014-06-03 08:35:21 -07:00
Ed Morley
9c019fd56e Backed out changeset 13ca7eb38c28 (bug 993282) 2014-05-15 17:01:39 +01:00
Fabrice Desré
62cb104711 Bug 993282 - Lazy load more js modules - Part 2: contacts r=gwagner 2014-05-07 15:53:16 -07:00
Wes Kocher
fae8204d08 Backed out 3 changesets (bug 993282) for b2g emulator mochitest 3 failures
Backed out changeset 30e0991d49e0 (bug 993282)
Backed out changeset 6b9c8d6ab401 (bug 993282)
Backed out changeset 96e1a542bb45 (bug 993282)
2014-05-07 18:47:17 -07:00
Fabrice Desré
6037eb922d Bug 993282 - Lazy load more js modules - Part 2: contacts r=gwagner 2014-05-07 15:53:16 -07:00
Gregor Wagner
1d9fe92c4f Bug 905927 - [Contacts API] fail in matching digits test. r=bent 2013-08-29 07:56:19 -07:00
Michael Henretty
a2dfdcc830 Bug 883923 - Provide a Fuzzy Matcher API for phone numbers. r=fabrice 2013-07-31 21:04:59 -07:00
Reuben Morais
a28c3b9134 Bug 874501 - Don't translate letters to numbers when finding contacts. r=bent
--HG--
extra : rebase_source : 5d5a6904aea2430c0521fa6ca3d898c5ce3ab6b2
2013-05-28 15:38:11 -07:00
Reuben Morais
8a3941b015 Bug 869273 - Update PhoneNumber.jsm from upstream. r=gwagner
--HG--
extra : rebase_source : 9a3a3f00c0902e1c4883353ba76d6a77337a38c6
2013-05-07 15:09:01 -07:00
Gregor Wagner
d8d233f40f Bug 860836 - Fix error importing contacts from SIM card. r=bent 2013-05-06 14:58:41 -04:00
janjongboom@gmail.com
d89df799f0 Bug 862232 - [OPEN_][SMS]when we send a message to a contact whose number contains 0, the 0 will be deleted. r=gwagner 2013-04-18 07:42:39 -04:00
Gregor Wagner
5940f7590d Bug 858339 - PhoneNumberJS: Fix colombian phone numbers without the leading +. r=bent 2013-04-04 17:40:04 -07:00
Gregor Wagner
d4af4ca2ee Bug 858330 - PhoneNumberJS: Fix chilean mobile numbers. r=bent 2013-04-04 17:39:57 -07:00
Julien Wajsberg
24f0f911e9 Bug 846499 - [B2G RIL] Don't reject so many numbers in nsIDOMTelephony.dial(). r=gwagner 2013-03-08 16:08:55 +01:00
David Flanagan
8ca357843d Bug 849119 - [dom/phonenumberutils] PhoneNumber.Normalize() handles letters incorrectly. merge upstream. r=gwagner 2013-03-08 08:12:13 -08:00
David Flanagan
89e016e9f9 Bug 845539 - Don't reject phone numbers like *2 and *8. r=vicamo 2013-02-27 23:45:26 -08:00
Vicamo Yang
00eb102c54 Bug 836215 - Part 1/2: PhoneNumberJS: shamelessly copy of IsViablePhoneNumber() from upstream. r=gwagner 2013-02-20 17:02:45 +08:00
Gregor Wagner
20883b85f2 Bug 839094 - PhoneNumberJS: handle countries sharing the same meta-data correctly. r=gal 2013-02-07 17:42:36 -08:00
Gregor Wagner
5b8bf9d41c Bug 821876 - Fix ParseNumber so that it accepts a null defaultRegion. r=gal 2012-12-17 18:20:31 -08:00
Gregor Wagner
97084c57be Bug 821417 - PhoneNumberJS: fix startup warnings. r=bent 2012-12-13 12:00:22 -08:00
Gregor Wagner
ded989a2a9 Bug 819250 - PhoneNumber.js overwrites national number. r=bent 2012-12-07 10:47:44 -08:00
Gregor Wagner
cf4538bccd Bug 818507 - Importing SIM contacts stays stuck on spinner. r=gal 2012-12-05 20:03:27 -08:00
Gregor Wagner
cf581439fa Bug 817989 - [CONTACTS] Is not possible to save a contact with a very long phone number. r=gal 2012-12-04 13:00:36 -08:00
Gregor Wagner
d6dabdb958 Bug 809213 - Move PhoneNumber.js from Gaia to Gecko. r=gal 2012-11-08 14:53:44 -08:00