Граф коммитов

125 Коммитов

Автор SHA1 Сообщение Дата
Joshua Cranmer 1a6dffc73f Bug 884061 - Part 3y: Use NS_DECL_THREADSAFE_ISUPPORTS in xpcom/, r=bsmedberg
--HG--
extra : rebase_source : d54f6973e3ff859207115013e8361781769ffc76
2013-07-18 21:31:26 -05:00
Andrew Quartey 00edc52f9c Bug 792581 - part 19: Replace LL_I2L macro with int64_t cast. r=ehsan 2012-10-12 13:29:11 -04:00
Andrew Quartey ea5e17dc9c Bug 792581 - part 15: Replace LL_L2I macro with int32_t cast. r=ehsan 2012-10-12 13:29:10 -04:00
Andrew Quartey 2280fd1640 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 58aa97ec8b Bug 792581 - part 12: Replace LL_DIV with division operator. r=ehsan 2012-10-05 01:05:28 -04:00
Nathan Froyd 2a14d9b274 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 bd2885b68c 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 c2fddb8f07 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 65539ef89c Bug 773151: Convert nsCAutoString->nsAutoCString CLOSED TREE r=bsmedberg 2012-09-01 22:35:17 -04:00
Landry Breuil 3f08ff498e Bug 785738 Part 3: use PRTime instead of int64_t where appropriate; r=ehsan 2012-08-30 09:10:35 +02: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 d0ad5a7d0c Bug 777292 part 2 - Change all nsnull to nullptr 2012-07-30 17:20:58 +03:00
Geoff Lankow 5cefea8480 Bug 749930 - Replace uses of nsILocalFile with nsIFile (compiled code only); r=bsmedberg 2012-06-06 14:08:30 +12:00
Gervase Markham 82ff7027aa Bug 716478 - update licence to MPL 2. 2012-05-21 12:12:37 +01:00
Justin Lebar 1fc1dc1879 Bug 729940 - Part 2: Stop using crappy hash functions in Gecko. r=bz
--HG--
extra : rebase_source : 6fa267a89878cc1a766d8618569debcea9b12e48
2012-03-12 18:53:18 -04:00
Michal Novotny 8be81d3052 Bug 681407 - crash nsLocalFile::CopyMove 2011-10-19 13:02:57 +02: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
Walter Meinl ad6f5a9c63 Bug 576606 - [OS/2] Fix registration follow-up to bug568691 r=dragtext
--HG--
extra : rebase_source : ff548f598f1e3e7c7b3b70e1f7d683011b238dd2
2010-07-18 11:22:01 +02:00
Jae-Seong Lee-Russo 082e12c87c Bug 517553: Remove '=='/'!=' 'PR_FALSE'/'PR_TRUE' 2010-02-07 10:52:43 -05:00
Robert O'Callahan fba4c1c3ce Bug 482942. Implement nsILocalFile::DELETE_ON_CLOSE. r=bsmedberg 2009-03-20 09:56:05 +13:00
Neil Rashbrook 13d0229afc Bug 478732 nsLocalFileWin/OS2.cpp's InitWithPath is inefficient r=bsmedberg 2009-03-04 09:48:48 +00:00
Arpad Borsos c72ef7d248 Bug 456388 - Remove PR_STATIC_CALLBACK and PR_CALLBACK(_DECL) from the tree; r+sr=brendan 2008-10-10 17:04:34 +02:00
reed@reedloden.com 466b0b1204 Bug 414901 - "Back out scriptable IO" [p=neil@mozilla.com (Neil Deakin) r+sr=bsmedberg a1.9b3=beltzner] 2008-02-01 18:07:49 -08:00
reed@reedloden.com e599e0db22 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
enndeakin@sympatico.ca a425bb001a Bug 414901, back out scriptable IO api, r+sr=bsmedberg,a=beltzner 2008-01-31 11:18:07 -08:00
mozilla@weilbacher.org 316c205d89 [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
neil@parkwaycc.co.uk 514fdd4b8d 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
mozilla@weilbacher.org e049305b64 [OS/2] Bug 400939: fix crash when using FireFTP with local files without extension, r=mkaply 2007-10-25 13:49:37 -07:00
mozilla@weilbacher.org 55274c8da2 [OS/2] Bug 395576: extension of downloaded files are upper-cased sometimes, r=mkaply 2007-09-16 13:46:35 -07:00
enndeakin@sympatico.ca 8efc7f8e46 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
jwalden@mit.edu 6d7584839a 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
gavin%gavinsharp.com 8d8b9b6e5f Bug 361351: nsIFile.exists() should throw NOT_INITIALIZED if nsIFile is not initialized, patch by Ryan Jones <sciguyryan+bugzilla@gmail.com>, r+sr=darin 2006-12-16 14:55:00 +00:00
mozilla%weilbacher.org 4deb44606c [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
joshmoz%gmail.com e8b317b9f3 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
mozilla%weilbacher.org db68ff7b6c [OS/2] Bug 301367: Tag Files with Source URL, p=Rich Walsh, r=me, sr=darin 2006-06-26 20:40:08 +00:00
mkaply%us.ibm.com 34ffb69148 OS/2 build bustage 2006-04-14 14:02:57 +00:00
mkaply%us.ibm.com 894ebaa6b6 #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
timeless%mozdev.org 1ce5986f6b Bug 106386 Correct misspellings in source code
r=bernd rs=brendan
2006-02-23 09:36:43 +00:00
bsmedberg%covad.net bc63a700d1 Followup to bug 316732 - impls actually have to QI to the interface (pointed out by bz) 2005-11-18 20:12:46 +00:00
mkaply%us.ibm.com a1636b7734 OS/2 version of 316732 2005-11-18 18:54:19 +00:00
darin%meer.net b0aabfef01 fixes bug 308369 "Stop copying stat cache when cloning nsIFile instances" r=josh sr=dougt 2005-09-13 22:08:52 +00:00
mkaply%us.ibm.com aeb5138c89 #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
darin%meer.net fe124c3ced fixes bug 231300 "nsLocalFile::MoveTo is very slow to move directories [Cause of disk trashing (on NT) when clearing cache?]" patch by alfredkayser@nl.ibm.com, r+sr=darin, a=asa 2005-04-27 04:38:21 +00:00
mkaply%us.ibm.com 775f5da9a5 OS/2 build bustage 2005-04-25 13:06:43 +00:00
ben%bengoodger.com d5b6769604 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
ben%bengoodger.com b9725a8b1a 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
mkaply%us.ibm.com 87eabb329c #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
bzbarsky%mit.edu 99df5c71c0 Make people that want empty strings use EmptyC?String(). Bug 232691, patch by
Daniel Kraft <d@daniel-kraft.net>, r=jst, sr=bzbarsky
2005-01-04 19:31:31 +00:00
gerv%gerv.net 31625ba2b1 Bug 236613: change to MPL/LGPL/GPL tri-license. 2004-04-18 14:21:17 +00:00