Catalin Iacob
6f4758d23e
Bug 798914 (part 5) - Use newly introduced mozilla::MallocSizeOf instead of nsMallocSizeOfFun. r=njn.
...
--HG--
extra : rebase_source : fc472490dd978d165f02f77ed37f07aed6e5bb61
2013-06-23 14:03:39 +02:00
Chris Peterson
febd752e5f
Bug 883729 - Fix -Wnull-conversion warnings in xpcom. r=bsmedberg
2013-06-13 20:57:47 -07:00
Aryeh Gregor
f0404a303a
Bug 859817 - Remove implicit conversions from raw pointer to already_AddRefed; r=Ms2ger
2013-04-22 14:15:59 +03:00
Trevor Saunders
3f28a1017c
bug 860027 - export a header declaring XPTInterfaceInfoManager r=bsmedberg
2013-03-08 21:54:10 -05:00
Joshua Cranmer
c8f20f3eb1
Bug 856108 - Port static analyses to clang, part 2f: use MOZ_STACK_CLASS in xpcom. r=bsmedberg
2013-04-11 22:21:40 -05:00
aceman
839310031c
Bug 856238 - Remove unused includes of the obsolete nsISupportsArray and nsIEnumerator. r=Neil, r=bsmedberg
2013-04-08 14:35:31 -04:00
Benjamin Smedberg
94560defeb
Bug 684887 part B - make a SafeMutex which should crash if you try to recursively lock it, instead of deadlocking. r=bent
...
--HG--
extra : rebase_source : 694c5cd571e5802ce5e5af4ea03b9edc7e6fb8d4
2013-03-13 16:39:53 -04:00
Benjamin Smedberg
e70052ad37
Bug 684887 part A - Make the XPCOM component manager non-reentrant, and make sure that nsFactoryEntry.mFactory is protected by it, r=cjones
...
--HG--
extra : rebase_source : f6a458a98c53f8a7490bc621095029e9446d4775
2013-03-13 16:39:28 -04:00
Wan-Teh Chang
3417a36828
Bug 807883: Use the new PL_SizeOfArenaPoolExcludingPool function
...
in NSPR 4.9.6. Portions of the patch were written by Nicholas
Nethercote <n.nethercote@gmail.com>. r=n.nethercote.
2013-02-12 08:54:38 -08:00
Chris Peterson
92aba9cc73
Bug 839962 - Part 2: Replace some XPCOM thread NS_ASSERTIONs with MOZ_ASSERTs. r=bsmedberg
2013-02-07 21:54:20 -08:00
Nicholas Nethercote
b7723e3c58
Bug 819819 (part 2) - Remove |name| from NS_MEMORY_REPORTER_MALLOC_SIZEOF_FUN. r=jlebar.
...
--HG--
rename : dom/tests/mochitest/localstorage/test_localStorageQuotaPrivateBrowsing_perwindowpb.html => dom/tests/mochitest/localstorage/test_localStorageQuotaPrivateBrowsing.html
rename : toolkit/components/places/tests/browser/browser_favicon_privatebrowsing_perwindowpb.js => toolkit/components/places/tests/browser/browser_favicon_privatebrowsing.js
extra : rebase_source : 557cc60522970ce7eea3b006d357284d9b4694c4
2012-12-23 16:59:51 -08:00
Nicholas Nethercote
5cd2f9931a
Bug 807884 (part 2) - Add memory reporters for nsComponentManager and nsCategoryManager. r=bsmedberg.
...
--HG--
extra : rebase_source : 6dba2659b6f31aa0e53804f5afdd30f0f0c1d950
2012-10-19 05:07:36 -07:00
Nicholas Nethercote
e504ffdbee
Bug 807884 (part 1) - Remove dead nsComponentManagerImpl::mLoaderData. r=bsmedberg.
...
--HG--
extra : rebase_source : e332db911c94f4ba6b3fe4b0fef0a545cc08403b
2012-10-19 05:07:34 -07:00
Ehsan Akhgari
8cc30b88b2
Bug 792502 - Kill the FunctionTimer code; r=vlad
2012-09-19 16:59:38 -04:00
Randell Jesup
65539ef89c
Bug 773151: Convert nsCAutoString->nsAutoCString CLOSED TREE r=bsmedberg
2012-09-01 22:35:17 -04:00
Ehsan Akhgari
e368dc9c85
Bug 579517 - Part 1: Automated conversion of NSPR numeric types to stdint types in Gecko; r=bsmedberg
...
This patch was generated by a script. Here's the source of the script for
future reference:
function convert() {
echo "Converting $1 to $2..."
find . ! -wholename "*nsprpub*" \
! -wholename "*security/nss*" \
! -wholename "*/.hg*" \
! -wholename "obj-ff-dbg*" \
! -name nsXPCOMCID.h \
! -name prtypes.h \
-type f \
\( -iname "*.cpp" \
-o -iname "*.h" \
-o -iname "*.c" \
-o -iname "*.cc" \
-o -iname "*.idl" \
-o -iname "*.ipdl" \
-o -iname "*.ipdlh" \
-o -iname "*.mm" \) | \
xargs -n 1 sed -i -e "s/\b$1\b/$2/g"
}
convert PRInt8 int8_t
convert PRUint8 uint8_t
convert PRInt16 int16_t
convert PRUint16 uint16_t
convert PRInt32 int32_t
convert PRUint32 uint32_t
convert PRInt64 int64_t
convert PRUint64 uint64_t
convert PRIntn int
convert PRUintn unsigned
convert PRSize size_t
convert PROffset32 int32_t
convert PROffset64 int64_t
convert PRPtrdiff ptrdiff_t
convert PRFloat64 double
2012-08-22 11:56:38 -04:00
Aryeh Gregor
d0ad5a7d0c
Bug 777292 part 2 - Change all nsnull to nullptr
2012-07-30 17:20:58 +03:00
Geoff Lankow
5cefea8480
Bug 749930 - Replace uses of nsILocalFile with nsIFile (compiled code only); r=bsmedberg
2012-06-06 14:08:30 +12:00
Gervase Markham
82ff7027aa
Bug 716478 - update licence to MPL 2.
2012-05-21 12:12:37 +01:00
Ms2ger
c4992ad023
Bug 719895 - Don't return an nsresult from nsComponentManagerImpl::KnownModule::Load; r=bsmedberg
2012-02-01 11:54:21 +01:00
Mike Hommey
45173f5be0
Bug 695843 part 9 - Use FileLocations in the component manager. r=bsmedberg
2011-11-08 18:10:51 +01:00
Mike Hommey
f8f93f4de1
Bug 695843 part 6 - Don't separate file and JAR modules in component manager. r=bsmedberg
2011-11-08 18:18:12 +01:00
Mike Hommey
021873a58d
Bug 695843 part 3 - Use mozilla::AutoFDClose instead of ad hoc AutoCloseFD classes. r=bsmedberg
2011-12-08 11:03:36 +01:00
Mike Hommey
97ad3242be
Bug 695843 part 2 - Avoid code duplication for components manifest registration. r=bsmedberg
2011-12-08 11:03:36 +01:00
Geoff Lankow
c2d0159a11
Bug 691551 - Suppress warnings when a bootstrapped add-on has no chrome.manifest; r=dtownsend
2011-11-04 10:59:24 +13:00
Ehsan Akhgari
92064e6d3f
Bug 690892 - Replace PR_TRUE/PR_FALSE with true/false on mozilla-central; rs=dbaron
...
Landing on a CLOSED TREE
2011-10-17 10:59:28 -04:00
Michael Wu
d2b70213ac
Bug 675553 - Switch from PRBool to bool on a CLOSED TREE , r=bsmedberg,khuey,bz,cjones
...
--HG--
rename : tools/trace-malloc/bloatblame.c => tools/trace-malloc/bloatblame.cpp
2011-09-28 23:19:26 -07:00
Wolfgang Germund
80c37cdd5a
Bug 296795: ZipReader doesn't handle non-ASCII characters r=taras
2011-09-28 16:14:45 -07:00
Ehsan Akhgari
5272acdabd
Bug 666414 - Prevent AddRef and Release from being called on the pointers wrapped in nsCOMPtr and nsRefPtr; r=bsmedberg
2011-09-16 16:22:44 -04:00
Matheus Kerschbaum
8a4cb927fd
Bug 678155 - Remove NS_COM. r=bsmedberg
2011-08-18 15:46:39 +02:00
Hernan Rodriguez Colmeiro
c4c4295119
Bug 564667: Allow bootstrapped add-ons to have chrome URLs. r=dtownsend, sr=bsmedberg
2011-07-29 11:20:47 +02:00
Benjamin Smedberg
585a9bcb38
Bug 666938 - Add a console message when a binary component doesn't load because of a kVersion mismatch, r=Mossop
...
--HG--
extra : rebase_source : 7a950be04051e13c169af5d9852cef0e123d31a7
2011-06-24 14:08:13 -04:00
Matheus Kerschbaum
6eb93f7dd3
Bug 648911 - Remove support for non-libxul builds. r=ted,joedrew
2011-05-23 18:54:47 +02:00
Mike Hommey
7de58a1cfa
Bug 620931 part 3 - Allow GRE and XUL application to use omni.jar independently. r=bsmedberg,r=mwu
...
We now store two independent locations for an omni.jar, allowing GRE/XRE and
XUL application to each have their own omni.jar. And since xulrunner setups
are very independent from the XUL applications, we implement support for both
omni.jar and non omni.jar cases in the same runtime, with the side effect of
allowing to switch from one to the other manually without rebuilding the
binaries.
We let the mozilla::Omnijar API handle both cases, so that callers don't need
too much work to support them.
We also make the preferences service load the same set of preferences in all
the various cases (unified vs. separate, omni.jar vs. no omni.jar).
The child process launcher for IPC is modified to pass the base directories
needed for the mozilla::Omnijar API initialization in the child process.
Finally, the startupcache file name canonicalization is modified to separate
APP and GRE resources.
2011-02-25 12:53:36 +01:00
Chris Jones
31aa2c4e77
Bug 556214, parts 1 and 1.1: Rename Monitor to ReentrantMonitor and fix existing Monitor users. r=roc
...
--HG--
rename : xpcom/glue/Monitor.h => xpcom/glue/ReentrantMonitor.h
2011-04-29 14:21:57 -05:00
Kyle Huey
746351dc18
Backed out changeset aa200a803e07
2011-04-13 23:17:02 -07:00
Kyle Huey
c2ed6a11c4
Bug 624870: Free nsFactoryEntrys on XPCOM shutdown and factory unregistration. r=bsmedberg
2011-04-13 19:41:34 -07:00
Ehsan Akhgari
2cc302e02c
Bug 646071 - Part 3: Remove nsInt64.h, and convert all uses of nsInt64 and nsUint64 in the tree to PRInt64 and PRUint64, respectively; r=bsmedberg
2011-03-31 20:15:27 -04:00
Ehsan Akhgari
cccdef8b2f
Backout the latest cedar merge wholesale until I test the correctness of the merge locally. This commit takes the tree state back to changeset 8d3f6093c425 (the last known good changeset before the merge)
2011-04-01 12:23:48 -04:00
Ehsan Akhgari
4342d9e7e4
Merge cedar into mozilla-central
2011-04-01 11:37:50 -04:00
Chris Jones ext:(%20and%20Kyle%20Huey%20%3Ckhuey%40kylehuey.com%3E)
2c92e3ecd5
Rollup of bug 645263 and bug 646259: Switch to mozilla:: sync primitives. r=cjones,dbaron,doublec,ehsan src=bsmedberg
...
Bug 645263, part 0: Count sync primitive ctor/dtors. r=dbaron
Bug 645263, part 1: Migrate content/media to mozilla:: sync primitives. r=doublec
Bug 645263, part 2: Migrate modules/plugin to mozilla:: sync primitives. sr=bsmedberg
Bug 645263, part 3: Migrate nsComponentManagerImpl to mozilla:: sync primitives. sr=bsmedberg
Bug 645263, part 4: Migrate everything else to mozilla:: sync primitives. r=dbaron
Bug 645263, part 5: Remove nsAutoLock.*. sr=bsmedberg
Bug 645263, part 6: Make editor test be nicer to deadlock detector. r=ehsan
Bug 645263, part 7: Disable tracemalloc backtraces for xpcshell tests. r=dbaron
Bug 646259: Fix nsCacheService to use a CondVar for notifying. r=cjones
2011-03-31 23:29:02 -05:00
Chris Jones
699024f868
Backed out changeset 4beec31b9ea9 for increasing frequency of intermittent orange bug 618052
2011-03-31 18:57:38 -05:00
Chris Jones ext:(%20and%20Kyle%20Huey%20%3Ckhuey%40kylehuey.com%3E)
0ce53bb598
Rollup of bug 645263 and bug 646259: Switch to mozilla:: sync primitives. r=cjones,dbaron,doublec,ehsan src=bsmedberg
...
Bug 645263, part 0: Count sync primitive ctor/dtors. r=dbaron
Bug 645263, part 1: Migrate content/media to mozilla:: sync primitives. r=doublec
Bug 645263, part 2: Migrate modules/plugin to mozilla:: sync primitives. sr=bsmedberg
Bug 645263, part 3: Migrate nsComponentManagerImpl to mozilla:: sync primitives. sr=bsmedberg
Bug 645263, part 4: Migrate everything else to mozilla:: sync primitives. r=dbaron
Bug 645263, part 5: Remove nsAutoLock.*. sr=bsmedberg
Bug 645263, part 6: Make editor test be nicer to deadlock detector. r=ehsan
Bug 645263, part 7: Disable tracemalloc backtraces for xpcshell tests. r=dbaron
Bug 646259: Fix nsCacheService to use a CondVar for notifying. r=cjones
2011-03-31 14:51:19 -05:00
Ehsan Akhgari
bd51cb9b94
Bug 646071 - Part 3: Remove nsInt64.h, and convert all uses of nsInt64 and nsUint64 in the tree to PRInt64 and PRUint64, respectively; r=bsmedberg
2011-03-31 20:15:27 -04:00
L. David Baron
7c0acef8c1
Backout changeset b9e6454362ef (Bug 620931 part 3) for causing bug 644790.
2011-03-24 21:07:05 -07:00
Mike Hommey
0cfcd44b08
Bug 620931 part 3 - Allow GRE and XUL application to use omni.jar independently. r=bsmedberg
...
We now store two independent locations for an omni.jar, allowing GRE/XRE and
XUL application to each have their own omni.jar. And since xulrunner setups
are very independent from the XUL applications, we implement support for both
omni.jar and non omni.jar cases in the same runtime, with the side effect of
allowing to switch from one to the other manually without rebuilding the
binaries.
We let the mozilla::Omnijar API handle both cases, so that callers don't need
too much work to support them.
We also make the preferences service load the same set of preferences in all
the various cases (unified vs. separate, omni.jar vs. no omni.jar).
The child process launcher for IPC is modified to pass the base directories
needed for the mozilla::Omnijar API initialization in the child process.
Finally, the startupcache file name canonicalization is modified to separate
APP and GRE resources.
2011-03-24 15:28:14 +01:00
Mitchell Field
a6788f0842
Bug 627277 - Remove (broken) BeOS support. r=biesi,dwitte,gavin,joe,jorendorff,josh,khuey,mfinkle,neil,Pike,roc,shaver,smontagu,taras
2011-02-20 06:10:24 +11:00
Benjamin Smedberg
8f0a5c5510
Bug 616056 - prevent double registration of binary components, which causes crashes due to dead KnownModule pointers, r=Mossop a=blocking
2010-12-03 15:24:22 -05:00
Mike Hommey
e171cc6f17
Bug 569629 - Remove static xpcom modules list static initializer. r=bsmedberg,a=bsmedberg
2010-11-07 09:25:38 +01:00
Michael Wu
ef808d0528
Bug 533038 - 1. Generalize manifest reading code and add api for reading manifests from jars, r=bsmedberg a=blocking-beta6
2010-09-08 20:37:11 -07:00