26 Commits

Author SHA1 Message Date
pete%alphanumerica.com
76dbb12d7a r=dougt
This file is very old and very outdated. Please use jslib for local file i/o
jslib.mozdev.org.

Not part of the build

--pete


git-svn-id: svn://10.0.0.236/trunk@113384 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-01 00:30:25 +00:00
timeless%mac.com
535b6f20f2 Bugzilla Bug 107823 change nsIFile
to use 'Modified' instead of 'Modification'
r=akkana sr=brendan


git-svn-id: svn://10.0.0.236/trunk@108891 18797224-902f-48f8-a5cc-f745e15eee43
2001-11-26 08:05:05 +00:00
pete%alphanumerica.com
3c4492f3e0 b=107823, r=ccarlen, sr=brendan
--pete


git-svn-id: svn://10.0.0.236/trunk@106886 18797224-902f-48f8-a5cc-f745e15eee43
2001-11-01 00:11:15 +00:00
gerv%gerv.net
13afb6d0f9 Relicensing Round 1, Take 2. Most C-like NPL files -> NPL/GPL/LGPL. Bug 98089.
git-svn-id: svn://10.0.0.236/trunk@104119 18797224-902f-48f8-a5cc-f745e15eee43
2001-09-28 20:14:13 +00:00
dougt%netscape.com
175245e2de Relanding Necko Changes.
Revising nsIChannel to allow for overlapped i/o. This consists of three parts:

1. Factoring nsIChannel into a protocol specific part, the nsIChannel, and a socket specific, the nsITransport.
2. Derive the nsIChannel from a nsIRequest.
2. Changes the notification system from necko and the URILoader to pass the nsIRequest interface instead of nsIChannel interface.

This goal stems from wanting to be able to have active AsyncRead and AsyncWrite operations on nsSocketTransport.
This is desired because it would greatly simplify the task of maintaining persistent/reusable socket connections
for FTP, HTTP, and Imap (and potentially other protocols). The problem with the existing nsIChannel interface is
that it does not allow one to selectively suspend just one of the read or write operations while keeping the other active.

r=darin@netscape.com
sr=rpotts@netscape.com


git-svn-id: svn://10.0.0.236/trunk@87587 18797224-902f-48f8-a5cc-f745e15eee43
2001-02-21 20:38:08 +00:00
disttsc%bart.nl
03f69c5003 Back out dougt's channel changes
git-svn-id: svn://10.0.0.236/trunk@86793 18797224-902f-48f8-a5cc-f745e15eee43
2001-02-12 03:14:23 +00:00
dougt%netscape.com
7af79c83df Revising nsIChannel to allow for overlapped i/o. This consists of three parts:
1. Factoring nsIChannel into a protocol specific part, the nsIChannel, and a socket specific, the nsITransport.
2. Derive the nsIChannel from a nsIRequest.
2. Changes the notification system from necko and the URILoader to pass the nsIRequest interface instead of nsIChannel interface.

This goal stems from wanting to be able to have active AsyncRead and AsyncWrite operations on nsSocketTransport.
This is desired because it would greatly simplify the task of maintaining persistent/reusable socket connections
for FTP, HTTP, and Imap (and potentially other protocols).  The problem with the existing nsIChannel interface is
that it does not allow one to selectively suspend just one of the read or write operations while keeping the other active.

The full details of the change on written up in the netlib newsgroup.

r=darin@netscape.com
sr=rpotts@netscape.com


git-svn-id: svn://10.0.0.236/trunk@86717 18797224-902f-48f8-a5cc-f745e15eee43
2001-02-10 00:16:26 +00:00
rayw%netscape.com
d9228441a4 Bug 37275, Changing value of all progids, and changing everywhere a progid
is mentioned to mention a contractid, including in identifiers.

r=warren


git-svn-id: svn://10.0.0.236/trunk@79036 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-13 23:57:52 +00:00
pete%alphanumerica.com
ea81e7b701 cleaned up and added two more functions
a=brendan


git-svn-id: svn://10.0.0.236/trunk@78740 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-11 16:50:44 +00:00
pete%alphanumerica.com
51d1187a01 added two more functions:
permissions and dateModified

did some style cleanup and tested out each function

a=brendan

--pete


git-svn-id: svn://10.0.0.236/trunk@78071 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-03 13:37:19 +00:00
pete%alphanumerica.com
ad396e1f54 Ah! found one more undeclared variable.
r=dougt

--pete


git-svn-id: svn://10.0.0.236/trunk@77488 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-29 20:05:19 +00:00
pete%alphanumerica.com
feb303e9a6 fixing a bunch of member functions that were not returning values etc . .
that i found running in strict mode.

cleaned up some of the syntax to make Brendan happy.

r=dougt

--pete


git-svn-id: svn://10.0.0.236/trunk@77474 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-29 13:02:02 +00:00
pete%alphanumerica.com
bc20147f63 just an update to reflect the interCaps API style changes
I also caught a small error running in js strict mode.

r=dougt

--pete


git-svn-id: svn://10.0.0.236/trunk@77314 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-26 22:56:35 +00:00
pete%alphanumerica.com
47f1260e9d Fixed problem i was having returning array from readDir member function.
Thanks jband for the fix.

not part of the build

r=jband

--pete


git-svn-id: svn://10.0.0.236/trunk@76439 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-16 13:35:13 +00:00
pete%alphanumerica.com
3b3c182ed7 moving APPEND comment. Wrong spot.
r=dougt

--pete


git-svn-id: svn://10.0.0.236/trunk@76329 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-15 13:14:51 +00:00
pete%alphanumerica.com
fbc81cccf5 added readDir(dirPath) member function.
Also fixed a small bug in copy to return if the source file is a dir.
r=dougt

--pete


git-svn-id: svn://10.0.0.236/trunk@76328 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-15 12:37:40 +00:00
pete%alphanumerica.com
b4a9e7c39e added two more member functions:
*       9. copy(source, dest);
*       10.leaf(path);

Fixed a bug i found in exists() member function.
Expanded tabs out of file. Tested.
not part of the build.

r=dougt

--pete


git-svn-id: svn://10.0.0.236/trunk@76283 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-14 17:14:29 +00:00
pete%alphanumerica.com
7bf37c93a1 added two member functions to the File object prototype
r=dougt,brendan a=dougt
not part of the build.

--pete


git-svn-id: svn://10.0.0.236/trunk@75347 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-01 22:50:16 +00:00
mkaply%us.ibm.com
5bc9a0d2d2 #42637
r=valeski, a=brendan
OS/2 bringup - Support for OS/2 special system directories


git-svn-id: svn://10.0.0.236/trunk@73324 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-27 21:23:51 +00:00
dougt%netscape.com
5e1c69c466 adding helper source. Not part of built.
git-svn-id: svn://10.0.0.236/trunk@73144 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-24 02:01:29 +00:00
pete%alphanumerica.com
21978cfb33 r=dougt,brendan a=dougt
not part of the build.

--pete


git-svn-id: svn://10.0.0.236/trunk@72308 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-15 13:16:49 +00:00
brendan%mozilla.org
f4d76ea285 Enforce interCaps Mozilla XPIDL style (r=shaver).
git-svn-id: svn://10.0.0.236/trunk@69760 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-15 07:03:46 +00:00
dougt%netscape.com
6065732034 adding dirs.js. example of how you can get different locations via the
nsDirectoryService via JS.

not part of build.


git-svn-id: svn://10.0.0.236/trunk@69250 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-11 20:58:47 +00:00
dougt%netscape.com
adcf7dec28 Adding a rename test.
git-svn-id: svn://10.0.0.236/trunk@64000 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-24 05:48:18 +00:00
dougt%netscape.com
714da09a59 Landing nsIFile.
git-svn-id: svn://10.0.0.236/trunk@58490 18797224-902f-48f8-a5cc-f745e15eee43
2000-01-24 21:28:28 +00:00
dougt%netscape.com
e273b1a9c4 *** empty log message ***
git-svn-id: svn://10.0.0.236/trunk@56701 18797224-902f-48f8-a5cc-f745e15eee43
2000-01-04 00:50:08 +00:00