Tom Tromey
a0148cdc8d
Bug 1334278 - change mozilla::Smprintf to return a UniquePtr; r=froydnj
...
Change mozilla::Smprintf and friends to return a UniquePtr, rather than
relying on manual memory management. (Though after this patch there are
still a handful of spots needing SmprintfFree.)
MozReview-Commit-ID: COa4nzIX5qa
2017-03-03 08:17:27 -07:00
Eric Rahm
68b43577c0
Bug 1351732 - Part 2: Replace use of PLArena with ArenaAllocator in xpcom. r=froydnj
...
This swaps xpcom's plarena usage to ArenaAllocator. The new ArenaStrdup
extensions are used as well.
MozReview-Commit-ID: DHDfl6IkGJL
2017-03-30 16:46:58 -07:00
ffxbld
ccc890b40c
Update configs. IGNORE BROKEN CHANGESETS CLOSED TREE NO BUG a=release ba=release
...
MozReview-Commit-ID: GEyM0F1O4hP
2017-03-06 23:53:55 +01:00
Tom Tromey
cfad9ca511
Bug 1060419 - make ManifestParser use Printf.h, r=froydnj
...
MozReview-Commit-ID: HBOOr5WScvU
2016-12-15 20:13:08 -07:00
Tom Tromey
48da5b7de4
Bug 1060419 - remove unneeded includes of prprf.h, r=froydnj
...
MozReview-Commit-ID: JifhpA3oOeH
2016-12-09 10:00:01 -10:00
Bill McCloskey
f79edeabc9
Bug 1339289 - Give names to a lot of common runnables (r=ehsan)
...
MozReview-Commit-ID: 5IdvK6kgoAW
2017-02-15 12:30:01 -08:00
David Anderson
3d416e077a
Add memory reporting message support to PGPU. (bug 1321492 part 6, r=rhunt, r=erahm)
2017-01-26 16:35:54 -08:00
Benjamin Smedberg
c2fd766056
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
2017-01-20 14:41:10 -05:00
ffxbld
8e09da1aaf
Update configs. IGNORE BROKEN CHANGESETS CLOSED TREE NO BUG a=release ba=release
2017-01-23 15:38:06 +00:00
Andi-Bogdan Postelnicu
1f83323e89
Bug 1317954 - Replace default bodies of special member functions with = default; in xpcom/. r=froydnj
...
MozReview-Commit-ID: 5GXchMr0VvV
2016-11-16 14:25:31 +02:00
Andi-Bogdan Postelnicu
21662ed9ae
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
2016-11-16 14:24:59 +02:00
Benjamin Smedberg
cbdc6efd02
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
2016-10-26 12:40:42 -04:00
Iris Hsiao
96893dbade
Backed out changeset b99edf918b96 (bug 1314955) for Android XPCShell failures
2016-11-16 15:19:38 +08:00
Benjamin Smedberg
1439ce47d2
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
2016-10-26 12:40:42 -04:00
ffxbld
d2b4cfa891
Update configs. IGNORE BROKEN CHANGESETS CLOSED TREE NO BUG a=release ba=release
2016-11-14 13:29:32 +01:00
J. Brown
c8c7349cc7
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
f0796716b4
Update configs. IGNORE BROKEN CHANGESETS CLOSED TREE NO BUG a=release ba=release
2016-09-19 09:45:57 -04:00
Michael Layzell
d32dafff26
Bug 1018486 - Part 8: Various other changes, r=smaug
...
MozReview-Commit-ID: B0dsomkWgEk
2016-09-07 10:50:45 -04:00
Gregory Moore
aae9062361
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
1009bf0056
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.
2016-08-24 15:23:45 +10:00
David Anderson
8a83cca501
Enable nsComponentManager in the GPU process. (bug 1294350 part 4, r=nfroyd)
2016-08-22 22:57:36 -07:00
Nicholas Nethercote
ff8a0543e9
Bug 1295053 (part 2) - Don't use NS_METHOD for nsCategoryManager functions. r=froydnj.
...
These don't need __stdcall on Win32.
2016-08-15 14:30:14 +10:00
Nicholas Nethercote
c1ce4ee3a0
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.
2016-08-11 09:29:44 +10:00
Nicholas Nethercote
1f65390cc9
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.
2016-08-08 12:18:10 +10:00
Alexandre Lissy
b2834a3543
Bug 1284674 - Remove NUWA r=cyu
...
MozReview-Commit-ID: GyMRNzOBKw6
2016-08-02 14:54:00 +02:00
ffxbld
4168da5252
Update configs. IGNORE BROKEN CHANGESETS CLOSED TREE NO BUG a=release ba=release
2016-08-01 07:09:05 -07:00
Carsten "Tomcat" Book
c0a2b46b9b
merge mozilla-inbound to mozilla-central a=merge
2016-07-22 11:58:02 +02:00
Jim Chen
e8f534d407
Bug 1287946 - Update existing code to use mozilla::java; r=me
2016-07-21 13:49:04 -04:00
Tom Tromey
1b5a2bdb96
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
2016-07-14 10:16:42 -06:00
Chris Peterson
6c0f810682
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
58f5467519
Backed out changeset 684888aeee81 (bug 1287946)
2016-07-21 08:07:12 +02:00
Jim Chen
0ea27022be
Bug 1287946 - Update existing code to use mozilla::java; r=me
2016-07-21 00:42:26 -04:00
Kyle Huey
b035c8c5c6
Bug 1282527: Remove remaining PR_ASSERTs outside of NSPR/NSS. r=dbaron
2016-06-28 10:47:22 -07:00
ffxbld
1f1f2f18ec
Update configs. IGNORE BROKEN CHANGESETS CLOSED TREE NO BUG a=release ba=release
2016-06-06 15:18:13 -04:00
Andrew McCreight
c1500d0e69
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
1e35dbdf75
Bug 1272513 - Part 2: Remove redundant -Wshadow CXXFLAGS from moz.build files. r=glandium
2016-05-14 00:54:55 -07:00
Nathan Froyd
fa642c6e39
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
a9cf047227
Bug 1265927: Move nsRunnable to mozilla::Runnable, CancelableRunnable to mozilla::CancelableRunnable. r=froydnj
2016-04-25 17:23:21 -07:00
ffxbld
59e1830d00
Update configs. IGNORE BROKEN CHANGESETS CLOSED TREE NO BUG a=release ba=release
2016-04-25 10:10:40 -07:00
Jacek Caban
018c09efa9
Bug 1252650 - char16_t*/char16ptr_t mismatch fixup.
2016-04-23 13:04:45 +02:00
Jim Chen
79ad91e3d4
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
1d8da3f130
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
17231096b4
Update configs. IGNORE BROKEN CHANGESETS CLOSED TREE NO BUG a=release ba=release
2016-03-07 09:23:22 -05:00
Eric Rahm
3b56efd89c
Bug 1251482 - Remove remaining references to MOZILLA_XPCOMRT_API from xpcom. r=froydnj
2016-02-26 18:10:56 -08:00
Wes Kocher
a7ed9527c6
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
67ebe9fa34
Bug 1251482 - Remove remaining references to MOZILLA_XPCOMRT_API from xpcom. r=froydnj
2016-02-26 15:31:19 -08:00
ffxbld
ce988e0024
Update configs. IGNORE BROKEN CHANGESETS CLOSED TREE NO BUG a=release ba=release
2016-01-25 09:01:00 -05:00
Eric Rahm
f0d76384f7
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
2c5aca20d5
Bug 1227569 - Remove unsupported OpenVMS code. r=mccr8
2015-12-18 15:02:50 +02:00
ffxbld
d2e0be21ad
Update configs. IGNORE BROKEN CHANGESETS CLOSED TREE NO BUG a=release ba=release
2015-12-14 15:15:51 -05:00