Benjamin Smedberg
9b43ba6de7
Bug 1332631 part G - file moves from xpcom/glue to xpcom/components, and remove GenericModule which is no longer useful, r=froydnj
...
MozReview-Commit-ID: 5NvfKRAlZqs
--HG--
rename : xpcom/glue/GenericFactory.cpp => xpcom/components/GenericFactory.cpp
rename : xpcom/glue/GenericFactory.h => xpcom/components/GenericFactory.h
rename : xpcom/glue/nsCategoryCache.cpp => xpcom/components/nsCategoryCache.cpp
rename : xpcom/glue/nsCategoryCache.h => xpcom/components/nsCategoryCache.h
rename : xpcom/glue/nsComponentManagerUtils.cpp => xpcom/components/nsComponentManagerUtils.cpp
rename : xpcom/glue/nsComponentManagerUtils.h => xpcom/components/nsComponentManagerUtils.h
rename : xpcom/glue/nsServiceManagerUtils.h => xpcom/components/nsServiceManagerUtils.h
extra : rebase_source : 2f9e4b8de99c2835c4322282b0227ed3f833c285
extra : histedit_source : 45033773c304696050a649e3fbde1ecb33ec1fea
2017-01-20 14:41:10 -05:00
ffxbld
ed04f7a449
Update configs. IGNORE BROKEN CHANGESETS CLOSED TREE NO BUG a=release ba=release
2017-01-23 15:38:06 +00:00
Andi-Bogdan Postelnicu
60bb054c02
Bug 1317954 - Replace default bodies of special member functions with = default; in xpcom/. r=froydnj
...
MozReview-Commit-ID: 5GXchMr0VvV
--HG--
extra : rebase_source : ac32605ef643f67ffd0f0894f31eed8f01804e2f
2016-11-16 14:25:31 +02:00
Andi-Bogdan Postelnicu
42effb5bbf
Bug 1317954 - Use auto type specifier where aplicable for variable declarations to improve code readability and maintainability in xpcom/. r=froydnj
...
MozReview-Commit-ID: EZZrYF1W81B
--HG--
extra : rebase_source : 30eea607d07ac819a0e55a2c4b0f8c359c156705
2016-11-16 14:24:59 +02:00
Benjamin Smedberg
5964cb6f7f
Bug 1314955 part C - Make the binary-component
manifest instruction obsolete: it will continue to be parsed and will report a deprecation notice to the browser console. r=froydnj
...
MozReview-Commit-ID: LqjraYHrbnw
--HG--
extra : rebase_source : 9dec005a61b3ff987f68fc372d5612257777d288
extra : source : b99edf918b964e1ad5d096c26cc439818d925891
2016-10-26 12:40:42 -04:00
Iris Hsiao
541087209a
Backed out changeset b99edf918b96 (bug 1314955) for Android XPCShell failures
2016-11-16 15:19:38 +08:00
Benjamin Smedberg
7fe406a0e5
Bug 1314955 part C - Make the binary-component
manifest instruction obsolete: it will continue to be parsed and will report a deprecation notice to the browser console. r=froydnj
...
MozReview-Commit-ID: LqjraYHrbnw
--HG--
extra : rebase_source : 0d4f71303b4227ab61aff2c00db6b4ec0717ce63
2016-10-26 12:40:42 -04:00
ffxbld
d07aca95ba
Update configs. IGNORE BROKEN CHANGESETS CLOSED TREE NO BUG a=release ba=release
2016-11-14 13:29:32 +01:00
J. Brown
822aa4b8d8
Bug 1242901
- Fix linking libxul.so with binutils/GNU ld >= 2.26. r=glandium
...
The build fails with:
/usr/bin/ld: ../../xpcom/components/nsComponentManager.o: relocation R_386_GOTOFF against protected data `start_kPStaticModules_NSModule' can not be used when making a shared object
/usr/bin/ld: final link failed: Bad value
collect2: error: ld returned 1 exit status
This is a patch from 2016/04/27 16:36:50 ryoon found on
http://cvsweb.netbsd.org/bsdweb.cgi/pkgsrc/www/firefox45/patches/#dirlist .
2016-10-20 04:25:00 -04:00
ffxbld
857d1ac980
Update configs. IGNORE BROKEN CHANGESETS CLOSED TREE NO BUG a=release ba=release
2016-09-19 09:45:57 -04:00
Michael Layzell
36e08437d0
Bug 1018486 - Part 8: Various other changes, r=smaug
...
MozReview-Commit-ID: B0dsomkWgEk
2016-09-07 10:50:45 -04:00
Gregory Moore
b5da131303
Bug 1298709 - Remove redundant call of get() on smart pointer in nsCategoryManager.cpp. r=froydnj
2016-09-02 15:22:09 -07:00
Nicholas Nethercote
c2306345d5
Bug 1297658 - Avoid unnecessary checking in memory reporters. r=erahm.
...
This patch removes checking of all the callback calls in memory reporter
CollectReport() functions, because it's not useful.
The patch also does some associated clean-up.
- Replaces some uses of nsIMemoryReporterCallback with the preferred
nsIHandleReportCallback typedef.
- Replaces aCallback/aCb/aClosure with aHandleRepor/aData for CollectReports()
parameter names, for consistency.
- Adds MOZ_MUST_USE/[must_use] in a few places in nsIMemoryReporter.idl.
- Uses the MOZ_COLLECT_REPORT macro in all suitable places.
Overall the patch reduces code size by ~300 lines and reduces the size of
libxul by about 37 KiB on my Linux64 builds.
--HG--
extra : rebase_source : e94323614bd10463a0c5134a7276238a7ca1cf23
2016-08-24 15:23:45 +10:00
David Anderson
9495e20273
Enable nsComponentManager in the GPU process. (bug 1294350 part 4, r=nfroyd)
2016-08-22 22:57:36 -07:00
Nicholas Nethercote
b048991fcb
Bug 1295053 (part 2) - Don't use NS_METHOD for nsCategoryManager functions. r=froydnj.
...
These don't need __stdcall on Win32.
--HG--
extra : rebase_source : 3186eb121878ea97420afa500224f38493275793
2016-08-15 14:30:14 +10:00
Nicholas Nethercote
736c7b1407
Bug 1291970 (part 2) - Tweak nsCategoryManager memory reporter handling. r=erahm.
...
This patch adds an assertion that makes sure that the nsCategoryManager is
destroyed after the nsMemoryReporterManager, because bad things would happen
otherwise.
Also, nsCategoryManager uses manual memory management (it's AddRef/Release are
hardwired to always return 2 and 1 respectively) so it doesn't matter if we
register it as a strong or weak memory reporter. But it's more common to use
RegisterWeakMemoryReporter when the argument is |this|, so this patch does
that.
--HG--
extra : rebase_source : 4ca33404d4c6f2b271e1ad008ea1a9a79f3ef666
2016-08-11 09:29:44 +10:00
Nicholas Nethercote
e7f10a07fd
Bug 1293603 (part 2) - Make Run() declarations consistent. r=erahm.
...
This patch makes most Run() declarations in subclasses of nsIRunnable have the
same form: |NS_IMETHOD Run() override|.
As a result of these changes, I had to add |override| to a couple of other
functions to satisfy clang's -Winconsistent-missing-override warning.
--HG--
extra : rebase_source : 815d0018b0b13329bb5698c410f500dddcc3ee12
2016-08-08 12:18:10 +10:00
Alexandre Lissy
0af5b943b6
Bug 1284674 - Remove NUWA r=cyu
...
MozReview-Commit-ID: GyMRNzOBKw6
--HG--
extra : rebase_source : 293af1cd55f2035ce6a99f4ebf144059c32a2b8f
2016-08-02 14:54:00 +02:00
ffxbld
3df383b855
Update configs. IGNORE BROKEN CHANGESETS CLOSED TREE NO BUG a=release ba=release
2016-08-01 07:09:05 -07:00
Carsten "Tomcat" Book
336105a0de
merge mozilla-inbound to mozilla-central a=merge
2016-07-22 11:58:02 +02:00
Jim Chen
ce45a595ab
Bug 1287946 - Update existing code to use mozilla::java; r=me
2016-07-21 13:49:04 -04:00
Tom Tromey
5538d692d3
Bug 1286877 - do not set c-basic-offset for python-mode; r=gps
...
This removes the unnecessary setting of c-basic-offset from all
python-mode files.
This was automatically generated using
perl -pi -e 's/; *c-basic-offset: *[0-9]+//'
... on the affected files.
The bulk of these files are moz.build files but there a few others as
well.
MozReview-Commit-ID: 2pPf3DEiZqx
--HG--
extra : rebase_source : 0a7dcac80b924174a2c429b093791148ea6ac204
2016-07-14 10:16:42 -06:00
Chris Peterson
b175c9fdd5
Bug 1277106 - Part 2: Expand MOZ_UTF16() strings to u"" string literals. r=Waldo
2016-07-20 22:03:25 -07:00
Carsten "Tomcat" Book
e8bc59a87a
Backed out changeset 684888aeee81 (bug 1287946)
2016-07-21 08:07:12 +02:00
Jim Chen
78f67d1f6f
Bug 1287946 - Update existing code to use mozilla::java; r=me
2016-07-21 00:42:26 -04:00
Kyle Huey
6baa905da7
Bug 1282527: Remove remaining PR_ASSERTs outside of NSPR/NSS. r=dbaron
...
--HG--
extra : rebase_source : a9dd69c772ef2641ee300d57d2a4d4c83003726c
2016-06-28 10:47:22 -07:00
ffxbld
219956a13e
Update configs. IGNORE BROKEN CHANGESETS CLOSED TREE NO BUG a=release ba=release
2016-06-06 15:18:13 -04:00
Andrew McCreight
21bb33df87
Bug 1273190, part 1 - Fix indentation and mode lines for various xpcom/ files. r=froydnj
2016-05-24 14:45:44 -07:00
Chris Peterson
8a9e2d2bd4
Bug 1272513 - Part 2: Remove redundant -Wshadow CXXFLAGS from moz.build files. r=glandium
2016-05-14 00:54:55 -07:00
Nathan Froyd
9b00f3e468
Bug 1262399 - remove Impl suffixes from nsSupports* implementations; r=mccr8
...
Having the Impl suffix isn't really necessary, and if we start creating
instances of these classes directly, it's also rather ugly. Let's get
rid of them.
2016-05-03 15:25:41 -05:00
Kyle Huey
c73656947b
Bug 1265927: Move nsRunnable to mozilla::Runnable, CancelableRunnable to mozilla::CancelableRunnable. r=froydnj
2016-04-25 17:23:21 -07:00
ffxbld
50a14b0c3c
Update configs. IGNORE BROKEN CHANGESETS CLOSED TREE NO BUG a=release ba=release
2016-04-25 10:10:40 -07:00
Jacek Caban
15144101ad
Bug 1252650 - char16_t*/char16ptr_t mismatch fixup.
2016-04-23 13:04:45 +02:00
Jim Chen
1a15cf64ef
Bug 1252650 - Add data parameter to NS_CreateServicesFromCategory; r=froydnj
...
Add a data parameter to be passed into any observers implemented by
created services.
2016-04-20 15:06:13 -04:00
Mike Hommey
0a771514a8
Bug 1256988 - Replace tests on MOZ_WIDGET_GTK with tests on MOZ_WIDGET_TOOLKIT containing gtk. r=chmanchester
...
But only do that for the AC_SUBST. The AC_DEFINE is still useful.
2016-03-17 06:49:44 +09:00
ffxbld
727d7d0948
Update configs. IGNORE BROKEN CHANGESETS CLOSED TREE NO BUG a=release ba=release
2016-03-07 09:23:22 -05:00
Eric Rahm
4c23f5cd8d
Bug 1251482 - Remove remaining references to MOZILLA_XPCOMRT_API from xpcom. r=froydnj
2016-02-26 18:10:56 -08:00
Wes Kocher
72d9604d91
Backed out 8 changesets (bug 1251482, bug 1251494, bug 1251473, bug 1239870) for gtest failures
...
Backed out changeset f064a5efbb8c (bug 1251494)
Backed out changeset 9e33adec1aa6 (bug 1251482)
Backed out changeset ab0347657e25 (bug 1251473)
Backed out changeset 1d385d4f195d (bug 1239870)
Backed out changeset ceb3e1ee7dda (bug 1239870)
Backed out changeset 8574075bf42f (bug 1239870)
Backed out changeset ba077a3afbc7 (bug 1239870)
Backed out changeset eb99ab06414d (bug 1239870)
MozReview-Commit-ID: 7r9SEk4VGNU
2016-02-26 17:14:57 -08:00
Eric Rahm
ae72b68e62
Bug 1251482 - Remove remaining references to MOZILLA_XPCOMRT_API from xpcom. r=froydnj
2016-02-26 15:31:19 -08:00
ffxbld
13bf763708
Update configs. IGNORE BROKEN CHANGESETS CLOSED TREE NO BUG a=release ba=release
2016-01-25 09:01:00 -05:00
Eric Rahm
9664d9a74d
Bug 1233881 - Support dynamically setting log levels at runtime via prefs. r=froydnj
...
Adds support for changing log levels at runtime via 'logging.*' preferences.
2015-12-22 15:09:41 -08:00
Birunthan Mohanathas
1cc56207d5
Bug 1227569 - Remove unsupported OpenVMS code. r=mccr8
2015-12-18 15:02:50 +02:00
ffxbld
1d2b3f2fb6
Update configs. IGNORE BROKEN CHANGESETS CLOSED TREE NO BUG a=release ba=release
2015-12-14 15:15:51 -05:00
Nicholas Nethercote
ddc78c3b0c
Bug 1229458 - Remove SizeOfIncludingThisMustBeUnshared() from string classes. r=mccr8.
...
The patch changes all uses of SizeOfIncludingThisMustBeUnshared() to
SizeOfIncludingThisIfUnshared(). This incurs the (tiny) cost of an unnecessary
IsReadonly() check for guaranteed-unshared strings, but avoids the possible
assertion failures that would occur when MustBeUnshared() was used incorrectly
on shared strings, which is an easy mistake to make.
--HG--
extra : rebase_source : b1e91f1c19bcbe0521b0ce461d6c90512ca938ef
2015-12-01 15:36:26 -08:00
Nathan Froyd
4acd4505dd
Bug 1217047 - try harder in IsContractIDRegistered to return a reasonable answer; r=bsmedberg,f=yury
2015-10-20 15:06:42 -04:00
Mike Hommey
762aba02cd
Bug 1221453 - Use ObjDirPaths for GENERATED_INCLUDES and merge with LOCAL_INCLUDES. r=gps
2015-11-06 09:59:21 +09:00
Nathan Froyd
a5557d1390
Bug 1219246 - use UniquePtr instead of nsAuto*Ptr in xpcom/; r=erahm
2015-10-31 13:47:14 -04:00
Nathan Froyd
78c64c0cde
Backout 5649b6b8cec3 (bug 1219246) for Linux xpcshell bustage
2015-10-31 13:34:06 -04:00
Nathan Froyd
a5bf910f3f
Bug 1219246 - use UniquePtr instead of nsAutoArrayPtr in xpcom/; r=erahm
2015-10-28 09:50:29 -04:00
ffxbld
ec6c8fefef
Update configs. IGNORE BROKEN CHANGESETS CLOSED TREE NO BUG a=release ba=release
2015-10-29 07:45:54 -04:00