Commit Graph

1350 Commits

Author SHA1 Message Date
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
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
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
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
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
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
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
Benoit Jacob
6cbcf7b515 Bug 1028588 - Fix dangerous public destructors in uriloader - r=smaug 2014-06-23 14:49:09 -04: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
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
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
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