Commit Graph

65 Commits

Author SHA1 Message Date
Shriram Kunchanapalli
ff3af78fae 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
3b4961b603 Bug 773151: Convert nsCAutoString->nsAutoCString CLOSED TREE r=bsmedberg 2012-09-01 22:35:17 -04:00
Ehsan Akhgari
243c878d26 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
8fe603d921 Bug 759416 - Backout API change part 2. r=dougt 2012-08-17 19:43:00 -07:00
Doug Turner
bf5d966e66 Bug 759416 - XPCOM FileWatcherService. Interface and stub impl. r=dougt 2012-08-01 23:29:34 -07:00
Gervase Markham
cb6a072c2a Bug 716478 - update licence to MPL 2. 2012-05-21 12:12:37 +01:00
Geoff Lankow
4118e90551 Bug 682360 - Merge nsILocalFile and nsIFile interfaces; r=bsmedberg 2012-04-04 23:04:37 +12:00
Makoto Kato
4dd603c7a9 Bug 723055 - remove nsLocalFileUnicode.h. r=bsmedberg 2012-02-07 11:36:09 +09: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
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
Paolo Amadini
7ac4d0fac9 Bug 551658 - [@ nsIFile::createUnique] crashes with long parent directory names. r=bsmedberg 2010-05-02 10:28:26 +02:00
55845a264e 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
c95ca52ae3 remove XP_MAC from xpcom. b=281889 r=bsmedberg 2006-11-16 09:10:09 +00:00
jshin@mailaps.org
6b845d1f75 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
aae44b57d9 bug 183156 remove *UCS2* functions, replacing them with *UTF16* ones
r+sr=darin
2006-02-03 14:18:39 +00:00
bienvenu@nventure.com
2aff5eb01c 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
3169df9341 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
d9edea9d71 Bug 226439. Convert codebase to use AppendLiteral/AssignLiteral/LowerCaseEqualsLiteral. r+sr=darin 2004-06-17 00:13:25 +00:00
dougt@meer.net
67f099b9b5 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
2702f1ff3a 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
4bf6524b74 Bug 241710 nsILocalFile.getRelativeDescriptor(null) crashes
r=dougt
2004-04-28 12:53:20 +00:00
gerv@gerv.net
c0cd46fc51 Bug 236613: change to MPL/LGPL/GPL tri-license. 2004-04-18 14:21:17 +00:00
darin@meer.net
14e471acbc landing string defragmentation patch for bug 231995, r/sr=dbaron,jst,dougt 2004-02-19 02:44:03 +00:00
bienvenu@nventure.com
b826c1edec 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
bce03f5f0c 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
f35cd6a826 Bug 118203 - nsLocalFile implementation for Mach-0. r=pinkerton, sdagley/sr=sfraser 2002-09-25 12:23:39 +00:00
dougt@netscape.com
00d8c29c64 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
09c17695e3 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
51aff3645c fixing solaris bustage 2002-04-27 09:02:53 +00:00
darin@netscape.com
cdd08719da fixes bug 129279 "nsIFile unicode/utf8/ascii task"
r=dougt sr=alecf
2002-04-27 05:33:09 +00:00
mkaply@us.ibm.com
728148efa4 #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
6ffb36a935 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
c63437dfa3 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
0a41a9bd4d 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
ed38182809 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
8e2f79c65b 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
dccb14f774 Bug 103384 - Move unicode conversion out of nsLocalFileCommon.cpp r=dougt/sr=alecf 2001-11-16 14:54:38 +00:00
darin@netscape.com
013945c044 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
d57bfbedc1 Fix leak of string. b=102996 r=jag sr=bienvenu 2001-10-08 21:10:20 +00:00
gerv@gerv.net
58d409fba9 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
c2bcad0b73 Bug 86734: Remove NS_WITH_SERVICE. r=dbaron, rs=scc, a=asa 2001-07-25 07:54:28 +00:00
jaggernaut@netscape.com
baba14c5c8 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
8afc81e0b2 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
c04a859e74 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
e2950eb1f5 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
8475ea5a33 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
50f61bdbb4 Fix bustage. Forgot to change NS_IMETHODIMP in function definitions. 2000-12-09 04:58:10 +00:00
dbaron@fas.harvard.edu
a3ab70e1b9 Avoid relying on static constructor for nsFSStringConversion in nsLocalFile by making all methods static and avoiding the need for an object and then doing cleanup during XPCOM shutdown. b=43591 r=dougt@netscape.com sr=waterson@netscape.com 2000-12-09 04:11:05 +00:00
mkaply@us.ibm.com
e8ca2ab5ca #56767
r/a=cls,leaf
Remove XP_PC - use XP_WIN or XP_OS2 explicitly
2000-11-28 23:27:38 +00:00