Граф коммитов

1946 Коммитов

Автор SHA1 Сообщение Дата
Andrew McCreight 98c826564a Bug 1045239 - Add a version of nsTHashtable::SizeOfExcludingThis that uses the entry's SizeOfExcludingThis. r=froydnj 2014-07-30 13:00:29 -07:00
Ehsan Akhgari 3fa82c9346 Bug 1045436 - Fix more bad implicit constructors in XPCOM; r=froydnj 2014-07-29 20:43:56 -04:00
Jeff Walden e9e4aa4f5e Bug 1044598 - Make nsCOMPtr.h no longer depend on the un-definition of MOZ_HAVE_CXX11_NULLPTR. r=ehsan
--HG--
extra : rebase_source : cc737646470e6ebb81f87d3a0751f20b712c9390
2014-07-29 11:41:45 -07:00
Blake Kaplan ca74ecaa11 Bug 1041881 - Don't take template parameters by value to avoid accidentally constructing objects. r=khuey
--HG--
extra : rebase_source : 92bf47631beed8dd0c3f5b29b1cfb0b30e502364
2014-07-29 14:46:16 -04:00
Ehsan Akhgari 520fd897ed Bug 1045065 - Fix some bad implicit constructors in xpcom; r=froydnj 2014-07-28 13:19:06 -04:00
Mike Hommey a33d7d67e6 Bug 1036894 part 1 - Move MAKE_FRAMEWORK, SDK_LIBRARY, SHARED_LIBRARY_NAME and STATIC_LIBRARY_NAME to moz.build. r=gps
At the same time, make the Library data more useful in the build frontend.
2014-07-23 13:29:09 +09:00
Mike Hommey 622bf09730 Bug 1041864 - Remove LIBRARY_NAMEs that aren't used. r=mshal 2014-07-23 08:39:56 +09:00
Jeff Muizelaar 06de3f589e Bug 1039521 - nsTArray: Add an AppendElement take taking a r-value reference. r=froydnj
This lets us store UniquePtr's in nsTArrays

--HG--
extra : rebase_source : d7ea9ef710bd2451d0e2e9ba1aaefa9559315875
2014-07-18 09:43:42 -04:00
Andrew McCreight fa0eb3c609 Bug 1036629 - Take a deathgrip on the runnable passed to NS_DispatchToCurrentThread. r=bsmedberg
This will prevent a leak of the runnable if it is passed in with a refcount of zero and the dispatch fails.
2014-07-15 14:29:14 -07:00
Mike Hommey 70a5917917 Bug 1036864 - Remove EXPORT_LIBRARY. r=mshal 2014-07-11 19:06:55 +09:00
Nathan Froyd c599444402 Bug 1031352 - move most of the _MSC_VER references in Makefile.in to moz.build; r=glandium 2014-06-27 10:32:05 -04:00
Benoit Jacob 51673d1d22 Bug 1035394 - Add dangerous public destructor detection to _INHERITED refcounting macros - r=khuey 2014-07-08 17:23:18 -04:00
Benoit Jacob c5347881cc Bug 1028588 - Make XPCOM refcounting assert against public destructors (leaving aside _INHERITED macros for now) - r=khuey 2014-07-07 14:27:32 -04:00
Benoit Jacob e3ac914b37 Bug 1033358 - Make NS_IsMainThread use its own TLS so it's always correct, from early init to exit time - r=bsmedberg 2014-07-04 06:34:15 -04:00
Benoit Jacob eeba3fabf8 Bug 1033358 - Fix linking of the AVOID_NSPR build - r=bsmedberg 2014-07-04 06:33:56 -04:00
Ryan VanderMeulen 6d9424856d Backed out 10 changesets (bug 1033358, bug 774388, bug 1028383) for causing frequent shutdown crashes on a CLOSED TREE.
Backed out changeset a54b05c9e4a1 (bug 1028383)
Backed out changeset 37985f79e0c2 (bug 774388)
Backed out changeset d07521729077 (bug 774388)
Backed out changeset 9f14b17f358c (bug 774388)
Backed out changeset 2d347d6aa9bc (bug 774388)
Backed out changeset 99581dfb5ec4 (bug 774388)
Backed out changeset 2532e22d6135 (bug 774388)
Backed out changeset 719844108f1a (bug 774388)
Backed out changeset 7829c78348a4 (bug 1033358)
Backed out changeset c571df9a85de (bug 1033358)
2014-07-03 20:37:05 -04:00
Benoit Jacob 0e68107d00 Bug 1033358 - Make NS_IsMainThread use its own TLS so it's always correct, from early init to exit time - r=bsmedberg 2014-07-03 14:53:24 -04:00
Benoit Jacob 6e4aca3cdf Bug 1033358 - Fix linking of the AVOID_NSPR build - r=bsmedberg 2014-07-03 14:53:22 -04:00
Benoit Jacob 81effa4bca Bug 1028588 - Fix dangerous public destructors in xpcom/ - r=bsmedberg,khuey,nfroyd 2014-06-30 18:11:53 -04:00
Wes Kocher 03da42e8b1 Backed out 4 changesets (bug 1028588) for build bustage
Backed out changeset 13a8bae671ca (bug 1028588)
Backed out changeset 19a19833f1d6 (bug 1028588)
Backed out changeset d5fae80054de (bug 1028588)
Backed out changeset 5942ad3859b8 (bug 1028588)
2014-06-30 15:50:19 -07:00
Benoit Jacob 522e4724cc Bug 1028588 - Fix dangerous public destructors in xpcom/ - r=bsmedberg,khuey,nfroyd 2014-06-30 18:11:53 -04:00
Birunthan Mohanathas c9fb2c0d48 Bug 1022456 - Fix modelines in xpcom/{base,glue,io,string,threads}/. r=froydnj 2014-06-30 08:39:45 -07:00
Birunthan Mohanathas 6b53f3d634 Bug 1022456 - Convert xpcom/glue/ to Gecko style. r=froydnj 2014-06-26 18:35:39 -07:00
Nathan Froyd c3ea6db0ae Bug 728600 - define TARGET_XPCOM_ABI in mozilla-config.h; r=glandium 2014-06-23 15:06:48 -04:00
Jonathan Watt b73bc43c94 Bug 1016680, part 5 - Report the memory used by PresShell::mCaret. r=dbaron 2014-06-22 23:02:59 +01:00
Benoit Jacob 5636a738e0 Bug 1028428 - clang+libc++ still doesn't provide a usable std::is_destructible, so just use the fallback implementation instead - no review, bustage fix 2014-06-21 15:46:27 -04:00
Chris Peterson 4d8cb6ff03 Bug 1013065 - Remove bug 65664's NSCAP_DONT_PROVIDE_NONCONST_OPEQ workaround. r=dbaron 2014-05-04 23:11:04 -07:00
Kyle Huey d46f3641a6 Bug 1027251: Disable destructor checking on Windows. r=me 2014-06-20 07:33:00 -07:00
Benoit Jacob 891264cd81 Bug 1027251 - Enforce that dangerous public destructors must be explicitly whitelisted - r=ehsan 2014-06-20 07:08:25 -04:00
Ms2ger 30794d3da6 Bug 1025022 - Pass T* to nsCOMArray::Contains; r=NeilAway 2014-06-20 12:32:50 +02:00
Kyle Huey b1e3198eed Bug 737976: Remove nsINodeInfo. r=smaug
--HG--
rename : content/base/src/nsNodeInfo.cpp => dom/base/NodeInfo.cpp
rename : content/base/public/nsINodeInfo.h => dom/base/NodeInfo.h
rename : content/base/src/nsNodeInfo.h => dom/base/NodeInfoInlines.h
2014-06-19 19:01:40 -07:00
Birunthan Mohanathas 51ba75d135 Bug 1016240 - Exterminate CR+LF line endings. r=briansmith,cpearce,ehsan,gavin 2014-06-18 17:56:02 -07:00
Benoit Jacob 12f098cbf9 Bug 1027251 - Fix or whitelist dangerous public destructors in xpcom/ - r=ehsan 2014-06-18 22:29:00 -04:00
Benoit Jacob b468bd741b Bug 1027251 - Initial empty HasDangerousPublicDestructor whitelist - r=ehsan 2014-06-18 22:28:59 -04:00
Benoit Girard beb4fd14be Bug 1021990 - Migrate to xpcom based EventTracer. r=ehsan 2014-06-06 17:53:42 -04:00
Robert O'Callahan 9875463556 Bug 1015664. Part 3: Remove NS_HIDDEN_VISIBILITY from NS_IMETHOD_VISIBILITY. r=bsmedberg 2014-06-03 00:08:27 +12:00
Carsten "Tomcat" Book 8bf7369627 Backed out changeset 1b81b771aee6 (bug 1017418) 2014-06-02 11:26:12 +02:00
Nicholas Nethercote acaeec85e8 Bug 1017418 (part 2) - Avoid more slop in nsTArray. r=froydnj. 2014-06-01 16:08:50 -07:00
Brian Smith 47e2bb46f2 Bug 1010634, Part 2: Fix compiler warnings in MFBT and XPCOM, r=ehsan
--HG--
extra : rebase_source : 8839297479ce2ade7a7e6cb5099178e799a0e516
2014-05-29 20:18:29 -07:00
Benoit Jacob 7552512772 Bug 852393 - Specialize nsAutoTArray<T, 0> to be an nsTArray - r=froydnj 2014-05-29 11:59:37 -04:00
David Major 5abce313e8 Bug 1014288: Fix the OOM check in nsTArrayInfallibleAllocator::Realloc. r=bsmedberg 2014-05-28 14:45:15 +12:00
Ehsan Akhgari 6011b07362 Bug 1015430 - Fix more XPCOM constructors to clarify whether they should be explicit; r=froydnj 2014-05-25 21:16:01 -04:00
Boris Zbarsky 0a59bbbf03 Bug 1007878 part 2. Add a C++ type to represent MozMap. r=khuey 2014-05-23 17:32:38 -04:00
Wes Kocher 5b516d6682 Backed out 5 changesets (bug 1007878) for b2g build bustage r=khuey
Backed out changeset ee3bb06075f7 (bug 1007878)
Backed out changeset ab3dd51be3cd (bug 1007878)
Backed out changeset aa53ba4e64b8 (bug 1007878)
Backed out changeset ff6fd8187ff3 (bug 1007878)
Backed out changeset d631378463ac (bug 1007878)
2014-05-23 15:10:51 -07:00
Boris Zbarsky 30270fee17 Bug 1007878 part 2. Add a C++ type to represent MozMap. r=khuey 2014-05-23 17:32:38 -04:00
Ehsan Akhgari 52accff3a3 Bug 1013664 - Fix bad implicit conversion constructors in XPCOM; r=froydnj
--HG--
extra : rebase_source : e3260a536292175cb1ad23a53dfe9e3f4bb8ff10
2014-05-21 21:33:28 -04: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 19bebbc68d Bug 869836 - Part 2: Use AppendLiteral instead of `Append(NS_LITERAL_STRING(...))`. r=ehsan 2014-05-22 06:48:50 +03:00
Terrence Cole 9900a0509a Bug 1010655 - Always use the faster version of IsInsideNursery when possible; r=jonco
--HG--
extra : rebase_source : 18c195a3a5897529275deb210bfa7f57f8e29bd8
2014-05-14 19:48:09 -07:00
Trevor Saunders 42ad93c2a2 bug 1004746 - part 1 - Remove a bunch of usage of nsAutoPtr's copy ctor r=froydnj 2014-05-07 18:05:37 -04:00