Boris Zbarsky
22d515e870
Bug 1539716. Remove nsIHashable. r=froydnj
...
It's dead code.
Differential Revision: https://phabricator.services.mozilla.com/D25190
2019-03-28 13:07:05 +00:00
Ehsan Akhgari
498e2df734
Bug 1521000 - Part 2: Adjust our clang-format rules to include spaces after the hash for nested preprocessor directives r=sylvestre
...
# ignore-this-changeset
2019-01-18 10:16:18 +01:00
Sylvestre Ledru
e5a134f73a
Bug 1511181 - Reformat everything to the Google coding style r=ehsan a=clang-format
...
# ignore-this-changeset
2018-11-30 11:46:48 +01:00
Masatoshi Kimura
09338299a8
Bug 1428557 - Stop using GetNativePath in xpcom/. r=froydnj
...
MozReview-Commit-ID: GnSFQ1wprzb
2017-12-15 06:53:37 +09:00
Masatoshi Kimura
373dd8e253
Bug 1433265 - Remove ShortcutResolver from nsLocalFileWin.cpp. r=froydnj
...
MozReview-Commit-ID: GeFCZI3OkuQ
2018-01-31 20:56:17 +09:00
Masatoshi Kimura
012500cff8
Bug 1375125 - Remove nsILocalFile. r=froydnj
...
MozReview-Commit-ID: 6oU6Ya5UXtC
2017-08-05 09:43:49 +09:00
Ted Mielczarek
7460ae9887
bug 1171124 - Swap some XP_MACOSX for XP_DARWIN in nsLocalFileUnix. r=froydnj
2015-02-04 10:49:45 -05:00
Ehsan Akhgari
ea41d8de48
Bug 1145631 - Part 1: Replace MOZ_OVERRIDE and MOZ_FINAL with override and final in the tree; r=froydnj
...
This patch was automatically generated using the following script:
function convert() {
echo "Converting $1 to $2..."
find . \
! -wholename "*/.git*" \
! -wholename "obj-ff-dbg*" \
-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 MOZ_OVERRIDE override
convert MOZ_FINAL final
2015-03-21 12:28:04 -04:00
Birunthan Mohanathas
10838f95c7
Bug 995730 - Fix style violations in xpcom/io/. r=froydnj
2014-05-14 23:15:46 +03:00
Birunthan Mohanathas
b7e2587f32
Bug 995730 - Change xpcom/io/ to use 2 space indentation
...
This also removes trailing whitespace in reindented files.
2014-05-05 20:30:43 +03:00
Josh Aas
0e3c22192a
Bug 786118: Use 'stat' and 'lstat' instead of 'stat64' and 'lstat64' on OS X. The '*64' functions are deprecated, regular 'stat' and 'lstat' are 64-bit capable. r=bsmedberg
2013-10-09 01:01:27 -05:00
Joshua Cranmer
1c073a2540
Bug 884061 - Part 3y: Use NS_DECL_THREADSAFE_ISUPPORTS in xpcom/, r=bsmedberg
2013-07-18 21:31:26 -05:00
Jan Beich
33139fb1e6
Bug 784124 - Remove OS X sanity check, F_BSIZE should reduce ambiguity. r=bz
2012-08-29 17:00:10 -04:00
Jan Beich
cd79bfca1d
Bug 784124 - Don't use statvfs() on Linux and Tru64, it's buggy. r=karlt
2012-08-29 17:00:10 -04:00
Jan Beich
8e77ba5442
Bug 784124 - Always use .f_frsize with statvfs(). r=karlt
2012-08-29 17:00:10 -04:00
Jan Beich
0c99e2fa25
Bug 784124 - Let it reach NS_ERROR_NOT_IMPLEMENTED if stat(v)fs is not available. r=bsmedberg
2012-08-29 17:00:10 -04:00
Jan Beich
401da3c3d2
Bug 784124 - Properly check for stat(v)fs, only used by XPCOM implementation. r=bsmedberg
2012-08-29 17:00:10 -04:00
Jan Beich
622bd6a35e
Bug 784124 - FreeBSD supports statvfs(2) since 5.0. r=bsmedberg
2012-08-29 17:00:09 -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
Ms2ger
c8ea20cf42
Bug 780387 - Part b: Stop using PRIntn; r=bsmedberg
2012-08-09 09:09:40 +02:00
Ehsan Akhgari
6c1914b71f
Bug 758992 - Make the classes which use the XPCOM nsISupports implementation macros final, to avoid the warning about deleting using a pointer to a base class with virtual functions and no virtual dtor (XPCOM parts); r=bsmedberg
2012-06-05 19:51:58 -04:00
Gervase Markham
cb6a072c2a
Bug 716478 - update licence to MPL 2.
2012-05-21 12:12:37 +01:00
Hanspeter Niederstrasser
85fcc021e2
Bug 691133 - xpcom: fails to build darwin/x11. r=smichaud
2011-10-14 10:43:35 -05: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
Matheus Kerschbaum
44209e0bdf
Bug 678155 - Remove NS_COM. r=bsmedberg
2011-08-18 15:46:39 +02:00
Boris Zbarsky
f09ab8ed3a
Bug 626259. Use the right statvfs fields for determining disk size. r=josh, a=blocker
2011-01-18 21:20:35 -05:00
Josh Aas
fe7f112300
Bug 571193. Move Mac OS X to UNIX filesystem code shared with Linux. Also fixes bug 506812, bug 528447, bug 530188. r=benwa sr=bsmedberg
2010-07-21 23:25:24 -04:00
Josh Aas
cb5c5603eb
Backed out changeset f6c93f02146c, bug 571193.
2010-07-16 20:31:24 -04:00
Josh Aas
c94755ad9d
Bug 571193. Move Mac OS X to UNIX filesystem code shared with Linux. Also fixes bug 506812, bug 528447, bug 530188. r=benwa sr=bsmedberg CLOSED TREE
2010-07-16 18:35:59 -04:00
Benjamin Smedberg
0e824d90bb
Bug 568691 part A - register static and binary components using data tables rather than programmatic nsIComponentRegistrar methods. This part contains the important needs-review bits of the change: part B contains the mechanical changes to each module in order to actually get a working build. Part C will contain changes necessary to register JS components from .manifest files
2010-06-10 14:11:11 -04:00
Uli Link
6db42bc856
Bug 526457. Fix AIX compilation. r=bsmedberg
2010-03-15 14:43:16 +13:00
Nils Maier
e1e2677d37
Bug 389087 - nsILocalFileUnix affected by 32bit stat/statvfs/truncate, therefore does not work with large files; r+sr=benjamin
2009-04-16 14:09:21 +02:00
Josh Aas
aac27e1339
Get rid of fundamentally flawed UNIX stat cache. b=456435 r=smichaud sr=dougt
2008-09-30 02:06:18 -04:00
Mike Hommey
8f0a126947
Bug 278738 – file:// directory not shown containing a file larger than 2GB. r=bsmedberg
2008-08-06 13:09:44 +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
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
[email protected]
ecab683408
Bug 316732 - Allow for hashing on nsIFile by introducing a new nsIHashable interface and implementing it for the file types r=darin
2005-11-18 14:18:49 +00:00
[email protected]
c0cd46fc51
Bug 236613: change to MPL/LGPL/GPL tri-license.
2004-04-18 14:21:17 +00:00
[email protected]
0cf1c7d776
backing out 240192 patch
2004-04-16 20:10:47 +00:00
[email protected]
29188f1cd5
trying to fix bustage
2004-04-16 19:46:05 +00:00
[email protected]
e8832a28c5
bug 240192, nsLocalFileUnix doesn't work with files larger than 2 GB
...
r+sr=darin
2004-04-16 19:01:58 +00:00
[email protected]
3736b6e206
Bug 229875 - eliminate unnecssary public/virtual destructors. This patch changes all refcounted classes under xpcom/, which aren't inherited from or used on the stack, to have private, nonvirtual destructors. r=dougt, sr=dbaron.
2004-01-15 06:14:18 +00:00
[email protected]
9c4ca41ac2
Bug 122892: nsLocalFile::Clone should preserve stat info.
...
make nsLocalFile* impls use copy constructors for their nsIFile::Clone methods.
This avoids unnecessary |stat| calls inherent in using NS_NewNativeLocalFile.
b=122892, r=dougt, sr=darin, with many thanks to biesi & mkaply for testing on other
plats.
2003-07-18 22:14:16 +00:00
[email protected]
a9723feca4
Bug 187031 [nsLocalFileWin] nsLocalFile::Remove returns os remove values (-1) as nsresults
...
r=dougt sr=darin
2003-06-18 23:19:11 +00:00
[email protected]
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
[email protected]
f14b765ec6
Avoid opening and trying to reopen in CopyTo, so we work on FAT32 filesystems mounted on Linux (e.g.; 134163, r=dougt, sr=waterson).
2002-04-29 23:35:18 +00:00
[email protected]
cdd08719da
fixes bug 129279 "nsIFile unicode/utf8/ascii task"
...
r=dougt sr=alecf
2002-04-27 05:33:09 +00:00
[email protected]
cc7951b2f9
movind implementation of FilleStatCache into nsLocalFileUnix.cpp
...
where other calls to lstat work fine
This is an attempt to fix bustage on some linux platfroms
--pete
2002-01-27 18:02:18 +00:00