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
Boris Zbarsky
9f22a72a7d
Bug 1023121. Update our progress in docloader before calling state change listeners. r=smaug
2014-06-24 23:36:39 -04:00
Benoit Jacob
6cbcf7b515
Bug 1028588 - Fix dangerous public destructors in uriloader - r=smaug
2014-06-23 14:49:09 -04:00
Antonio M. Amaya
82c69415a1
Bug 1021156 - Ignore Content-Disposition attachment for OMA FL DRM files on B2G. r=bz
2014-06-18 02:47:00 -04:00
"Kan-Ru Chen (陳侃如)"
8f452f1067
Bug 879475 - Part 006. Fix http auth prompts for nested content processes r=honzab
...
Based on original patch by David Zbarsky <dzbarsky@gmail.com>
2014-06-11 13:44:36 +08:00
Wes Kocher
1972488853
Merge b2g-inbound to m-c a=merge
2014-06-05 18:49:36 -07:00
Dave Hylands
edc2be9cf4
Bug 986331 - Enable .3g2 file extension to be recognized as 3gpp video. r=cajbir
2014-06-05 14:22:15 -07:00
Robert O'Callahan
2a92625af7
Bug 1015664
. Part 2: Remove some NS_HIDDEN usage. r=bsmedberg
2014-06-03 00:08:24 +12:00
Robert O'Callahan
cbb8fdebfc
Bug 1015664
. Part 1: Remove NS_HIDDEN_() usage. r=bsmedberg
2014-06-03 00:08:21 +12:00
Honza Bambas
4b98e16e4c
Bug 999577 - disable addon access to cache v1 IDLs, r=michal+jduell
2014-06-05 20:14:07 +02:00
Ryan VanderMeulen
006487470f
Backed out changeset d405928cb934 (bug 999577) and changeset 940d041073c7 (bug 938186) for xpcshell failures.
...
CLOSED TREE
2014-06-05 13:32:04 -04:00
Honza Bambas
995070a4f7
Bug 999577 - disable addon access to cache v1 IDLs, r=michal+jduell
2014-06-05 18:27:38 +02:00
Monica Chew
aabd897512
Bug 1011799: Integrate nsIRedirectChannel redirects into application reputation check
2014-05-28 16:06:21 -07:00
Neil Rashbrook
ef8d375d0b
Bug 869836 - Part 9a: Use AssignLiteral(MOZ_UTF16(...)) instead of Assign(NS_LITERAL_STRING(...)). r=ehsan
...
Relading with correct bug number so DONTBUILD.
--HG--
extra : amend_source : 6e05de7729c27761564124212b7d4cbe3318e482
2014-05-26 21:54:10 +03:00
Birunthan Mohanathas
7ed88d413a
Backout 8b8bbe7aa1cc due to wrong bug number
2014-05-27 14:42:13 +03:00
Neil Rashbrook
71828ecc1c
Bug 995730 - Part 9a: Use AssignLiteral(MOZ_UTF16(...)) instead of Assign(NS_LITERAL_STRING(...)). r=ehsan
...
--HG--
extra : rebase_source : d2d3d611c06a2a7ec930fb11576d7c8335c0a6e2
2014-05-26 21:54:10 +03:00
Birunthan Mohanathas
952b834c76
Bug 869836 - Part 9: Use AssignLiteral instead of Assign(NS_LITERAL_STRING(...))
. r=ehsan
2014-05-22 06:48:52 +03:00
Birunthan Mohanathas
aea8617b92
Bug 869836 - Part 7: Use AppendLiteral instead of Append where possible. r=ehsan
2014-05-22 06:48:51 +03:00
Birunthan Mohanathas
58641805f1
Bug 869836 - Part 6: Use EqualsLiteral instead of Equals where possible. r=ehsan
2014-05-22 06:48:51 +03:00
Birunthan Mohanathas
0e6f3a6562
Bug 869836 - Part 3: Use Append('c')
instead of AppendLiteral("c")
. r=ehsan
2014-05-22 06:48:51 +03:00
Birunthan Mohanathas
19bebbc68d
Bug 869836 - Part 2: Use AppendLiteral instead of Append(NS_LITERAL_STRING(...))
. r=ehsan
2014-05-22 06:48:50 +03:00
Hiroyuki Ikezoe
ba123c375e
Bug 984194 - Use do_check_matches to output meaningful failure log. r=sworkman
2014-05-19 19:38:00 -04:00
Ethan Tseng
d3a0791173
Bug 1000340 - Remove obsolete codes to launch video app for RTSP. r=sworkman
2014-05-21 11:08:18 +08:00
Makoto Kato
752e23f084
Bug 1008795 - Remove MOZ_ENABLE_MEEGOTOUCHSHARE. r=romaxa
2014-05-12 20:01:04 +09:00
Neil Rashbrook
5b3f3e053a
Bug 514280 Only use nsCOMPtr for interfaces r=bsmedberg
2014-05-11 10:47:11 +01:00
Neil Rashbrook
fac8c73779
Backout of bug 514280 changeset c738f7348dea for build failure on a CLOSED TREE
2014-05-08 20:35:09 +01:00
Neil Rashbrook
5b1f7b4a77
Bug 514280 Only use nsCOMPtr for interfaces r=bsmedberg
2014-05-08 20:08:38 +01:00
Nathan Froyd
84041459a1
Bug 1003306 - part 2 - use services::GetPermissionManager everywhere that's appropriate; r=ehsan
2014-04-29 13:27:26 -04:00
Arpad Borsos
50386dce5f
Bug 493701 - part2: Use TObserverArray for DocLoader Listeners; r=bzbarsky
...
* * *
Bug 493701 - part 3: add and use a BackwardIterator::Remove method; r=bzbarsky
--HG--
extra : rebase_source : 87e4e490602c10d7c833179901d85b9e3901e727
2014-04-19 09:43:34 +02:00
Birunthan Mohanathas
5f1fde8824
Bug 900908 - Part 3: Change uses of numbered macros in nsIClassInfoImpl.h/nsISupportsImpl.h to the variadic variants. r=froydnj
2014-04-27 03:06:00 -04:00
Nathan Froyd
d649cd0a50
Backout f615a0532971:154fb9a9e0bc (bug 493701) for Cpp bustage
2014-04-26 13:12:10 -04:00
Arpad Borsos
646e882e92
Bug 493701 - part2: Use TObserverArray for DocLoader Listeners; r=bzbarsky
...
* * *
Bug 493701 - part 3: add and use a BackwardIterator::Remove method; r=bzbarsky
--HG--
extra : rebase_source : c2d74a5605dd81907cf2e6412a2f4202451d4a1f
2014-04-19 09:43:34 +02:00
James Gilbertson
e568288872
Bug 757927 - Return the result of loadUriInternal instead of always returning NS_OK. r=wesj, r=blassey
2014-04-18 22:00:00 -04:00
Brad Lassey
2c199039f5
bug 962658 - test_badMimeType.html | Assertion count 6 is greater than expected range 0-0 assertions. on Android 4.0 Debug r=gbrown
...
--HG--
extra : rebase_source : e601fa6f2ed385a28bb25550c4a13aa63f5a452b
2014-04-11 00:33:47 -04:00
Ghislain 'Aus' Lacroix
45b6f0b459
Bug 981539 - Ensure there is always a transfer object instance available in nsExternalAppHandler::OnSaveComplete for e10s. r=bz
2014-04-04 08:32:07 -07:00
Masayuki Nakano
d42c98a423
Bug 990855 part.2 Remove dom/events from local includes of moz.build files r=smaug
2014-04-03 13:18:38 +09:00
snigdha
9cc482da68
Bug 798033 - Headers should generally not do "using namespace" at file scope. r=jib, r=jmathies, r=rjesup, r=ekr, r=ncameron, r=blassey
2014-04-01 08:29:25 -04:00
Ghislain 'Aus' Lacroix
85bbd9301e
Bug 982006 - Make GetDownloadDirectory return error for both SD card missing and SD card busy. r=bz
2014-03-31 12:10:44 -07:00
Ritesh Khadgaray
abbc738751
Bug 947868 - Fix nsMIMEInfoUnix::GetHasDefaultHandler to properly handle the protocol scheme. r=karlt
2014-03-24 08:57:39 -04:00
Ghislain 'Aus' Lacroix
d8e84e5a6d
Bug 960749 - Improve error messages when < and > are used in filenames. r=bsmedberg
...
* Unify OS_FILE_ILLEGAL_CHARACTERS
* Provide KNOWN_PATH_SEPARATORS in addition to FILE_PATH_SEPARATOR.
* Update nsExternalAppHandler to use KNOWN_PATH_SEPARATORS instead of
FILE_PATH_SEPARATOR when removing path separators.
* Fix DownloadsIPC.jsm when compiling with MOZ_DEBUG (would throw on undefined download.id).
* Add test for stripping out illegal characters when downloading.
2014-03-20 14:05:40 -07:00
Nathan Froyd
73447b07b9
Bug 984466 - change CallQueryInterface to assert in cases of trivial conversions; r=ehsan
2014-03-17 13:00:17 -04:00
Andrew McCreight
a6896f5162
Bug 983993, part 2 - Remove unused hash table arguments from the Unix nsOSHelperAppService.
2014-03-18 14:25:39 -07:00
Andrew McCreight
32e5aaa404
Bug 983993, part 1 - Remove trailing whitespace from nsOSHelperAppService.
2014-03-18 14:25:39 -07:00
Neil Rashbrook
db90ab0285
Bug 514280 Remove GetIID r=bsmedberg
...
--HG--
extra : rebase_source : b913300be047e87c24fb95f7bd17793ebd2c5995
2014-03-18 00:23:11 +00:00
Wes Kocher
c879b47079
Backed out 2 changesets (bug 514280) for OSX build bustage on a CLOSED TREE
...
Backed out changeset 2a015b45d808 (bug 514280)
Backed out changeset a01f97c1ed02 (bug 514280)
2014-03-17 15:19:53 -07:00
Neil Rashbrook
af909242bc
Bug 514280 Remove GetIID r=bsmedberg
...
--HG--
extra : rebase_source : 179d6cd1cfb272ca258b0bc64225b27252c9ffbe
2014-03-17 19:07:46 +00:00
Kyle Huey
1f3d658bb3
Bug 967364: Use every already_AddRefed. r=bsmedberg
2014-03-15 12:00:16 -07:00
Kyle Huey
fe6c4e28d6
Bug 967364: Rename already_AddRefed::get to take. r=bsmedberg
2014-03-15 12:00:15 -07:00
Ghislain 'Aus' Lacroix
0df8b287f0
Bug 948029 - [Download API] Downloading resources isn't driven by user consent. r=bz
2014-03-14 14:24:23 -07:00
Bill McCloskey
fd05f3eb04
Bug 982828 - [e10s] Disable mochitest-plain tests that don't pass in e10s (r=ted)
2014-03-13 21:38:19 -07:00