serge-sans-paille
580a244ae7
Bug 1774864 - Cleanup xpcom/ includes r=sylvestre
...
Differential Revision: https://phabricator.services.mozilla.com/D149671
2022-06-24 07:13:59 +00:00
Andrew McCreight
fa8bfd1245
Bug 1514936, part 2 - Drop the outer arguments from static components. r=xpcom-reviewers,nika
...
Differential Revision: https://phabricator.services.mozilla.com/D146457
2022-05-17 20:24:19 +00:00
Jan Varga
1a3d2b084c
Bug 1735717 - Add a way for getting information about total disk space (disk capacity); r=dom-storage-reviewers,jari,xpcom-reviewers,nika
...
Differential Revision: https://phabricator.services.mozilla.com/D130640
2021-12-08 14:41:38 +00:00
Gijs Kruitbosch
bcbf4ea5cd
Bug 1714583 - allow nsIFile::Create to skip creating ancestor directories, to fix IOUtils::makeDirectory, to fix UNC default download folders, r=barret,xpcom-reviewers,mccr8
...
Differential Revision: https://phabricator.services.mozilla.com/D120338
2021-07-21 18:38:12 +00:00
Barret Rennie
e0e9d2d31b
Bug 1660841 - Provide file creation time via nsIFile::creationTime{,ofLink} r=nika
...
Differential Revision: https://phabricator.services.mozilla.com/D96889
2020-12-03 04:10:47 +00:00
Mike Hommey
a60555aa8c
Bug 1664077 - Move statvfs-related defines from nsLocalFileUnix.h to .cpp. r=sg
...
They are not needed anywhere else than the .cpp, and can cause problems
from the additional includes they pull.
Differential Revision: https://phabricator.services.mozilla.com/D90205
2020-09-15 14:53:07 +00:00
Keefer Rourke
53c14a2428
Bug 1657663: Improve timestamp precision for nsLocalFileUnix r=froydnj,barret
...
This change updates the unix implementation of nsLocalFile
Set/GetLastModifiedTime methods to improve the precision of file modification
times from a 1 second resolution to a 1 millisecond resolution.
Differential Revision: https://phabricator.services.mozilla.com/D86238
2020-08-26 15:32:15 +00:00
Razvan Maries
ff54551a34
Backed out 12 changesets (bug 1660328, bug 1660015
, bug 1649595, bug 1649596, bug 1649593, bug 1659176, bug 1659839, bug 1659838, bug 1657663, bug 1657647, bug 1655460) for xpcshell perma failures. CLOSED TREE
...
Backed out changeset ff95badf90e3 (bug 1660328)
Backed out changeset a92f8525ab6f (bug 1659176)
Backed out changeset 8ca05470a0d5 (bug 1659839)
Backed out changeset 5de389b735d3 (bug 1649596)
Backed out changeset 73bdddd96664 (bug 1649595)
Backed out changeset 59800d609b55 (bug 1659838)
Backed out changeset 8aca41723313 (bug 1649593)
Backed out changeset dc0d90b3e135 (bug 1657647)
Backed out changeset e3dd5b6b4fbd (bug 1657663)
Backed out changeset f9c823fa14ba (bug 1657663)
Backed out changeset a5aecc7a6469 (bug 1655460)
Backed out changeset 21b64ef30e12 (bug 1660015
)
2020-08-26 06:35:20 +03:00
Keefer Rourke
c438dddf23
Bug 1657663: Improve timestamp precision for nsLocalFileUnix r=froydnj,barret
...
This change updates the unix implementation of nsLocalFile
Set/GetLastModifiedTime methods to improve the precision of file modification
times from a 1 second resolution to a 1 millisecond resolution.
Differential Revision: https://phabricator.services.mozilla.com/D86238
2020-08-24 15:41:07 +00:00
Razvan Maries
abf299d7f6
Backed out changeset 60059f7d5c46 (bug 1657663) for perma failures on test_schema_change.js. CLOSED TREE
2020-08-10 22:55:35 +03:00
Keefer Rourke
148dabd639
Bug 1657663: Improve timestamp precision for nsLocalFileUnix r=froydnj,barret
...
This change updates the unix implementation of nsLocalFile
Set/GetLastModifiedTime methods to improve the precision of file modification
times from a 1 second resolution to a 1 millisecond resolution.
Differential Revision: https://phabricator.services.mozilla.com/D86238
2020-08-10 17:50:23 +00:00
Simon Giesecke
30984f7bab
Bug 1613985 - Use default for equivalent-to-default constructors/destructors in xpcom. r=froydnj
...
Differential Revision: https://phabricator.services.mozilla.com/D62543
--HG--
extra : moz-landing-system : lando
2020-02-12 11:13:33 +00:00
Boris Zbarsky
92f7b5dd5e
Bug 1539716. Remove nsIHashable. r=froydnj
...
It's dead code.
Differential Revision: https://phabricator.services.mozilla.com/D25190
--HG--
extra : moz-landing-system : lando
2019-03-28 13:07:05 +00:00
Ehsan Akhgari
e5e885ae31
Bug 1521000 - Part 2: Adjust our clang-format rules to include spaces after the hash for nested preprocessor directives r=sylvestre
...
# ignore-this-changeset
--HG--
extra : amend_source : 7221c8d15a765df71171099468e7c7faa648f37c
extra : histedit_source : a0cce6015636202bff09e35a13f72e03257a7695
2019-01-18 10:16:18 +01:00
Sylvestre Ledru
265e672179
Bug 1511181 - Reformat everything to the Google coding style r=ehsan a=clang-format
...
# ignore-this-changeset
--HG--
extra : amend_source : 4d301d3b0b8711c4692392aa76088ba7fd7d1022
2018-11-30 11:46:48 +01:00
Masatoshi Kimura
4872102e9d
Bug 1428557 - Stop using GetNativePath in xpcom/. r=froydnj
...
MozReview-Commit-ID: GnSFQ1wprzb
--HG--
extra : rebase_source : 7c25e0361d7f4e8aea730672a931cf78a581e062
extra : intermediate-source : e055aee7306b6636d27abe6fc0b02012b0075260
extra : source : d0831f473c8f85996c106693c9a4ce3783dd9447
2017-12-15 06:53:37 +09:00
Masatoshi Kimura
a321c5d13e
Bug 1433265 - Remove ShortcutResolver from nsLocalFileWin.cpp. r=froydnj
...
MozReview-Commit-ID: GeFCZI3OkuQ
--HG--
extra : rebase_source : 4a9868f82ae1143e7a31853641f5b5625ac21327
2018-01-31 20:56:17 +09:00
Masatoshi Kimura
06311d2e3a
Bug 1375125 - Remove nsILocalFile. r=froydnj
...
MozReview-Commit-ID: 6oU6Ya5UXtC
--HG--
extra : rebase_source : 55b6e30aa348c1b939326698b0da7d72c26b479c
2017-08-05 09:43:49 +09:00
Ted Mielczarek
5ad09caf62
bug 1171124 - Swap some XP_MACOSX for XP_DARWIN in nsLocalFileUnix. r=froydnj
...
--HG--
extra : commitid : 3q0r3528Awn
extra : rebase_source : 2e959724508569d186623ab88b8b532e539caaba
2015-02-04 10:49:45 -05:00
Ehsan Akhgari
883849ee32
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
488f6b602e
Bug 995730 - Fix style violations in xpcom/io/. r=froydnj
2014-05-14 23:15:46 +03:00
Birunthan Mohanathas
51bcf8d525
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
4ae9d6c832
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
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
Jan Beich
f671485550
Bug 784124 - Remove OS X sanity check, F_BSIZE should reduce ambiguity. r=bz
2012-08-29 17:00:10 -04:00
Jan Beich
2a0e5d8956
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
e87b0409af
Bug 784124 - Always use .f_frsize with statvfs(). r=karlt
2012-08-29 17:00:10 -04:00
Jan Beich
6006c05043
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
2629c7f9ba
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
f98b655f28
Bug 784124 - FreeBSD supports statvfs(2) since 5.0. r=bsmedberg
2012-08-29 17:00:09 -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
Ms2ger
75ab7efb95
Bug 780387 - Part b: Stop using PRIntn; r=bsmedberg
2012-08-09 09:09:40 +02:00
Ehsan Akhgari
df3797a6e7
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
82ff7027aa
Bug 716478 - update licence to MPL 2.
2012-05-21 12:12:37 +01:00
Hanspeter Niederstrasser
f24f7e2c2b
Bug 691133 - xpcom: fails to build darwin/x11. r=smichaud
2011-10-14 10:43:35 -05: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
Matheus Kerschbaum
8a4cb927fd
Bug 678155 - Remove NS_COM. r=bsmedberg
2011-08-18 15:46:39 +02:00
Boris Zbarsky
35d48181bb
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
45cb20c144
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
77db992206
Backed out changeset f6c93f02146c, bug 571193.
2010-07-16 20:31:24 -04:00
Josh Aas
e2c39ae137
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
c611ebcd81
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
bce9503f5c
Bug 526457. Fix AIX compilation. r=bsmedberg
2010-03-15 14:43:16 +13:00
Nils Maier
7f26a51c51
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
39fa2b5f9e
Get rid of fundamentally flawed UNIX stat cache. b=456435 r=smichaud sr=dougt
2008-09-30 02:06:18 -04:00
Mike Hommey
09052f844e
Bug 278738 – file:// directory not shown containing a file larger than 2GB. r=bsmedberg
2008-08-06 13:09:44 +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
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