Mike Hommey
fc99c53ae5
Bug 1041941 - Use templates for programs, simple programs, libraries and C++ unit tests. r=gps
2014-09-03 14:10:54 +09:00
Nicholas Nethercote
6fac42e708
Bug 1061385 - Remove |Writer| parameter from CodeAddressService. r=mccr8.
...
--HG--
extra : rebase_source : 0ed67121aac5c9f63ed647e31cd5321eca0b25b7
2014-09-01 20:03:06 -07:00
Ehsan Akhgari
099393be66
Bug 1060973 - Fix more bad implicit constructors in XPCOM; r=froydnj
2014-09-02 09:50:07 -04:00
Botond Ballo
3adfa2126f
Bug 965022 - Use MOZ_FORMAT_PRINTF for [f]printf_stderr, and fix incorrect usages. r=jrmuizel
...
--HG--
extra : rebase_source : 667fc18943d84f1ae28579fc23f846f9350e6fe2
2014-08-26 17:14:51 -04:00
Joshua Cranmer
095e8ec91b
Bug 1059550 - Add an iterator to PLDHashtable, r=froydnj
2014-08-28 11:29:23 -05:00
Nicholas Nethercote
0b39dd481e
Bug 1058388 - Remove NS_COM_GLUE and IMETHOD_VISIBILITY. r=bsmedberg.
...
--HG--
extra : rebase_source : 250ec1323d4097101a8e0331a2bf7fab59f72b1d
2014-08-27 15:47:27 -07:00
Neil Rashbrook
19ee87dee8
Bug 1054320 Improve the new nsTArray rvalue reference methods r=froydnj
2014-08-28 00:18:42 +01:00
Nicholas Nethercote
9ada84d5a5
Bug 1058335 (part 2) - Remove unneeded comments and always-ignored warnings about chaining. r=roc.
...
--HG--
extra : rebase_source : d96d6beabd48da66ae991274b66e93f5d193c61e
2014-08-25 17:43:57 -07:00
Nicholas Nethercote
ff98b37df5
Bug 1058335 (part 1) - Used |mFoo| form for PLDHashTable's private members. r=roc.
...
--HG--
extra : rebase_source : d5aed65f2c9dcbe288062599282e71ed458872bf
2014-08-25 17:29:14 -07:00
Nicholas Nethercote
8b3951c20f
Bug 1057912 - Privatize most of PLDHashTable's fields. r=roc.
...
--HG--
extra : rebase_source : 0f55e70b63d9c191fbd9418cb1177ff534deeed9
2014-08-25 16:56:33 -07:00
Ryan VanderMeulen
a390eae5a3
Backed out 5 changesets (bug 965022) for mochitest-2 failures on a CLOSED TREE.
...
Backed out changeset 7f68752ffe1e (bug 965022)
Backed out changeset 24251d4da019 (bug 965022)
Backed out changeset a34ae046c947 (bug 965022)
Backed out changeset f747fd154739 (bug 965022)
Backed out changeset f076faf3c282 (bug 965022)
2014-08-26 16:02:37 -04:00
Botond Ballo
18e3296080
Bug 965022 - Use MOZ_FORMAT_PRINTF for [f]printf_stderr, and fix incorrect usages. r=jrmuizel
2014-08-25 18:28:25 -04:00
Nicholas Nethercote
b6b41f70af
Bug 1057928 (part 2) - In nsTHashtable, use |ops| instead of |entrySize| to indicate table liveness. r=dbaron.
...
--HG--
extra : rebase_source : eca0eb98fe01fe6fc1a6a36de9b04bab5c71781d
2014-08-25 00:32:24 -07:00
Ralph Giles
3f1557189d
Bug 1057224 - Disable MOZ_ASSERT_CLASSNAME on gcc < 4.7. r=ehsan
...
The new MOZ_ASSERT_CLASSNAME check in MOZ_COUNT_CTOR and friends
fails under gcc 4.4 on the B2G ICS emulator build, because
nsGonkCameraControl calls the COUNT macros from a local class.
This wasn't allowed in C++03, but that was changed in C++11, and
our more recent toolchains either don't reject the code or don't
encounter such a nested class name.
I picked gcc 4.7 as the minimum version because that's the version
used by the B2G JB Emulator build, which works. There's no restriction
on clang or msvc version.
2014-08-23 15:32:00 -07:00
Ralph Giles
6e0b4b906e
Bug 1057224 - Assert that MOZ_COUNT_* are passed a class name. r=ehsan
...
This helps detect typos, which lead to undetected or spurious
leaks in the leak check.
2014-08-22 14:32:00 -07:00
Andrew McCreight
e22baa3a1e
Bug 1052626, part 2 - Report the total size of nsXPCWrappedJS. r=bholley,froydnj
2014-08-25 12:34:00 -07:00
Birunthan Mohanathas
e5756cb55e
Bug 1046841 - Convert remaining files in xpcom/{ds,glue,sample}/ to Gecko style. r=froydnj
2014-08-25 12:17:28 -07:00
Birunthan Mohanathas
87bd70f161
Bug 1046841 - Fix more style violations in previously touched .h files in xpcom/. r=froydnj
2014-08-25 12:17:24 -07:00
Birunthan Mohanathas
9007abe84e
Bug 1046841 - Fix comment style of nsCOMPtr.h. r=froydnj
2014-08-25 12:17:20 -07:00
Birunthan Mohanathas
6ea79dfc7c
Bug 1046841 - Fix more style violations in previously touched .cpp files in xpcom/. r=froydnj
2014-08-25 12:17:15 -07:00
Ralph Giles
4ef6336936
Back out 2f60f94d4d3c and d06c2e71aca2 for cross-platform breakage.
2014-08-22 15:13:03 -07:00
Ralph Giles
196068fbd3
Bug 1057224 - Assert that MOZ_COUNT_* are passed a class name. r=ehsan
...
This helps detect typos, which lead to undetected or spurious
leaks in the leak check.
2014-08-22 14:32:00 -07:00
Ehsan Akhgari
e2ba2816e6
Bug 1055517 - Fix some more bad implicit constructors in XPCOM; r=froydnj
2014-08-19 15:11:22 -04:00
Nicholas Nethercote
83c8605309
Bug 1050036 (part 3) - Reduce default and minimum capacity of pldhash. r=roc.
...
--HG--
extra : rebase_source : df598cf5f93fde3791b4bb8ec9807ef2808add46
2014-08-12 18:26:14 -07:00
Eric Rahm
209fcd745a
Bug 1050445 - Part 5: Print stacks. r=mccr8
...
--HG--
extra : rebase_source : 6397f4a2021944cc114e871c3d9b8ef0ea2636c8
2014-08-13 13:06:07 -07:00
Eric Rahm
dc49a65472
Bug 1050445 - Part 4: Take stack snapshots. r=njn
...
--HG--
extra : rebase_source : 0a8ec331cc320c4a6b8289824c3bc1d84a571309
2014-08-13 12:37:40 -07:00
Eric Rahm
4f0eebfefb
Bug 1050445 - Part 3: Add stack trace holders. r=froydnj
...
--HG--
extra : rebase_source : b815025455a60cc321c9003544bab1fb6281f856
2014-08-13 12:37:31 -07:00
Eric Rahm
525c4f41a3
Bug 1050445 - Part 2: Add ClearAcquisitionState. r=froydnj
...
--HG--
extra : rebase_source : 0900c1663a9b06bbc68d757f20182513ceb4c35e
2014-08-13 12:37:05 -07:00
Eric Rahm
eb0cc8edce
Bug 1050445 - Part 1: Add AcquisitionState typedef. r=froydnj
...
--HG--
extra : rebase_source : 8c14b4181f022ef739cefc7e97689de1c7ec239c
2014-08-13 12:36:41 -07:00
Trevor Saunders
48a1a65409
[PATCH] bug 1049781 - add move ctor version of
...
From 43dccd4d360dd2e43182c2f39002dc14567f15c0 Mon Sep 17 00:00:00 2001
nsTArray::InsertElementAt
---
xpcom/glue/nsTArray.h | 13 +++++++++++++
1 file changed, 13 insertions(+)
2014-08-06 14:49:37 -04:00
Jon Coppeard
a4a71fde44
Bug 1052388 - Rename JS_CallHeapFooTracer() functions to JS_CallFooTracer() r=terrence r=smaug
2014-08-13 10:05:22 +01:00
Eric Rahm
b021cc23d4
Bug 1049051 - Part 5: Make sDeadlockDetector access internal. r=froydnj
...
--HG--
extra : rebase_source : ea7ee17679ca9d616c56376d7360852c37a19249
2014-08-12 11:44:04 -07:00
Eric Rahm
3060d15fdf
Bug 1049051 - Part 4: Make PrintCycle internal. r=froydnj
...
--HG--
extra : rebase_source : 594237c0e3e738078a9e571d9515c6feb0fd7bed
2014-08-12 11:43:27 -07:00
Eric Rahm
f220d151bf
Bug 1049051 - Part 3: DeadlockDetector Add/Remove can take a const param. r=froydnj
...
--HG--
extra : rebase_source : 0ea5e3d9337982c1282a74961f62bc0b4345d7bf
2014-08-12 11:42:55 -07:00
Eric Rahm
e98b60a3f8
Bug 1049051 - Part 2: Remove DeadlockDetectorEntry. r=froydnj
...
--HG--
extra : rebase_source : e87b5b20130508953360b367c76b4d00338f2cdc
2014-08-12 11:42:28 -07:00
Eric Rahm
beea70ce80
Bug 1049051 - Part 1: Remove ResourceAcquisition. r=froydnj
...
--HG--
extra : rebase_source : 86bc896f9c2833996c4c5eebcc034acbadedbd4a
2014-08-12 11:42:10 -07:00
Nigel Babu
47632fb3e9
Backed out changeset 54b5997186eb (bug 1050036) for mochitest bustage on A CLOSED TREE
2014-08-12 11:00:15 +05:30
Nicholas Nethercote
72f6b8a657
Bug 1050036 - Reduce default and minimum capacity of pldhash. r=roc.
2014-08-11 18:16:43 -07:00
Ryan VanderMeulen
c3bf627f49
Backed out 5 changesets (bug 1049051) for B2G mochitest leaks.
...
Backed out changeset 4a283d42050c (bug 1049051)
Backed out changeset 06dd873bb3e9 (bug 1049051)
Backed out changeset 96b54c1771b6 (bug 1049051)
Backed out changeset f4fdedef6297 (bug 1049051)
Backed out changeset c4649e6ddd22 (bug 1049051)
2014-08-11 15:19:59 -04:00
Blake Kaplan
164fd2b0e8
Bug 1041822 - Add LookupOrAdd to nsClassHashtable. r=bsmedberg
2014-08-11 11:13:36 -07:00
Eric Rahm
f7583e2300
Bug 1049051 - Part 5: Make sDeadlockDetector access internal
2014-08-11 10:30:48 -07:00
Eric Rahm
831bd5aaf2
Bug 1049051 - Part 4: Make PrintCycle internal
2014-08-11 10:30:08 -07:00
Eric Rahm
1c1f89191f
Bug 1049051 - Part 3: DeadlockDetector Add/Remove can take a const param
2014-08-11 10:29:59 -07:00
Eric Rahm
04c5055264
Bug 1049051 - Part 2: Remove DeadlockDetectorEntry
2014-08-11 10:29:49 -07:00
Eric Rahm
77dae2d4a3
Bug 1049051 - Part 1: Remove ResourceAcquisition
2014-08-11 10:29:43 -07:00
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