Commit Graph
124 Commits
Author SHA1 Message Date
Andrew Quartey 3c46b00d0f Bug 792581 - part 19: Replace LL_I2L macro with int64_t cast. r=ehsan 2012-10-12 13:29:11 -04:00
Andrew Quartey b022a21546 Bug 792581 - part 15: Replace LL_L2I macro with int32_t cast. r=ehsan 2012-10-12 13:29:10 -04:00
Andrew Quartey d743f2979d Bug 792581 - part 14 - Replace LL_SHL, LL_SHR, LL_USHR macros with bitwise operators. r=ehsan 2012-10-12 13:29:10 -04:00
Andrew Quartey c70ace2203 Bug 792581 - part 12: Replace LL_DIV with division operator. r=ehsan 2012-10-05 01:05:28 -04:00
Nathan Froyd e2fbb0a25b Bug 796119 - part 2: don't #include prtypes.h in xpcom/ unless absolutely necessary; r=ehsan
"absolutely necessary" in this context means "needs PRUnichar", which is
the reason that nsString.h now #includes prtypes.h.
2012-10-01 17:01:01 -04:00
Ehsan Akhgari e4907ec4f6 Backout changeset 9e38c5518605, fc59bd8d49ba, d0ba1abde985, and acf91f25f228 (bugs 796119, 796279, and 797106) because of broken reftests on 64-bit platforms 2012-10-02 23:16:36 -04:00
Nathan Froyd a2064e331e Bug 796119 - part 2: don't #include prtypes.h in xpcom/ unless absolutely necessary; r=ehsan
"absolutely necessary" in this context means "needs PRUnichar", which is
the reason that nsString.h now #includes prtypes.h.
2012-10-01 17:01:01 -04:00
Randell Jesup 3b4961b603 Bug 773151: Convert nsCAutoString->nsAutoCString CLOSED TREE r=bsmedberg 2012-09-01 22:35:17 -04:00
Landry Breuil 195915de31 Bug 785738 Part 3: use PRTime instead of int64_t where appropriate; r=ehsan 2012-08-30 09:10:35 +02: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
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
Justin Lebar 8dfd539864 Bug 729940 - Part 2: Stop using crappy hash functions in Gecko. r=bz 2012-03-12 18:53:18 -04:00
Michal Novotny c1b64f0555 Bug 681407 - crash nsLocalFile::CopyMove 2011-10-19 13:02:57 +02: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
Walter Meinl c741c1ff72 Bug 576606 - [OS/2] Fix registration follow-up to bug568691 r=dragtext 2010-07-18 11:22:01 +02:00
Jae-Seong Lee-Russo f1dbba608c Bug 517553: Remove '=='/'!=' 'PR_FALSE'/'PR_TRUE' 2010-02-07 10:52:43 -05:00
Robert O'Callahan 31eb9ebeab Bug 482942. Implement nsILocalFile::DELETE_ON_CLOSE. r=bsmedberg 2009-03-20 09:56:05 +13:00
Neil Rashbrook 125aaf9154 Bug 478732 nsLocalFileWin/OS2.cpp's InitWithPath is inefficient r=bsmedberg 2009-03-04 09:48:48 +00:00
Arpad Borsos 1b55360c07 Bug 456388 - Remove PR_STATIC_CALLBACK and PR_CALLBACK(_DECL) from the tree; r+sr=brendan 2008-10-10 17:04:34 +02:00
c55bed3541 Bug 414901 - "Back out scriptable IO" [[email protected] (Neil Deakin) r+sr=bsmedberg a1.9b3=beltzner] 2008-02-01 18:07:49 -08:00
a1e982ddfb Back out the back out from bug 414901 until bug 415218 is fixed, or else we'll have very broken nightlies. :( 2008-02-01 00:51:29 -08:00
eddf0face9 Bug 414901, back out scriptable IO api, r+sr=bsmedberg,a=beltzner 2008-01-31 11:18:07 -08:00
04b1adc233 [OS/2] Bug 403989: fix file saving issues by backing out OS/2 part of patch from bug 402460, r=mkaply 2007-11-16 16:16:35 -08:00
f73ff59098 Bug 402460 CreateUnique is very slow and returns bogus error for write-protected directory r=bsmedberg a=mtschrep 2007-11-12 01:24:32 -08:00
81b60d493c [OS/2] Bug 400939: fix crash when using FireFTP with local files without extension, r=mkaply 2007-10-25 13:49:37 -07:00
b8ef7387fa [OS/2] Bug 395576: extension of downloaded files are upper-cased sometimes, r=mkaply 2007-09-16 13:46:35 -07:00
de884c0691 Bug 380813, improve scriptable io, and give file objects class info, meant to check this in a while ago, r=mfinkle,bsmedberg,sr=bsmedberg 2007-07-25 09:53:37 -07: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
[email protected] 047aa8634e Bug 361351: nsIFile.exists() should throw NOT_INITIALIZED if nsIFile is not initialized, patch by Ryan Jones <[email protected]>, r+sr=darin 2006-12-16 14:55:00 +00:00
[email protected] aa85bd4a8a [OS/2] Bug 351246: Load Mozilla into Highmem on OS/2. Part 1, changes to OS/2 only core code. r=abwillis1, sr=mkaply 2006-12-10 08:53:03 +00:00
[email protected] 1e97d4c2ce Since some platforms do string operations within local file ::Load, we shouldn't declare that objects being created/destroyed from static ctor/dtor is not legal throughout the entire ::Load function. That only needs to be true around the actual PR_LoadLibrary calls. Fixing this stops the ridiculous amount of warning output that we get from every debug mac build. Also removing unused old mac local file impls. b=326837 r=bsmedberg 2006-11-14 22:06:00 +00:00
[email protected] 41669be937 [OS/2] Bug 301367: Tag Files with Source URL, p=Rich Walsh, r=me, sr=darin 2006-06-26 20:40:08 +00:00
[email protected] 512f4d7c15 OS/2 build bustage 2006-04-14 14:02:57 +00:00
[email protected] 4b34108035 #3011064
r=mkaply, sr=mkaply (OS/2 only)
Patch from Andy Willis - add _declspec(dllexport/dllimport) for OS/2
2006-03-10 16:01:26 +00:00
[email protected] 9ced5b09ba Bug 106386 Correct misspellings in source code
r=bernd rs=brendan
2006-02-23 09:36:43 +00:00
[email protected] e374cbf6a3 Followup to bug 316732 - impls actually have to QI to the interface (pointed out by bz) 2005-11-18 20:12:46 +00:00
[email protected] b3f4cbc58c OS/2 version of 316732 2005-11-18 18:54:19 +00:00
[email protected] a22499d126 fixes bug 308369 "Stop copying stat cache when cloning nsIFile instances" r=josh sr=dougt 2005-09-13 22:08:52 +00:00
[email protected] 1ee7460375 #294067
r=mkaply, sr=mkaply (platform specific), a=mkaply (OS/2 only)
Patch from Rich Walsh - rewrite OS/2 file i/o code
2005-07-08 16:18:44 +00:00
[email protected] 529d7ceec4 fixes bug 231300 "nsLocalFile::MoveTo is very slow to move directories [Cause of disk trashing (on NT) when clearing cache?]" patch by [email protected], r+sr=darin, a=asa 2005-04-27 04:38:21 +00:00
[email protected] 7e4ac96180 OS/2 build bustage 2005-04-25 13:06:43 +00:00
[email protected] ecde10e786 291177 - need interface for enumerating directories, implement nsIDirectoryEnumerator with close() method to free system resources after enumeration complete - used incorrect checkin comment for previous checkin which has the meat of the change! r+sr=darin a=brendan 2005-04-23 01:41:42 +00:00
[email protected] ee02f00619 286034 - allow extensions to be installed/uninstalled by simply adding/removing their directories... r=bsmedberg, sr=darin, a=brendan 2005-04-23 01:39:51 +00:00
[email protected] ddd0642012 #287603
r=mkaply, sr=blizzard (platform specific), a=mkaply (OS/2 only)
Patch from Rich Walsh - Enable Mozilla to handle URL objects on the command line (similar to .url files on Windows)
2005-04-22 13:21:23 +00:00
[email protected] 934266e347 Make people that want empty strings use EmptyC?String(). Bug 232691, patch by
Daniel Kraft <[email protected]>, r=jst, sr=bzbarsky
2005-01-04 19:31:31 +00:00
[email protected] c0cd46fc51 Bug 236613: change to MPL/LGPL/GPL tri-license. 2004-04-18 14:21:17 +00:00
[email protected] 9e6f597f82 fix compile warnings in nsLocalFileWin, r=dougt bug 239298 2004-04-13 19:30:51 +00:00