Ehsan Akhgari
498e2df734
Bug 1521000 - Part 2: Adjust our clang-format rules to include spaces after the hash for nested preprocessor directives r=sylvestre
...
# ignore-this-changeset
2019-01-18 10:16:18 +01:00
Sylvestre Ledru
e5a134f73a
Bug 1511181 - Reformat everything to the Google coding style r=ehsan a=clang-format
...
# ignore-this-changeset
2018-11-30 11:46:48 +01:00
Kris Maglione
015e3a6c02
Bug 1484496: Part 4b - Add intrinsic type information to most nsSimpleEnumerators. r=froydnj
...
This allows JS callers to automatically get the correct types during
interation, without having to explicitly specify them.
Differential Revision: https://phabricator.services.mozilla.com/D3728
2018-08-18 21:06:32 -07:00
Kris Maglione
f67d651497
Bug 1484496: Part 2 - Add common base class for all nsISimpleEnumerator implementations. r=froydnj
...
In order to allow JS callers to use nsISimpleEnumerator instances with the JS
iteration protocol, we'll need to additional methods to every instance. Since
we currently have a large number of unrelated implementations, it would be
best if they could share the same implementation for the JS portion of the
protocol.
This patch adds a stub nsSimpleEnumerator base class, and updates all existing
implementations to inherit from it. A follow-up will add a new base interface
to this class, and implement the additional functionality required for JS
iteration.
Differential Revision: https://phabricator.services.mozilla.com/D3725
2018-08-18 14:22:47 -07:00
Chris Peterson
677bf4030c
Bug 1428535 - Add missing override specifiers to overridden virtual functions. r=froydnj
...
MozReview-Commit-ID: DCPTnyBooIe
2017-11-05 19:37:28 -08:00
Florian Quèze
0eb4d55534
Bug 1405670 - remove support for NS_APP_SEARCH_DIR_LIST and NS_APP_SEARCH_DIR from the directory service, r=adw.
2017-11-17 12:05:20 +01:00
Nicholas Nethercote
7dbfdaf890
Bug 1400460 - Rename nsIAtom as nsAtom. r=hiro.
...
(Path is actually r=froydnj.)
Bug 1400459 devirtualized nsIAtom so that it is no longer a subclass of
nsISupports. This means that nsAtom is now a better name for it than nsIAtom.
MozReview-Commit-ID: 91U22X2NydP
2017-10-03 09:05:19 +11:00
Nicholas Nethercote
be5f8887c1
Bug 1390428 (part 9) - Remove nsXPIDLCString. r=erahm.
...
This is straightforward, with only two notable things.
- `#include "nsXPIDLString.h" is replaced with `#include "nsString.h"`
throughout, because all nsXPIDLString.h did was include nsString.h. The
exception is for files which already include nsString.h, in which case the
patch just removes the nsXPIDLString.h inclusion.
- The patch removes the |xpidl_string| gtest, but improves the |voided| test to
cover some of its ground, e.g. testing Adopt(nullptr).
2017-08-17 15:29:03 +10:00
Brad Werth
3040e47a40
Bug 1380165 Part 1: Remove no-longer-used NS_MACOSX_JAVA2_PLUGIN_DIR variable and a comment that referenced a closed bug that conditionally used it. r=mstange
...
MozReview-Commit-ID: 7Qbel0gmEAI
2017-07-12 14:01:12 -07:00
Brad Werth
bce9188d83
Bug 1059424 Part 2: Simplify nsAppFileLocationProvider Java plugin detection now that we are minimum macOS 10.9. r=mstange
...
MozReview-Commit-ID: CkmH2ngEDKT
2017-07-10 15:37:46 -07:00
Nicholas Nethercote
896c99bb94
Bug 1295053 (part 3) - Don't use NS_METHOD for xpcom IO functions. r=froydnj.
...
These don't need __stdcall on Win32.
2016-08-15 14:30:32 +10:00
Mike Hommey
65b2030d3b
Bug 1234012 - Remove the NS_APP_PROFILE_DEFAULTS_{NLOC_,}50_DIR directory keys. r=bsmedberg
...
Nothing apart the code that was just removed uses those keys, so remove them.
Actually, there is a use in Seamonkey, but considering they're shipping with
omnijar, the code expecting the directory has not been working as designed for
a while, so they can fixup and remove that use as well.
2016-01-09 07:30:32 +09:00
Florian Quèze
d1e3fa6e3a
Bug 1169459 - remove the loadFromJars/jarURIs prefs, r=Mossop.
2015-09-04 11:50:49 +02:00
Nathan Froyd
b4d7119949
Bug 1192230 - clean up reference-counting in xpcom/; r=erahm
2015-07-01 12:27:43 -04:00
Ehsan Akhgari
ea41d8de48
Bug 1145631 - Part 1: Replace MOZ_OVERRIDE and MOZ_FINAL with override and final in the tree; r=froydnj
...
This patch was automatically generated using the following script:
function convert() {
echo "Converting $1 to $2..."
find . \
! -wholename "*/.git*" \
! -wholename "obj-ff-dbg*" \
-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 MOZ_OVERRIDE override
convert MOZ_FINAL final
2015-03-21 12:28:04 -04:00
Nathan Froyd
26a0b56c7a
Bug 1142503 - don't use QueryInterface when the compiler can do the cast for us; r=ehsan
...
Calling QueryInterface with a statically known IID should typically not
be necessary. In those cases where it's not, the compiler can do the
cast for us, though we have to supply the reference-counting that
QueryInterface would do.
In passing, several redundant null-checks for the result of |new T| have
been deleted.
2015-03-12 09:43:50 -04:00
Thomas Baquet
8428ccac3e
Bug 1132078 - Remove useless null checks after allocating memory with |new| from xpcom/io. r=nfroyd
2015-03-02 11:59:36 +01:00
Ehsan Akhgari
c5e0759362
Bug 1123009 - Make nsAppDirectoryEnumerator::mProvider an nsCOMPtr; r=froydnj
2015-01-19 12:38:17 -05:00
Ehsan Akhgari
ad34fcfc86
Bug 1117035 - Mark virtual overridden functions as MOZ_OVERRIDE in XPCOM; r=froydnj
2015-01-05 11:25:41 -05:00
Birunthan Mohanathas
6e9ec233ed
Bug 1046841 - Fix more style violations in previously touched .cpp files in xpcom/. r=froydnj
2014-08-25 12:17:15 -07:00
Benoit Jacob
fcd3b40972
Bug 1028588 - Fix dangerous public destructors in xpcom/ - r=bsmedberg,khuey,nfroyd
2014-06-30 18:11:53 -04:00
Wes Kocher
8d34dc1b3b
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
6d0ba9e6eb
Bug 1028588 - Fix dangerous public destructors in xpcom/ - r=bsmedberg,khuey,nfroyd
2014-06-30 18:11:53 -04:00
Birunthan Mohanathas
10838f95c7
Bug 995730 - Fix style violations in xpcom/io/. r=froydnj
2014-05-14 23:15:46 +03:00
Birunthan Mohanathas
b7e2587f32
Bug 995730 - Change xpcom/io/ to use 2 space indentation
...
This also removes trailing whitespace in reindented files.
2014-05-05 20:30:43 +03:00
Birunthan Mohanathas
eeb9aaaa94
Bug 900908 - Part 3: Change uses of numbered macros in nsIClassInfoImpl.h/nsISupportsImpl.h to the variadic variants. r=froydnj
2014-04-27 03:06:00 -04:00
Ehsan Akhgari
860f2c1f29
Bug 969757 - Remove the dead code in our tree which pretends to support OS/2; r=roc,mcmanus,gps,jorendorf,bsmedberg sr=bsmedberg
2014-02-10 17:57:01 -05:00
Benjamin Smedberg
29d63f056d
Bug 672843 part C - convert most of XPCOM except for xpcom/tests, r=vdjeric
2013-11-19 16:27:37 -05:00
Joshua Cranmer
1c073a2540
Bug 884061 - Part 3y: Use NS_DECL_THREADSAFE_ISUPPORTS in xpcom/, r=bsmedberg
2013-07-18 21:31:26 -05:00
Landry Breuil
f77a351d66
Bug 803955: {Free,Open}BSD use alternative dirs for systemwide extensions/plugins. r=bsmedberg
2012-11-14 20:02:07 +01:00
Aryeh Gregor
8b4a23fc4c
Bug 777292 part 2 - Change all nsnull to nullptr
2012-07-30 17:20:58 +03:00
Geoff Lankow
7a64448b03
Bug 749930 - Replace uses of nsILocalFile with nsIFile (compiled code only); r=bsmedberg
2012-06-06 14:08:30 +12:00
Gervase Markham
cb6a072c2a
Bug 716478 - update licence to MPL 2.
2012-05-21 12:12:37 +01:00
Javi Rueda
5534167e4f
Bug 379342 - Remove Win95/Win98 support code in XPCom; r=bsmedberg a=removal
2011-12-13 14:17:58 +00:00
Zack Weinberg
65b992f057
Bug 660687: Add configure switches that can override confvars.sh's choice of an app basename and disable all system extension directories. r=ted
2010-07-23 11:00:16 -07:00
Ehsan Akhgari
478ad1a412
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
Hanspeter Niederstrasser
85fcc021e2
Bug 691133 - xpcom: fails to build darwin/x11. r=smichaud
2011-10-14 10:43:35 -05:00
Michael Wu
0fe7772ece
Bug 675553 - Switch from PRBool to bool on a CLOSED TREE , r=bsmedberg,khuey,bz,cjones
2011-09-28 23:19:26 -07:00
Ted Mielczarek
8a39e4938e
bug 676589 - configure and xpcom changes for targeting iOS. r=khuey
2010-04-27 08:57:34 -04:00
Steven Michaud
206c250892
Bug 668639 - Work around Apple's latest Java update for OS X 10.5 breaking Java in FF 4 and up. r=bgirard
2011-07-07 14:24:28 -05:00
Mitchell Field
907029389d
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
Josh Aas
c4fc8f4dc9
Allow Gecko to find JavaPlugin2. b=510035 r=smichaud
2009-09-08 17:22:49 -04:00
Wolfgang Rosenauer
710956cdf1
Bug 496708 - add biarch system plugin location (Linux); r=joshmoz, sr=roc
2009-06-24 09:21:43 +02:00
Josh Aas
a868ad8fad
Stop using FlatCarbon headers on Mac OS X. b=482277 r=bsmedberg
2009-03-19 10:41:13 -07:00
Josh Aas
1a85a64620
Port xpcom to 64-bit Mac OS X, part 1. b=478687 r=mstange sr=bsmedberg
2009-03-06 12:32:57 -06:00
Daniel Holbert
37cf5be52d
Bug 473236 - Remove executable bit from files that don't need it. (Only changes file mode -- no code changes.) r=bsmedberg
2009-01-21 22:55:08 -08:00
Mike Hommey
2ca1a35a0e
Bug 440506 - Add a globally shared location for plugins; r=joshmoz sr=jst
2008-10-10 17:54:33 +02:00
Doug Turner
b34037187c
Bug 458917 - Windows CE Cleanup. r/sr=stuart+bsmedberg
2008-10-08 20:51:54 -07:00
Serge Gautherie
b8a69f51ee
Bug 438331 - Remove WIN16 (support) code everywhere; (Av1) </xpcom/*>; r+sr=benjamin
2008-10-08 02:21:13 +02:00
[email protected]
9eb439d922
Bug 368297 - Fail to find plugins under MOZ_PLUGIN_PATH, patch by Boying Lu <[email protected] >, r=me
2007-02-21 19:45:48 +00:00