Sebastian Hengst
dcd9914458
Backed out changeset c8fe57b085bd (bug 1333631)
2017-01-30 23:17:34 +01:00
Masatoshi Kimura
835c70f82e
Bug 1333631 - Disallow nsIFile::GetNativeTarget on Windows. r=froydnj
...
MozReview-Commit-ID: 4igXHPtQu4x
--HG--
extra : rebase_source : b65e458521270500a7f9054d63ee17d162918402
2017-01-25 23:36:50 +09:00
Nicholas Nethercote
880da46719
Bug 1296164 (part 3) - Use [must_use] on more nsIFile things. r=froydnj.
...
These ones don't require any extra checks to be added.
--HG--
extra : rebase_source : d13aa304f930d5250462813d32c67747f4ce4b30
2016-08-18 16:43:28 +10:00
Nicholas Nethercote
8f84642d03
Bug 1296164 (part 2) - Use [must_use] on nsIFile.open{NSPR,ANSI}FileDesc(). r=froydnj.
...
The patch also changes RemoteOpenFileChild::OpenNSPRFileDesc() so that it
cannot succeed with a null fd, so that checking just the return value is
sufficient.
--HG--
extra : rebase_source : cc40bbcf2a9991edc9d3da3fb624d27db50b4996
2016-08-18 15:27:16 +10:00
Nicholas Nethercote
04be8d005a
Bug 1296164 (part 1) - Use [must_use] on nsIFile.{create,createUnique}. r=froydnj.
...
And fix numerous missing checks that this change identifies.
--HG--
extra : rebase_source : 97b0a6e8f9375c937dadb59c1110bb54b7633134
2016-08-18 13:30:12 +10:00
Boris Zbarsky
bf8f45932e
Bug 1175600. Add getRelativePath/setRelativePath to nsIFile. r=froydnj
2015-06-17 16:17:20 -04:00
Neil Rashbrook
cf42e317ab
Bug 1155963 Only allow NS_LITERAL_CSTRING to be used on compile-time literals r=froydnj,ehsan
2015-05-16 09:07:10 +01:00
Wes Kocher
3c714c42eb
Backed out changeset 17cfad44e12b (bug 1155963) for breaking b2g builds
2015-05-14 16:35:18 -07:00
Neil Rashbrook
ae441fafa2
Bug 1155963 Only allow NS_LITERAL_CSTRING to be used on compile-time literals r=froydnj,ehsan
2015-05-15 00:00:33 +01:00
Bill McCloskey
a9569d4725
Bug 997325 - Implement main process scriptable only flag in XPIDL (r=mrbkap)
2015-03-26 14:39:48 -07:00
Igor Kolupaev
89db128641
Bug 997141 - Remove the recur parameter from nsIFile::Contains(). r=bsmedberg
2014-05-07 23:03:41 +03:00
Yuan Xulei
41a99188eb
Bug 956646 - Add renameTo to nsIFile interface. r=bsmedberg
2014-01-06 16:51:39 +08:00
Ehsan Akhgari
c8d51e9ce2
Bug 919341 - Minimize the #includes in xpcom/ IDL files; r=bsmedberg
2013-09-23 13:29:27 -04:00
Jim Blandy
c0a631fad9
Bug 892114: Add support for Unix domain sockets to nsIServerSocket.idl and @mozilla.org/network/server-socket;1. r=mayhemer
2013-09-06 08:06:23 -07:00
Jim Blandy
b8289518e2
Bug 892114: Whitespace and spelling fixes encountered while working on Unix domain socket support. r=mayhemer
2013-09-06 08:06:23 -07:00
Maria Grazia Alastra
45c0af14f9
Bug 331566 - Change idl interfaces to use @throws instead of @return NS_. r=bsmedberg
2013-05-16 08:26:55 -04:00
Ehsan Akhgari
8e702f60c5
Backed out 2 changesets (bug 579517)
...
Backed out changeset 5298adc70963
Backed out changeset 86ccf7c918ce (bug 579517)
2012-10-25 12:32:24 -04:00
Ehsan Akhgari
f3c0ac7a23
Code hygiene: don't use PR_TRUE and PR_FALSE, and use stdint types instead of PRInt types (no bug really, but you could say bug 579517)
2012-10-25 11:48:19 -04:00
Chris Pearce
d7f1641d0d
Bug 785662 - Add NS_OpenAnonymousTemporaryFile(), and use it in nsMediaCache::Init(). r=roc
...
--HG--
rename : xpcom/io/nsMediaCacheRemover.cpp => xpcom/io/nsAnonymousTemporaryFile.cpp
2012-09-25 12:50:30 +12:00
Ed Morley
1d13562fd1
Backout 9d9d8bf66243 (bug 785662) for mochitest-other leaks on Windows
2012-09-25 13:46:25 +01:00
Chris Pearce
323629e5cb
Bug 785662 - Add NS_OpenAnonymousTemporaryFile(), and use it in nsMediaCache::Init(). r=roc
...
--HG--
rename : xpcom/io/nsMediaCacheRemover.cpp => xpcom/io/nsAnonymousTemporaryFile.cpp
2012-09-25 12:50:30 +12: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
Doug Turner
09b892f270
Bug 759416 - Backout API change part 2. r=dougt
2012-08-17 19:43:00 -07:00
Doug Turner
2c5581b199
Bug 759416 - Backout API change. r=dougt
2012-08-17 19:43:00 -07:00
Paul Dagnelie
056dbff7ae
Bug 759416 - XPCOM FileWatcherService. Interface change only. Patch to previous interface changes. sr=bsmedberg
2012-08-07 12:07:27 -07:00
Doug Turner
c75d9afe6d
Bug 759416 - XPCOM FileWatcherService. Interface and stub impl. r=dougt
2012-08-01 23:29:34 -07: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
Geoff Lankow
5f83fb3fab
Bug 682360 - Merge nsILocalFile and nsIFile interfaces; r=bsmedberg
2012-04-04 23:04:37 +12:00
Mitchell Field
d0f35f6883
Remove @status FROZEN and @status UNDER_REVIEW. r=bsmedberg
...
--HG--
extra : rebase_source : 7fab31a6b7898e05ff828482390846cc9ce2854d
2010-07-02 10:27:06 -04:00
Robert O'Callahan
f4aea6aa03
Bug 482942. Tests for nsILocalFile implementations. Also changes nsLocalFileUnix::MoveTo to update the object to refer to the destination, matching other platforms' behaviour. r=bsmedberg
...
--HG--
rename : xpcom/tests/nsIFileTest.cpp => xpcom/tests/TestFile.cpp
2009-03-24 13:44:37 +13:00
joshmoz%gmail.com
f94613b36d
remove XP_MAC from xpcom. b=281889 r=bsmedberg
2006-11-16 09:10:09 +00:00
bsmedberg%covad.net
7e03c0b224
Bug 288626 - Switch the strict API from opt-in (MOZILLA_STRICT_API) to opt-out (MOZILLA_INTERNAL_API) r=darin
2005-04-06 03:35:24 +00:00
gerv%gerv.net
31625ba2b1
Bug 236613: change to MPL/LGPL/GPL tri-license.
2004-04-18 14:21:17 +00:00
neeti%netscape.com
3a6bc812ca
fix for bug 150156 - nsIFile's moveTo method does not overwrite existing files,r=dougt@netscape.com, sr=brendan@mozilla.org
2002-11-13 14:04:51 +00:00
dougt%netscape.com
20cb222459
landing 172512. nsEmbedString for component developers and embeders. r=alec, sr=jag/darin, a=asa@mozilla.org
2002-10-17 23:41:47 +00:00
dougt%netscape.com
92068ae7e2
bug 150165 patch by t.bugz@lament.cjb.net r=bbaetz sr=shaver a=valeski fix typo - [noscrpit] was used instead of [noscript]
2002-06-13 20:13:17 +00:00
dougt%netscape.com
913bbb6f6c
Fixes bugs 149745 148918 149715 149730 149754 129959. Cleanup of nsIFile and nsILocalFile interfaces, supporting do_GetInterface in embedding via xcom glue, and general cleanup of shutdown. r=various, sr=shaver@mozilla.org
2002-06-11 19:26:04 +00:00
darin%netscape.com
838fb89c78
freezing nsIFile/nsILocalFile API (b=129279)
...
r=dougt sr=alecf
2002-05-13 22:55:29 +00:00
darin%netscape.com
6fd5862e6e
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
98fb4cb449
fixing documentation bug (r=ccarlen)
2002-05-06 22:45:30 +00:00
darin%netscape.com
7b515efbd9
documentation cleanup for nsIFile/nsILocalFile API changes (no code changes)
2002-05-03 06:01:29 +00:00
darin%netscape.com
e554d83626
fixes bug 129279 "nsIFile unicode/utf8/ascii task"
...
r=dougt sr=alecf
2002-04-27 05:33:09 +00:00
dougt%netscape.com
5499fc7062
99160. Moving utility functions into a seperate header. r=jband, sr=rpotts, a=brendan
2002-03-20 00:34:17 +00:00
dougt%netscape.com
5aa32ad0fc
fixing a comment a=dbaron. bug 124002
2002-03-08 00:05:34 +00:00
dougt%netscape.com
dcab435cdf
Backing out nsIFile changes which should not have landed.
2002-01-29 21:42:38 +00:00
dougt%netscape.com
c50ca402ad
1. Converts callers of nsIComponentManagerObsolete to use
...
nsIComponentRegistrar.
2. Converts callers of nsComponentManager::AutoRegister to use
nsIComponentRegistrar's autoRegistrar method.
3. Add nsIComponentRegistrar implmentation to nsComponentManagerImpl.
4. Rearrange nsComponentManager.cpp so that related methods are in the same
place.
5. Added a C-style function NS_GetComponentRegistrar so that getting the
registrar is easier in some places.
6. Added a nsISimpleEnumerator interface on PLDHashTableEnumeratorImpl. in
this way, the same base class can support both old style and new style
enumerations.
7. Fixed a nasty bug where unregistring factories will leave the contract id
hash with a dangling pointer. Now, when unregister is called we search the
contract id hash for entries which have the given doomned cid and remove them.
Bug 115853. r=dp@netscape.com , sr=rpotts@netscape.com
2002-01-29 21:22:13 +00:00
alecf%netscape.com
63991ddfde
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
pete%alphanumerica.com
efee7eec18
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