Commit Graph

67 Commits

Author SHA1 Message Date
Benjamin Smedberg
8fd1bc7f20 Bug 672843 part C - convert most of XPCOM except for xpcom/tests, r=vdjeric 2013-11-19 16:27:37 -05:00
Ehsan Akhgari
4ad1b6649d Backed out changeset 66a7359f9be2 (bug 791546) because it broke the build 2013-01-03 18:36:16 -05:00
Shriram Kunchanapalli
25d2ca6bd4 Bug 791546: Removes nsCRT::strcmp(const PRUnichar* s) from nsCRT.h and replaces it occurrences with NS_strcmp; r=bsmedberg 2012-12-24 08:47:18 +05:30
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
Doug Turner
09b892f270 Bug 759416 - Backout API change part 2. r=dougt 2012-08-17 19:43:00 -07:00
Doug Turner
c75d9afe6d Bug 759416 - XPCOM FileWatcherService. Interface and stub impl. r=dougt 2012-08-01 23:29:34 -07:00
Gervase Markham
82ff7027aa Bug 716478 - update licence to MPL 2. 2012-05-21 12:12:37 +01:00
Geoff Lankow
5f83fb3fab Bug 682360 - Merge nsILocalFile and nsIFile interfaces; r=bsmedberg 2012-04-04 23:04:37 +12:00
Makoto Kato
c591c1f4a6 Bug 723055 - remove nsLocalFileUnicode.h. r=bsmedberg 2012-02-07 11:36:09 +09: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
Ted Mielczarek
94d78545fa bug 676589 - configure and xpcom changes for targeting iOS. r=khuey 2010-04-27 08:57:34 -04:00
Mitchell Field
a6788f0842 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
Paolo Amadini
8818dd9408 Bug 551658 - [@ nsIFile::createUnique] crashes with long parent directory names. r=bsmedberg 2010-05-02 10:28:26 +02:00
smontagu@smontagu.org
6f2722ea4a Make CreateUnique use UTF-16 path names on Windows and correct some bugs with handling over-long filenames. Bug 364285, r=bsmedberg, blocking-firefox3=beltzner 2008-01-09 13:10:06 -08:00
joshmoz%gmail.com
f94613b36d remove XP_MAC from xpcom. b=281889 r=bsmedberg 2006-11-16 09:10:09 +00:00
jshin%mailaps.org
ebc7ee6742 bug 162361 : Unicode file i/o in XPCOM/IO (cannot open files whose names contain characters outside the current locale: e.g. Japanese/Chinese on French Windows) : r/sr=darin, r=bsmedberg 2006-03-22 04:26:30 +00:00
cbiesinger%web.de
c2d981f764 bug 183156 remove *UCS2* functions, replacing them with *UTF16* ones
r+sr=darin
2006-02-03 14:18:39 +00:00
bienvenu%nventure.com
e56010a35b fix 254527 crash when using a symlink to a signature file, r/sr=darin, a=benjamin 2005-06-29 17:25:24 +00:00
darin%meer.net
ba3a7e5abf fixes bug 280082 "ensure maxRootLength in CreateUnique is never negative" r=dveditz sr=brendan 2005-02-19 07:44:59 +00:00
roc+%cs.cmu.edu
0f4150a4e5 Bug 226439. Convert codebase to use AppendLiteral/AssignLiteral/LowerCaseEqualsLiteral. r+sr=darin 2004-06-17 00:13:25 +00:00
dougt%meer.net
59cdf66913 Fixes SplitPath which read off the end of the string. r=timeless sr=me b=245516 2004-06-08 05:03:59 +00:00
bsmedberg%covad.net
080cf988db Bug 243973 - nsILocalFile.getRelativeDescriptor should not be case-sensitive on Windows. r+sr=darin 2004-05-29 15:37:44 +00:00
timeless%mozdev.org
75e38db20f Bug 241710 nsILocalFile.getRelativeDescriptor(null) crashes
r=dougt
2004-04-28 12:53:20 +00:00
gerv%gerv.net
31625ba2b1 Bug 236613: change to MPL/LGPL/GPL tri-license. 2004-04-18 14:21:17 +00:00
darin%meer.net
8d65e087ae landing string defragmentation patch for bug 231995, r/sr=dbaron,jst,dougt 2004-02-19 02:44:03 +00:00
bienvenu%nventure.com
c730b9ee45 fix nsILocalFile relative descs calculation of relative path, r=sspitzer, sr=mscott required for 137006 2003-12-19 18:13:42 +00:00
bzbarsky%mit.edu
d15599a1ee Return a more useful error when being inited with an empty string. Bug 187605,
patch by bugzilla@chucker.rasdi.net (So"ren 'Chucker' Kuklau), r=dougt, sr=bzbarsky
2003-01-13 06:26:19 +00:00
ccarlen%netscape.com
32d8005d63 Bug 118203 - nsLocalFile implementation for Mach-0. r=pinkerton, sdagley/sr=sfraser 2002-09-25 12:23:39 +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
6fd5862e6e fixes bug 142870 "nsIFile should use UCS-2 instead of UTF-8"
r=dougt sr=alecf
2002-05-07 23:07:19 +00:00
darin%netscape.com
4d2baf8913 fixing solaris bustage 2002-04-27 09:02:53 +00:00
darin%netscape.com
e554d83626 fixes bug 129279 "nsIFile unicode/utf8/ascii task"
r=dougt sr=alecf
2002-04-27 05:33:09 +00:00
mkaply%us.ibm.com
ee5fff30d0 #100676
r=pedemont,cls (makefile), sr=alecf, a=shaver
OS/2 only - remove dependency on uconv for filename conversions
2002-04-24 03:47:06 +00:00
ccarlen%netscape.com
62aa5b03ad Bug 12911 - use relative file descriptors. This adds the needed methods to nsILocalFile. r=dougt/sr=alecf/a=asa/adt=jaime 2002-04-09 14:12:24 +00:00
cathleen%netscape.com
8baf662f08 eliminate nsCRT::strlen for char* strings (part 5), bug 124536 r=dp sr=brendan 2002-02-20 06:38:38 +00:00
alecf%netscape.com
63991ddfde final fix for bug 100212 - removal final dependency on necko from xpcom by removing nsIFile.URL r=dougt, sr=darin Yay! 2002-01-09 20:03:46 +00:00
dougt%netscape.com
92eaa0797b Fixes 116299 Reduce size of nsLocalFileWin by 2 ptrs by factoring out shortcut resolver. Also fixes crash 117258 caused by trying to create a file or directory to a nonexistant drive. sr=rpotts, dveditz for the first bug, and sr=darin, r=gagan for the second bug 2002-01-08 02:20:13 +00:00
pete%alphanumerica.com
efee7eec18 b=77933, r=ccarlen, sr=jst
nsIFile::CreateUnique() has unused parameter

removed unused parameter
/**
    WARNING commercial tree has one hit for this API change
 */
--pete
2001-12-07 23:06:51 +00:00
ccarlen%netscape.com
ff0a0259a0 Bug 103384 - Move unicode conversion out of nsLocalFileCommon.cpp r=dougt/sr=alecf 2001-11-16 14:54:38 +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
dbaron%fas.harvard.edu
d3b4f5ba4b Fix leak of string. b=102996 r=jag sr=bienvenu 2001-10-08 21:10:20 +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
jaggernaut%netscape.com
e91f8a147e Bug 86734: Remove NS_WITH_SERVICE. r=dbaron, rs=scc, a=asa 2001-07-25 07:54:28 +00:00
jaggernaut%netscape.com
5a6317b8a5 Bug 88413: Remove |GetUnicode()| from nsString (and replace it with |get()|). r=dbaron, rs=scc.
This removes all call-sites I can currently fix. Tomorrow I'll try to get someone to checkin my changes to security/ and I'll get some help with the Netscape side of things.

nsString::GetUnicode()'s final death-blow will be dealt soon. Please keep this in mind as you add new code :-)
2001-06-30 11:02:25 +00:00
dougt%netscape.com
758f79ff72 Landing url parsing branch. 73845. r=alecf@netscape.com, sr=darin@netscape.com, a=blizzard@rednat.com.
This fixes many crashes caused by illegal uses of the nsStdURL.
This also allows a plugable protocol to provide their own url parser.
2001-06-21 22:02:47 +00:00
sfraser%netscape.com
820315ecc5 Fix the a problem exposed by another bug, where out params were not correctly set to null. Part of fix for bug 80722 (crash creating new profile). 2001-05-15 00:34:10 +00:00
dougt%netscape.com
37d843eda9 Fixes 73797. Moves some initialization code up higher so that it does not have
to be called so much.

r=darin@Netscape.com
sr=waterson@netscape.com
2001-04-12 23:56:28 +00:00
jband%netscape.com
8fd7dc38a7 fix bustage to XPCOM_STANDALONE from fix to bug 43591. r=dbaron sr=brendan 2000-12-13 04:36:53 +00:00
dbaron%fas.harvard.edu
4597daa244 Fix bustage. Forgot to change NS_IMETHODIMP in function definitions. 2000-12-09 04:58:10 +00:00