Commit Graph

33 Commits

Author SHA1 Message Date
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
Ehsan Akhgari
ad34fcfc86 Bug 1117035 - Mark virtual overridden functions as MOZ_OVERRIDE in XPCOM; r=froydnj 2015-01-05 11:25:41 -05:00
Ehsan Akhgari
ccce08e5fe Bug 1114985 - Use nsCOMPtr in nsSingletonEnumerator; r=froydnj 2014-12-23 17:30:14 -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
Ehsan Akhgari
6084be21ce Bug 1045436 - Fix more bad implicit constructors in XPCOM; r=froydnj 2014-07-29 20:43:56 -04:00
Birunthan Mohanathas
8a4a4c8465 Bug 1022456 - Fix modelines in xpcom/{base,glue,io,string,threads}/. r=froydnj 2014-06-30 08:39:45 -07:00
Birunthan Mohanathas
ce774b1fa6 Bug 1022456 - Convert xpcom/glue/ to Gecko style. r=froydnj 2014-06-26 18:35:39 -07: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
7ce1aa5eb8 Bug 798158 - Part 1: Use a pointer-sized type to store refcounts internally; r=bsmedberg 2014-03-27 16:38:33 -04:00
Trevor Saunders
1b9382cbdc bug 877850 - fix static constructors in xpcom/ r=jlebar 2013-05-30 17:20:02 -04:00
Aryeh Gregor
8b4a23fc4c Bug 777292 part 2 - Change all nsnull to nullptr 2012-07-30 17:20:58 +03:00
Ehsan Akhgari
6c1914b71f Bug 758992 - Make the classes which use the XPCOM nsISupports implementation macros final, to avoid the warning about deleting using a pointer to a base class with virtual functions and no virtual dtor (XPCOM parts); r=bsmedberg 2012-06-05 19:51:58 -04:00
Gervase Markham
cb6a072c2a Bug 716478 - update licence to MPL 2. 2012-05-21 12:12:37 +01:00
Jeff Walden
a076867204 Bug 704127 - Implement MOZ_FINAL as a modifier for classes and virtual member functions. r=cjones 2011-11-20 22:21:16 -08: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
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
Rafael Ávila de Espíndola
df9f064589 Bug 623126 - Add constructor for nsDebugImpl, nsTraceRefcntImpl, EmptyEnumeratorImpl, and nsSimpleUnicharStreamFactory to placate CLang; r=bsmedberg 2011-03-24 19:26:55 -04:00
Florian Queze
d78cb77a8f Bug 451501. EmptyEnumratorImpl::QueryInterface needs to support nsIUTF8StringEnumerator. r+sr=bsmedberg 2009-04-06 12:26:25 +12:00
98de634631 Bug 348748 - Replace all instances of NS_STATIC_CAST and friends with C++ casts (and simultaneously bitrot nearly every patch in existence). r=bsmedberg on the script that did this. Tune in next time for Macro Wars: Episode II: Attack on the LL_* Macros. 2007-07-08 00:08:04 -07:00
benjamin@smedbergs.us
fbac713199 Bug 347183 - frozen-linkage access to null/singleton/union/array enumerators, r=darin 2006-08-08 18:18:50 +00:00
benjamin@smedbergs.us
b23cb5deff b=235665, aggregation broken in bookmarks [gecko only bits], r=axel,shaver,others,sr=shaver
Original committer: vladimir%pobox.com
Original revision: 3.13
Original date: 2004/08/30 22:25:27
2006-08-08 17:09:40 +00:00
benjamin@smedbergs.us
66afc700fe Bug 236613: change to MPL/LGPL/GPL tri-license.
Original committer: gerv%gerv.net
Original revision: 3.12
Original date: 2004/04/18 14:18:13
2006-08-08 17:09:37 +00:00
benjamin@smedbergs.us
df6181a232 Create a new xpcom obsolete library (and component library).
Moved nsFileSpec and related classes into this obsolete library.
  Moved nsRegistry and related libreg functionality into the obsolete library.

Updated many callers using the obsolete nsFile spec to use nsIFile and Necko to do file IO.

Combined the following DLLs (source -> dest)
  uriloader -> docshell
  shistory -> docshell
  jsurl -> jsdom
  gkview -> gklayout

Moved nsAdapterEnumerator out of xpcom/ds and into mailnews, since they're the only consumer

Modifed the xpt_link tool so that you can specify a �only include� cid list that can mask CID�s that you are not interested in.

Added build options:
Prevent the building of xpinstall (--disable-xpinstall)
Prevent the building js component loader (--disable-jsloader)
A build option to only build a single profile (--enable-single-profile)
A build flag to only built the required xpfe components (--disable-xpfe-components).

Removal or hiding of unused functions and classes including nsEscape*, nsDequeIterator, nsRecyclingAllocatorImpl, nsDiscriminatedUnion, nsOpaqueKey, nsCRT::strlen, NS_NewCommandLineService

Bug 194240, r/sr = darin, alec.

Original committer: dougt%netscape.com
Original revision: 3.11
Original date: 2003/03/15 01:04:09
2006-08-08 17:09:34 +00:00
benjamin@smedbergs.us
241d2b97c1 Bug 178643: Remove uses of NS_INIT_ISUPPORTS, since it is no longer needed. r=timeless sr=jag
Original committer: dbaron%dbaron.org
Original revision: 3.10
Original date: 2003/01/08 23:04:15
2006-08-08 17:09:31 +00:00
benjamin@smedbergs.us
85831ea8e9 fix for bug 162115 - add nsCOMArray<T> and nsIArray to the build
r=dougt, sr=darin, lots of comments from brendan, kai, bugmail@sicking.cc, frank.schoenheit@gmx.de, and even a little license help from timeless

Original committer: alecf%netscape.com
Original revision: 3.9
Original date: 2002/10/07 19:03:34
2006-08-08 17:09:28 +00:00
benjamin@smedbergs.us
0d1bc6d18c 166917. Clean up xpcom SDK includes. r=rpotts@netscape.com, sr=alecf@netscape.com, a=rjesup@wgate.com
Original committer: dougt%netscape.com
Original revision: 3.8
Original date: 2002/09/07 17:12:47
2006-08-08 17:09:25 +00:00
benjamin@smedbergs.us
bd334dff95 nsIObserver and nsIObserverService API freeze. r=rpotts@netscape.com, alecf@netscape.com. bug 99163
Original committer: dougt%netscape.com
Original revision: 3.7
Original date: 2001/10/19 20:52:43
2006-08-08 17:09:22 +00:00
benjamin@smedbergs.us
7c3b8d78d2 Relicensing Round 1, Take 2. Most C-like NPL files -> NPL/GPL/LGPL. Bug 98089.
Original committer: gerv%gerv.net
Original revision: 3.6
Original date: 2001/09/28 20:12:31
2006-08-08 17:09:19 +00:00
benjamin@smedbergs.us
88fc9a3f06 updated xPL license boilerplate to v1.1, a=chofmann@netscape.com,r=endico@mozilla.org
Original committer: dmose%mozilla.org
Original revision: 3.5
Original date: 1999/11/06 03:38:06
2006-08-08 17:09:16 +00:00
benjamin@smedbergs.us
04a3002dd2 got rid of |NS_IMPL_ISUPPORTS|, where possible, in favor of |NS_IMPL_ISUPPORTS0| or ...1 according to the specific use; got rid of |NS_DEFINE_IID| where possible, or where it should have been |NS_DEFINE_CID|; fixed bad implementations of |QueryInterface|, where possible. Built, tested apprunner, reviewed the changes with hyatt (since he was around to look) before checking in
Original committer: scc%netscape.com
Original revision: 3.4
Original date: 1999/08/23 10:11:15
2006-08-08 17:09:13 +00:00
benjamin@smedbergs.us
cd941aef1a Added constructor functions for nsEnumeratorUtils.
Original committer: warren%netscape.com
Original revision: 3.3
Original date: 1999/06/25 01:38:33
2006-08-08 17:09:10 +00:00
benjamin@smedbergs.us
8c9810729e Fixed nsICollection (and Count in particular) to be xpidl friendly.
Original committer: warren%netscape.com
Original revision: 3.2
Original date: 1999/05/13 04:56:02
2006-08-08 17:09:07 +00:00
benjamin@smedbergs.us
0fcd2f7472 Added nsISimpleEnumerator as Phase I of the great enumerator unification. Added misc files for XPConnect. Details in RDF_19990422_BRANCH.
This file was copied in CVS from the following location:
mozilla/xpcom/ds/nsEnumeratorUtils.cpp
Original committer: waterson%netscape.com
Original revision: 3.1
Original date: 1999/04/24 02:38:54
2006-08-08 17:09:04 +00:00