Commit Graph

2205 Commits

Author SHA1 Message Date
Christoph Kerschbaumer
92c6b4b38d Bug 1038756: Callsites creating a channel in /uriloader/ (r=honzab) 2014-09-21 09:44:12 -07:00
Makoto Kato
e9c521fe08 Bug 1064127 - Support audio/3gpp for non-web content. r=roc 2014-09-16 17:07:15 +09:00
Mike Hommey
0060683747 Bug 1059090 - Don't require SOURCES to be set for CPP_UNIT_TESTS and SIMPLE_PROGRAMS. r=mshal 2014-09-03 14:16:37 +09:00
Mike Hommey
ed70c5f377 Bug 1041941 - Use templates for programs, simple programs, libraries and C++ unit tests. r=gps 2014-09-03 14:10:54 +09:00
Ehsan Akhgari
749f4537e3 Bug 1061000 - Fix more bad implicit constructors in uriloader; r=bzbarsky 2014-09-03 08:10:55 -04:00
Ehsan Akhgari
b1b56df2fe Bug 1061254 - Fix more bad implicit constructors in misc. components; r=bsmedberg 2014-09-02 18:24:49 -04:00
Ehsan Akhgari
64bff94e92 Bug 1061058 - Fix more bad implicit constructors in docshell/dom/uriloader; r=smaug
--HG--
extra : rebase_source : 4dd9d4bab0b552834cd24051d7dc920950a2e8b2
2014-09-01 18:01:37 -04:00
Phil Ringnalda
117bb1a341 Backed out 6 changesets (bug 1060982, bug 1061058, bug 1060987, bug 1061060, bug 1060930) for build bustage
CLOSED TREE

Backed out changeset c23b8418e6be (bug 1060987)
Backed out changeset a8cddc6bdffc (bug 1061060)
Backed out changeset b5af5cbdac3f (bug 1060982)
Backed out changeset 4912d451011a (bug 1060930)
Backed out changeset bdacbf453238 (bug 1061058)
Backed out changeset da6c71a8f5ae (bug 1060987)
2014-09-01 16:48:51 -07:00
Ehsan Akhgari
4a0fc37875 Bug 1061058 - Fix more bad implicit constructors in docshell/dom/uriloader; r=smaug 2014-09-01 18:01:37 -04:00
Nicholas Nethercote
df1c26a45e Bug 1057912 - Privatize most of PLDHashTable's fields. r=roc.
--HG--
extra : rebase_source : 0f55e70b63d9c191fbd9418cb1177ff534deeed9
2014-08-25 16:56:33 -07:00
Jim Chen
3dcbdea53a Bug 1056941 - Fix dangerous destructors in Fennec code; r=blassey 2014-08-26 15:07:59 -04:00
Jim Mathies
456c6dfc7e Bug 903022 - nsExternalAppHandler whitespace cleanup. r=bz 2014-08-25 11:56:27 -05:00
Jim Mathies
6d36277bbf Bug 903022 - Support passing dialog parents to DoContent. r=bz 2014-08-25 11:54:16 -05:00
Jim Mathies
ce9e3be334 Bug 903022 - nsExternalHelperAppService::DoContent whitespace cleanup. r=bz 2014-08-25 11:53:05 -05:00
Jim Mathies
5cf091bc06 Bug 903022 - Split content process code in nsExternalHelperAppService::DoContent out into a helper method. r=bz 2014-08-25 11:51:52 -05:00
Steve Workman
72470d21f0 Bug 1054572 - Remove redundant references to HTTP cache v1 API r=mayhemer 2014-08-22 15:17:32 -07:00
Wes Kocher
0b164a61dd Backed out 3 changesets (bug 1054572) for being the apparent cause of ASAN m-3 leaks
Backed out changeset cbd1a7c4d0b0 (bug 1054572)
Backed out changeset 466d677dacc0 (bug 1054572)
Backed out changeset 8b49480288aa (bug 1054572)
2014-08-22 12:45:29 -07:00
Steve Workman
ff26b43196 Bug 1054572 - Remove redundant references to HTTP cache v1 API r=mayhemer 2014-08-22 10:49:29 -07:00
Nicholas Nethercote
a7cf4142b4 Bug 1050009 - Initialize pldhash tables with a length, not a capacity. r=roc.
* * *
imported patch rm-dummy-params

--HG--
extra : rebase_source : c25987eb11bae197218d5fc53b77def19afa36ac
2014-08-06 06:31:21 -07:00
Georgios Kontaxis
26bbf9f615 Bug 1044215: extended nsIWebProgressListener with tracking protection events (r=smaug) 2014-08-07 13:31:22 -07:00
Mike Hommey
89777800f9 Bug 1047267 - Move remaining OS_LIBS and EXTRA_LIBS to moz.build. r=gps
* * *
Bug 1047267 - To fold with "Move remaining OS_LIBS and EXTRA_LIBS to moz.build"
2014-08-07 14:21:03 +09:00
Ehsan Akhgari
f37662af0a Bug 1048242 - Fix more bad implicit constructors in docshell; r=smaug 2014-08-05 09:19:03 -04:00
Joshua Cranmer
3250f93892 Bug 1048671 - interface is a reserved identifier in nsHandlerService.js, r=smaug
--HG--
extra : rebase_source : e826ee9482bb9dfc1cf1b984141058220882b73a
2014-08-05 07:49:52 -05:00
Mike Hommey
7b1d3ccba7 Bug 1047225 - Properly run the test from bug 442629. r=bz
--HG--
rename : uriloader/exthandler/tests/mailcap => uriloader/exthandler/tests/unit/mailcap
2014-08-02 08:03:08 +09:00
Dave Hylands
7d76e0867a Bug 1034912, part 1 - Add fixes for B2G-specific uses of ~DeviceStorageFile. r=mccr8 2014-07-31 10:05:59 -07:00
Nathan Froyd
12c76f15f7 Bug 1042878 - part 2 - move MOZ_CAIRO_CFLAGS et al additions to C*FLAGS into moz.build; r=glandium 2014-07-24 11:55:33 -04:00
Benoit Jacob
c50ccf8dba Bug 1044658 - 5/6 - remove asWeakPtr - r=froydnj 2014-07-30 15:52:05 -04:00
Mike Hommey
2bab6202af Bug 1043820 - Remove PARALLEL_DIRS. r=gps 2014-07-29 08:57:59 +09:00
Mike Hommey
95063176fa Bug 1036894 part 9 - Replace all EXTRA_DSO_LDOPTS, SHARED_LIBRARY_LIBS and LIBS with EXTRA_LIBS, OS_LIBS or OS_LDFLAGS, appropriately. r=gps
OS_LIBS for libraries that are not part of the gecko tree, EXTRA_LIBS for
libraries, such as NSPR, that are in the tree, but are not handled by
moz.build just yet. Those EXTRA_LIBS may also come from a system library.
However, in cases where the expanded variables are always empty for the
in-tree case, OS_LIBS is used (as for, e.g. MOZ_ZLIB_LIBS). OS_LDFLAGS is
used exclusively for non-library linker flags.

Always pass EXTRA_LIBS before OS_LIBS on linker command lines.

Forbid EXTRA_DSO_LDOPTS, SHARED_LIBRARY_LIBS and LIBS in Makefiles.
2014-07-23 13:31:02 +09:00
Ehsan Akhgari
2c44460e40 Bug 1040039 - Give nsMIMEInfoWin a private destructor; r=bjacob
--HG--
extra : rebase_source : e536d575c59bb21b01cb36cf8d0cab93b41e47bb
2014-07-17 16:48:30 -04:00
Honza Bambas
ef2cb4ed84 Bug 976608 - applicationCache corrupted due to concurrent updates running (should coalesce), r=jduell 2014-07-16 16:16:30 +02:00
Andrew McCreight
c3a80ae7ac Bug 1038207 - Fix various classes that reimplement nsISupports. r=ehsan 2014-07-14 12:21:34 -07:00
Boris Zbarsky
390d8323b5 Bug 965413 part 7. Make it safe to GetOwner() and SetOwner() on channels without asserting. r=smaug
We're going to want to check whether a channel has an existing owner in some cases, but some channels currently assert if you just ask them whether they have an owner.
2014-07-10 02:56:37 -04:00
Boris Zbarsky
2d81966ba3 Bug 965413 part 3. Add a .loadInfo property to channels. r=mcmanus 2014-07-10 02:56:36 -04:00
Benoit Jacob
460209523f Bug 1035394 - Fix dangerous public destructors in uriloader - r=smaug 2014-07-08 17:23:17 -04:00
Magnus Melin
a9639b1d27 Bug 984194 Disable test_encoding.js for Thunderbird to avoid perma-orange, bug 1012917 will fix this fully. r=jduell 2014-04-24 23:27:21 +03:00
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
Wes Kocher
3b83e5bb22 Backed out changeset 88425ad0f06a (bug 982828) for introducing various mochitest-5 failures on a CLOSED TREE
* * *
Backed out changeset 94f9ebdc6662 (bug 982828)
2014-03-13 19:41:21 -07:00
Bill McCloskey
e784b5aef6 Bug 982828 - [e10s] Disable mochitest-plain tests that don't pass in e10s (r=ted) 2014-03-13 15:41:41 -07:00
Bill McCloskey
006786a6b4 Backed out changeset d6261f65070a 2014-03-13 15:52:27 -07:00
Bill McCloskey
ed100f425c Bug 982828 - [e10s] Disable mochitest-plain tests that don't pass in e10s (r=ted) 2014-03-13 15:41:41 -07:00
Vaibhav Agarwal
c75ff964a1 Bug 971132 - B2G mochitests should use the new manifest format for runtests; r=jmaher 2014-03-13 10:40:10 -04:00
Ehsan Akhgari
f23b2e398b Revert the debugging patches for bug 968200
--HG--
extra : rebase_source : 86523689a0d105fae8ddb2fea426bd02bfdcfe28
2014-03-12 09:51:00 -04:00
Reuben Morais
ec8881744e Bug 946239 - Follow up, address review comment. 2014-03-11 19:43:43 -03:00
Reuben Morais
86adb61852 Bug 946239 - Divert download channels to the parent process. r=bz 2014-03-11 19:41:48 -03:00
Ghislain 'Aus' Lacroix
450921d60c Bug 949991 - [Download Manager] Nothing happens if you try to download a file while the device is connected as USB. r=bz 2014-03-06 12:42:07 -08:00
Simon Montagu
755000e10d Use the new ReplaceChars with char16_t array. Bug 979556, r=bsmedberg 2014-03-05 21:04:36 +02:00
Ryan VanderMeulen
0d7b59001e Backed out changeset 6f05267b4afc (bug 798033) for Android bustage. 2014-03-05 09:55:52 -05:00
snigdha
a441998156 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-03-05 08:47:45 -05:00
Andrew McCreight
0353960345 Bug 962608 - Make PL_DHashTableInit infallible by default. r=briansmith,bsmedberg,ehsan,froydnj,jduell,jfkthame,roc,smaug 2014-02-27 10:04:09 -08:00
Ryan VanderMeulen
0dc3c5e22c Merge m-c to inbound. 2014-02-25 15:28:35 -05:00