Commit Graph

1088 Commits

Author SHA1 Message Date
Eric Rahm
fb39a2cd56 Bug 1049068 - Part 6: Remove CallStack. r=froydnj
--HG--
extra : rebase_source : 353235acfc8bba8c0d7d578bc6cfa19135af1072
2014-08-08 11:44:03 -07:00
Eric Rahm
4f473fd7b2 Bug 1049068 - Part 5: Remove unused CallStack params. r=froydnj
--HG--
extra : rebase_source : bb83004815186347253090a334b97f1587997a38
2014-08-08 11:43:58 -07:00
Eric Rahm
64898ca4d4 Bug 1049068 - Part 4: Remove mFirstSeen from OrderingEntry. r=froydnj
--HG--
extra : rebase_source : 095bb9298b07cc1308a6b8476ddf9d75e2e7af50
2014-08-08 11:43:51 -07:00
Eric Rahm
ba4ff11036 Bug 1049068 - Part 3: Remove mCallContext from ResourceAcquisition. r=froydnj
--HG--
extra : rebase_source : 5b1c0e5b0d0e722af8ca496240e4bc5e080edae6
2014-08-08 11:43:38 -07:00
Eric Rahm
138b553173 Bug 1049068 - Part 2: Store acquisition state as a bool instead of a CallStack. r=froydnj
--HG--
extra : rebase_source : 5e182b5261bc80f8df3f77040fa4bfcfe9839ffd
2014-08-08 11:43:26 -07:00
Eric Rahm
05f6577110 Bug 1049068 - Part 1: Remove callstack printing. r=froydnj
--HG--
extra : rebase_source : 3f672ee2c07ca17721543e61b010dc000ff4d9a1
2014-08-08 11:43:19 -07:00
Birunthan Mohanathas
1309100133 Bug 1049997 - Separate statements declaring multiple pointers into separate statements. r=froydnj 2014-08-08 07:04:45 -07:00
Nicholas Nethercote
8c60d14a1a 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
Andrew McCreight
edbfabc8f6 Bug 1046281 - Use the simpler version of nsTHashtable memory reporters. r=njn 2014-08-05 13:27:41 -07:00
Eric Rahm
310f223358 Bug 1027921 - Part 9: Add DeadlockDetector memory reporter. r=njn, r=froydnj 2014-08-04 16:20:37 -07:00
Eric Rahm
46fb43fd6a Bug 1027921 - Part 8: Remove dead entries. r=froydnj, r=cjones 2014-08-04 16:16:56 -07:00
Eric Rahm
ca6ad1476e Bug 1027921 - Part 4: Add SizeOf functions. r=njn, r=froydnj 2014-08-04 16:16:09 -07:00
Eric Rahm
b55f390420 Bug 1027921 - Part 3: Remove PLHash wrappers. r=froydnj 2014-08-04 16:15:58 -07:00
Eric Rahm
9c55b7e6c4 Bug 1027921 - Part 2: Switch to nsClassHashtable. r=froydnj 2014-08-04 16:15:46 -07:00
Eric Rahm
575299a3f9 Bug 1027921 - Part 1: Store ref to resource in the OrderingEntry. r=froydnj 2014-08-04 16:15:24 -07:00
Eric Rahm
bc8bc5cb7c Bug 1047176 - Part 2: Use NS_PTR_TO_UINT32 in nsHashKeys. r=froydnj
--HG--
extra : rebase_source : 61e21dd66a5fbf79dbdf78e664f37dbf7967c3a2
2014-08-04 11:29:30 -07:00
Jeff Muizelaar
17f66b9ded Bug 1044241. Discard tile back buffers that haven't been recently used. r=nical
Tracks tiles that have a back buffer with a nsExpirationTracker and discards
them after a while. This should help us claim back tile memory for tiles
that have stopped changing.

--HG--
extra : rebase_source : 2528de0a6fac08cb6f97ebd946d9f72a63b7d2b1
2014-07-31 23:25:37 -04:00
Andrew McCreight
023abf6b59 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
38ec6af068 Bug 1045436 - Fix more bad implicit constructors in XPCOM; r=froydnj 2014-07-29 20:43:56 -04:00
Jeff Walden
27103e6fd3 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
1a3a291397 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
50bf9295df Bug 1045065 - Fix some bad implicit constructors in xpcom; r=froydnj 2014-07-28 13:19:06 -04:00
Mike Hommey
31cd528278 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
b99bba5c3f Bug 1041864 - Remove LIBRARY_NAMEs that aren't used. r=mshal 2014-07-23 08:39:56 +09:00
Jeff Muizelaar
85318d9ef1 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
95a65b34e1 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
07267c6f7f Bug 1036864 - Remove EXPORT_LIBRARY. r=mshal 2014-07-11 19:06:55 +09:00
Nathan Froyd
d1d52d93ee 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
00485502a6 Bug 1035394 - Add dangerous public destructor detection to _INHERITED refcounting macros - r=khuey 2014-07-08 17:23:18 -04:00
Benoit Jacob
0809aa5e48 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
993f1ecfa8 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
e67f7026f2 Bug 1033358 - Fix linking of the AVOID_NSPR build - r=bsmedberg 2014-07-04 06:33:56 -04:00
Ryan VanderMeulen
7189c91e41 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
02bf586fec 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
50f4c99f50 Bug 1033358 - Fix linking of the AVOID_NSPR build - r=bsmedberg 2014-07-03 14:53:22 -04:00
Benoit Jacob
1f73b3fe2e Bug 1028588 - Fix dangerous public destructors in xpcom/ - r=bsmedberg,khuey,nfroyd 2014-06-30 18:11:53 -04:00
Wes Kocher
d65e707f3f 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
35b82308d8 Bug 1028588 - Fix dangerous public destructors in xpcom/ - r=bsmedberg,khuey,nfroyd 2014-06-30 18:11:53 -04:00
Birunthan Mohanathas
0c931675da Bug 1022456 - Fix modelines in xpcom/{base,glue,io,string,threads}/. r=froydnj 2014-06-30 08:39:45 -07:00
Birunthan Mohanathas
c6232dcfe0 Bug 1022456 - Convert xpcom/glue/ to Gecko style. r=froydnj 2014-06-26 18:35:39 -07:00
Nathan Froyd
7a4dfe1208 Bug 728600 - define TARGET_XPCOM_ABI in mozilla-config.h; r=glandium 2014-06-23 15:06:48 -04:00
Jonathan Watt
b440da1089 Bug 1016680, part 5 - Report the memory used by PresShell::mCaret. r=dbaron 2014-06-22 23:02:59 +01:00
Benoit Jacob
ea37f0c6be 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
2c6c9dce99 Bug 1013065 - Remove bug 65664's NSCAP_DONT_PROVIDE_NONCONST_OPEQ workaround. r=dbaron 2014-05-04 23:11:04 -07:00
Kyle Huey
95da95656a Bug 1027251: Disable destructor checking on Windows. r=me 2014-06-20 07:33:00 -07:00
Benoit Jacob
f698872409 Bug 1027251 - Enforce that dangerous public destructors must be explicitly whitelisted - r=ehsan 2014-06-20 07:08:25 -04:00
Ms2ger
5859387c6d Bug 1025022 - Pass T* to nsCOMArray::Contains; r=NeilAway 2014-06-20 12:32:50 +02:00
Kyle Huey
fcaab74dfe 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
ec8396a564 Bug 1016240 - Exterminate CR+LF line endings. r=briansmith,cpearce,ehsan,gavin 2014-06-18 17:56:02 -07:00
Benoit Jacob
67317fb139 Bug 1027251 - Fix or whitelist dangerous public destructors in xpcom/ - r=ehsan 2014-06-18 22:29:00 -04:00