Commit Graph

47 Commits

Author SHA1 Message Date
Aryeh Gregor
ae8c41742c Bug 782594 - Don't return nsresult from main() (netwerk/); r=bz 2012-08-07 20:17:27 +03: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
c81630fddb Bug 777292 - Convert incorrect conversions to nsresult and fix named constants; r=ehsan 2012-07-27 16:59:29 +03:00
Aryeh Gregor
d0ad5a7d0c Bug 777292 part 2 - Change all nsnull to nullptr 2012-07-30 17:20:58 +03:00
Gervase Markham
82ff7027aa Bug 716478 - update licence to MPL 2. 2012-05-21 12:12:37 +01: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
Julian Reschke
af0dfc9e86 Bug 665706 - Remove historic special handling for semicolons in URIs. r=rjesup 2011-08-22 16:51:52 +02:00
timeless@mozdev.org
26b8fd7e81 Bug 617693 testURL/writeout use delete[] on nsMemory::Alloc o_Result and strdup(temp) when they don't leak
r=biesi
2011-03-23 23:30:31 -04:00
Benjamin Smedberg
a7e67d32ad Bug 568691 part B - mechanical changes to in-tree binary modules needed to get them building and registering correctly. After this patch, xpcshell appears to work. 2010-06-10 14:11:40 -04:00
bsmedberg%covad.net
3d9340e0ae Bug 315087 - convert necko tests to use the glue, r=darin 2005-11-08 19:23:00 +00:00
darin%meer.net
189ba5e5c4 eliminating uses of deprecated nsComponentManager:: methods (bug 267040), r=bsmedberg 2004-11-01 18:50:36 +00:00
darin%meer.net
12c8f2c34a make necko tests work on the trunk 2004-10-21 20:57:17 +00:00
gerv%gerv.net
8b8dde7d95 Bug 236613: change to MPL/LGPL/GPL tri-license. 2004-04-18 22:01:16 +00:00
tor%cs.brown.edu
bbf2ef596f Bug 208314 - remove use of iostreams to allow building with compilers
that don't support classic C++ iostreams (ex: MSVC++ .net 2003).
r=timeless, sr=dbaron
2004-02-07 02:41:10 +00:00
timeless%mozdev.org
8f9b9cc7ed Bug 224016 unused variable nsresult result' in function int main(int, char**)'
r=darin sr=darin
2003-10-30 02:11:45 +00:00
timeless%mozdev.org
384066e98e Bug 58221 don't use strlen to check if a string is of length 0
patch by aaronl@vitelus.com r=timeless sr=bz
2002-11-17 05:16:49 +00:00
timeless%mac.com
651ae14d30 Bug 155466 clean up test consumers to correctly use NS_ShutdownXPCOM
r=dmose, sr=scc, moa: dougt, dbradley, gagan, harish, akk
2002-07-04 14:29:25 +00:00
dougt%netscape.com
c683a217ab Fixes mozilla/strings requiring unfrozen nsCRT class. patch by scc, r=dougt, sr=jag, b=136756 2002-05-15 18:55:21 +00:00
darin%netscape.com
f1a6738b6c fixes bug 124042 "support internationalized URIs" r=dougt, sr=alecf, a=asa 2002-03-06 07:48:55 +00:00
dougt%netscape.com
c50ca402ad 1. Converts callers of nsIComponentManagerObsolete to use
nsIComponentRegistrar.

2. Converts callers of nsComponentManager::AutoRegister to use
nsIComponentRegistrar's autoRegistrar method.

3. Add nsIComponentRegistrar implmentation to nsComponentManagerImpl.

4. Rearrange nsComponentManager.cpp so that related methods are in the same
place.

5. Added a C-style function NS_GetComponentRegistrar so that getting the
registrar is easier in some places.

6. Added a nsISimpleEnumerator interface on PLDHashTableEnumeratorImpl.  in
this way, the same base class can support both old style and new style
enumerations.

7. Fixed a nasty bug where unregistring factories will leave the contract id
hash with a dangling pointer.  Now, when unregister is called we search the
contract id hash for entries which have the given doomned cid and remove them.


Bug 115853.  r=dp@netscape.com, sr=rpotts@netscape.com
2002-01-29 21:22:13 +00:00
dougt%netscape.com
849d297364 nsIComponentManager API Changes (bug 98553)
a) create a new nsIComponentManager with only four functions on it:
CreateInstance CreateInstanceByContractID GetClassInfo GetClassInfoByContractID.

b) rename the old nsIComponentManager to nsIComponentManagerObsolete.

c) fixes callers which use to access the nsIComponentManager for component
registration functionality.  These callers will temporary use the
nsIComponentManagerObsolete interface.

d) Create a new API NS_GetComponentManager() which mirrors the
NS_GetServiceManager()

e) Perserves the old NS_GetGlobalComponentManager().  Note the cast usage.

r/sr = rpotts@netscape.com  alecf@netscape.com  brendan@mozilla.org
2001-12-19 00:12:41 +00:00
darin%netscape.com
36a44ba4ac landing standard url rewrite (bug 103916)
r=andreas.otte@debitel.net, sr=brendan,alecf
2001-11-16 02:09:13 +00:00
jaggernaut%netscape.com
ca6197295f Bug 100476: Convert uses of member functions ToNewUnicode, ToNewCString and ToNewUTF8String to their global versions and remove support from nsCString and nsString. r=dbaron, rs=scc 2001-09-29 08:28:41 +00:00
gerv%gerv.net
4e12e44b2f Relicensing Round 1, Take 2. Most C-like NPL files -> NPL/GPL/LGPL. Bug 98089. 2001-09-28 20:14:13 +00:00
andreas.otte%primus-online.de
430708c295 bug 95677 [update urltest.cpp] update urltest to reflect changes in urlparser, changing format of testfiles, adding special testfiles for fileurls, r=dougt@netscape.com, sr=darin@netscape.com 2001-09-12 08:01:12 +00:00
jaggernaut%netscape.com
e91f8a147e Bug 86734: Remove NS_WITH_SERVICE. r=dbaron, rs=scc, a=asa 2001-07-25 07:54:28 +00:00
darin%netscape.com
00a7e27ee6 Necko API changes, bug 74221. r=valeski, sr=rpotts. 2001-04-10 06:01:08 +00:00
pavlov%netscape.com
a3a300fdf2 string api changes r=scc 2000-04-25 05:40:45 +00:00
gagan%netscape.com
1e9dd41460 Fix for 32813. Moved the hardcoded tests out into a separate file and added functionality to specify that file. Look at urltests.dat in this directory for more info. 2000-04-15 01:47:17 +00:00
pp%ludusdesign.com
698852a4f4 Converting usage of ::GetIID() to NS_GET_IID().
Bug #20232, r=scc@netscape.com
2000-01-11 20:49:15 +00:00
valeski%netscape.com
6e90418e7e updated urltest.cpp to use the new Resolve code 1999-11-18 06:19:01 +00:00
dmose%mozilla.org
5312eacf8c updated license boilerplate to xPL 1.1, a=chofmann@netscape.com,r=endico@mozilla.org 1999-11-06 03:40:37 +00:00
gagan%netscape.com
c80556169a Last of the leftover files... that didn't include the API change. 1999-11-03 09:33:03 +00:00
gagan%netscape.com
834fa26854 Added profiling info for measuring performance when doing -all. Test case only. 1999-10-25 02:22:30 +00:00
kipp%netscape.com
0bdd6d0f51 Whacked test a bit and added more test cases, primarily for bug #6193 1999-09-21 22:27:27 +00:00
andreas.otte%primus-online.de
eb286e33d1 add some more testcases 1999-09-18 11:12:45 +00:00
gagan%netscape.com
48a6252554 More mem leak fixes. 1999-08-27 10:03:07 +00:00
gagan%netscape.com
ca73a1f56c More URL parsing updates for not so common cases. 1999-07-28 02:13:07 +00:00
gagan%netscape.com
b44058b222 Changes for the standard URL parsing. Added SetRelativePath. Cleaned up the deletions (all thru nsCRT now) Added functionality for Query and Ref portions of the Path. Added DirFile function to nsIURL to allow just Directory and the Filename. Misc. cleanups as well. 1999-07-22 21:14:51 +00:00
gagan%netscape.com
d2e34e9cd9 Included the test for resource: protocol that was breaking apprunner. 1999-07-16 02:31:07 +00:00
gagan%netscape.com
cc251f6406 Thou shalt parse thy URLs... again. 1999-07-10 05:00:23 +00:00
andreas.otte%primus-online.de
3cf2b58f90 NECKO only: little better error handling 1999-07-03 09:53:09 +00:00
andreas.otte%primus-online.de
18c2fd395a fixing for new AutoRegistration 1999-06-22 18:24:02 +00:00
gagan%netscape.com
c163f729cf Fixes to urltest.cpp. 1999-06-15 00:34:37 +00:00
gagan%netscape.com
c7b25b5f1a Added urltest.cpp. Hasn't been compiled as yet. 1999-06-14 08:45:27 +00:00