546 Commits

Author SHA1 Message Date
mkaply%us.ibm.com
2ae395f27d # 34082
r= dougt
OS/2 bring up continues - support for OS/2 nsLocalFile


git-svn-id: svn://10.0.0.236/trunk@67953 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-02 23:14:31 +00:00
mkaply%us.ibm.com
f32dd26a1b # 34082
r= dougt@netscape.com
OS/2 bring up continues - Adding PR_CALLBACKs for VisualAge Compiler


git-svn-id: svn://10.0.0.236/trunk@67931 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-02 22:38:04 +00:00
cls%seawood.org
7b09f0a0a3 OS/2 Makefile.in tweaks. Batch 10 & 11. Bug #34106
git-svn-id: svn://10.0.0.236/trunk@67813 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-02 01:18:46 +00:00
mkaply%us.ibm.com
aeefaeec2e # 37239
r= dougt@netscape.com
OS/2 bring up continues - xpcom changes - #ifdefs for OS/2


git-svn-id: svn://10.0.0.236/trunk@67765 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-01 22:25:44 +00:00
mkaply%us.ibm.com
0781f6f80c # 37239
r= mkaply@us.ibm.com
OS/2 bring up continues - checking in files for the OS/2 team


git-svn-id: svn://10.0.0.236/trunk@67764 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-01 22:21:43 +00:00
waterson%netscape.com
6f3568569c Get rid of operator==(nsCOMPtr, int) usage because it fries gcc-2.7.2.3's mind with new string stuff. r=scc
git-svn-id: svn://10.0.0.236/trunk@67372 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-27 04:44:56 +00:00
dougt%netscape.com
5a4918cdf1 Patch from Tim Rowley <tor@cs.brown.edu>.
From his email:

Your checkin v1.9 to nsDirectoryService.cpp broke a SUNWspro4.2
debug build of mozilla, causing xpcom to fail initializing.  The
root problem was that nsDirectoryService::Create() was failing.
This appears to a mistake caused by a shadowed copy of the "rv"
variable in that method.  The fix below causes the SUNWspro build
to start up normally.

Not sure why this didn't break other platforms.


git-svn-id: svn://10.0.0.236/trunk@67292 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-26 21:37:45 +00:00
ftang%netscape.com
823c799e12 check in fix for 37106. r=ftang. patched proposed by m_kato@ga2.so-net.ne.jp
handle 0x5C properly by calling DBCSIsLeadByte function


git-svn-id: svn://10.0.0.236/trunk@67185 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-26 03:57:34 +00:00
dougt%netscape.com
a58aa50a52 Fixes problems in local file where getting a parent of a non-existant file did not work.
Fixes a problem if you tried to create a folder and it parents did not exist. 
Fixes a problem if you had a initialized with a FSSpec which was not resolved complete and you tried to add a relative path.
Fixing nsInstallFile to use nsIFile:: enums insteads of numbers.

r=sgehani, a=leaf


git-svn-id: svn://10.0.0.236/trunk@67167 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-26 01:50:24 +00:00
dougt%netscape.com
93f5201c5e missed commenting out two assertions which will cause mac and OS2 users
lots of pain.  r=brade, a=leaf.


git-svn-id: svn://10.0.0.236/trunk@67119 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-25 18:16:16 +00:00
sspitzer%netscape.com
8594a4b43c fix the threadsafe assertion.
git-svn-id: svn://10.0.0.236/trunk@67117 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-25 14:56:59 +00:00
pinkerton%netscape.com
d1aa3a6521 adding a helper to create/init from an FSSpec.
git-svn-id: svn://10.0.0.236/trunk@67069 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-25 04:09:18 +00:00
ssu%netscape.com
9f6aa50f41 fixing bug #36958. No longer makes the installer require a reboot at the end if replacing file that are *not* in use.
git-svn-id: svn://10.0.0.236/trunk@67046 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-25 02:39:42 +00:00
dougt%netscape.com
bf7163c089 checked in warren's patch to remove circular memory leak in directory service
removed strcmp'er in favor of atom compares.
added comments to nsFileSpec indicating that it is no longer supported.


git-svn-id: svn://10.0.0.236/trunk@67030 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-25 01:48:02 +00:00
dougt%netscape.com
f8f6b08b0c Adding xpcom.currentProcess
git-svn-id: svn://10.0.0.236/trunk@67004 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-24 22:54:04 +00:00
dougt%netscape.com
e60b39313e Fix for bug 35751. Caching type and creator information for nsLocalFileMac. This is so that files can be created with a given type/creator tag after the initialization of the ifile.. r=warren and sfraser.
git-svn-id: svn://10.0.0.236/trunk@66948 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-24 03:24:49 +00:00
scc%netscape.com
22fed30c55 making string conversions explicit
git-svn-id: svn://10.0.0.236/trunk@66850 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-22 08:43:34 +00:00
ftang%netscape.com
2d7bb61d3f fix nsFileSpec unicode interface .
git-svn-id: svn://10.0.0.236/trunk@66760 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-21 21:44:23 +00:00
cls%seawood.org
8a0a3cf145 BeOS uses the Unix local file implementation.
git-svn-id: svn://10.0.0.236/trunk@66737 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-21 21:04:35 +00:00
cls%seawood.org
75402120b8 Removed extra & as suggested by Matthew Z. on m.beos.
git-svn-id: svn://10.0.0.236/trunk@66736 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-21 21:03:56 +00:00
scc%netscape.com
31f1176499 making string conversions explicit
git-svn-id: svn://10.0.0.236/trunk@66670 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-21 07:09:51 +00:00
dbragg%netscape.com
ed0b32600c typo in Manifest file
git-svn-id: svn://10.0.0.236/trunk@66596 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-20 23:06:00 +00:00
dbragg%netscape.com
f8c0450ab3 Oops, forgot nsFileSpec.h
git-svn-id: svn://10.0.0.236/trunk@66589 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-20 22:59:30 +00:00
ftang%netscape.com
26ddc69606 1. small fix on nsLocalFileCommon.cpp to fix unix warrning
2. add unicode methods to nsIFile/nsILocalFile idl
3. add nsLocalFileCommon.cpp to the unix and window makefile


git-svn-id: svn://10.0.0.236/trunk@66583 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-20 22:53:29 +00:00
dbragg%netscape.com
a56b5806c3 Fully implemented the DirectoryService and fixed the Mac nsFileSpecToIFile
git-svn-id: svn://10.0.0.236/trunk@66582 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-20 22:49:18 +00:00
ftang%netscape.com
7fe0360603 first add for nsILocalFile unicode interface wrapper code
not part of the build system yet.


git-svn-id: svn://10.0.0.236/trunk@66529 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-20 05:44:03 +00:00
ftang%netscape.com
d578dffe20 fix 22116. Check in patch from m_kato@ga2.so-net.ne.jp
Perform IsDBCSLeadByte before 0x5c escaping


git-svn-id: svn://10.0.0.236/trunk@66524 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-20 05:08:02 +00:00
dougt%netscape.com
b7617f6ab3 fix for 36266. submitting by koehler@mythrium.com.
git-svn-id: svn://10.0.0.236/trunk@66480 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-20 01:08:53 +00:00
beard%netscape.com
ebfb917075 Compatibility with Universal Headers 3.3 or later. a=leaf
git-svn-id: svn://10.0.0.236/trunk@66470 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-19 22:13:51 +00:00
jdunn%netscape.com
67c52e8eef adding newline - hp bustage
git-svn-id: svn://10.0.0.236/trunk@66449 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-19 14:57:43 +00:00
davidm%netscape.com
782be6b659 28412 metaDataLength is wrong in nsCachedNetData::Deserialize. Add routines to build stream from char* and length
git-svn-id: svn://10.0.0.236/trunk@66416 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-19 04:54:53 +00:00
andreas.otte%primus-online.de
261e05249b fix bug 20891 [Assertion when displaying message], don't try to find a drive in an empty path, r=putterman@netscape.com
git-svn-id: svn://10.0.0.236/trunk@66126 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-16 07:33:25 +00:00
scc%netscape.com
96c417cc61 making string conversions explicit
git-svn-id: svn://10.0.0.236/trunk@66066 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-15 05:23:09 +00:00
warren%netscape.com
298c244142 Fixed AddRef/Release to use NS_ADDREF/NS_RELEASE.
git-svn-id: svn://10.0.0.236/trunk@65801 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-13 09:20:58 +00:00
waqar%netscape.com
65fa28da33 nsIByteArrayInputStream.h files does not exist any more. r=pollmann,a=leaf
git-svn-id: svn://10.0.0.236/trunk@65574 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-10 22:48:27 +00:00
ruslan%netscape.com
03171d1302 Fix nsBinaryStream::ReadStringZ which used to add extra '\0' thus causing
tje string lenth to be off by 1 and all these nasty nsString warnings;
a=leaf,r=smfr


git-svn-id: svn://10.0.0.236/trunk@65436 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-06 21:28:09 +00:00
jim_nance%yahoo.com
8116cad07e Fix for bug 34543. Compile problem under Tru64 Unix.
a=leaf.  This is #ifdefed for Tru64 Unix, but if it causes
bustage and I am not on IRC, you can get me at 919.859.3885


git-svn-id: svn://10.0.0.236/trunk@65382 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-05 22:37:01 +00:00
cls%seawood.org
ac2404dde2 Changes to get the BeOS build running. Patch provided by Yannick Koehler <koehler@mythrium.com> .
git-svn-id: svn://10.0.0.236/trunk@65278 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-05 02:12:26 +00:00
waterson%netscape.com
d759391f64 Making string conversions explicit.
git-svn-id: svn://10.0.0.236/trunk@65179 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-04 09:35:51 +00:00
bruce%cybersight.com
95e7380573 Fixing nsByteArrayInputStream's QueryInterface() to be correct. Need this for a leak fix coming up shortly. r=scc
git-svn-id: svn://10.0.0.236/trunk@65136 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-04 04:16:07 +00:00
mkaply%us.ibm.com
091b7a6039 # 33860
r= mkaply@us.ibm.com
OS/2 bringup


git-svn-id: svn://10.0.0.236/trunk@65090 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-04 00:07:04 +00:00
davidm%netscape.com
e00bc7a42e 27857 nsIFile - MAC not completely implemented
git-svn-id: svn://10.0.0.236/trunk@64981 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-03 01:54:22 +00:00
davidm%netscape.com
92fc885fc2 First Checked In.
git-svn-id: svn://10.0.0.236/trunk@64978 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-03 01:50:18 +00:00
scc%netscape.com
15e1919c91 not sure if this is the _best_ way to solve the problem, but I added a c-string version of |NS_NewStringInputStream|, which can't use overloading since it's |extern "C"|, so I named it |NS_NewCStringInputStream|.
git-svn-id: svn://10.0.0.236/trunk@64905 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-01 22:27:03 +00:00
blizzard%redhat.com
8a643c4e4d checkin patches to implement nsILocalFile::GetDiskSpaceAvailable from Jason Eager and nsIFile::GetParent from pavlov. r=pavlov,blizzard,dougt. a=dougt
git-svn-id: svn://10.0.0.236/trunk@64890 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-01 20:07:14 +00:00
scc%netscape.com
28db414fa4 making string conversions explicit
git-svn-id: svn://10.0.0.236/trunk@64827 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-01 00:39:02 +00:00
warren%netscape.com
9fa657f1cd Necko API changes: primarily nsIChannel, changing initialization parameters to accessors. Got javascript: evaluation to happen at the right time (when AsyncRead is called) as well as on the right thread.
git-svn-id: svn://10.0.0.236/trunk@64449 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-29 03:58:50 +00:00
jband%netscape.com
de356b636c if people are going to insert four space tabs then let's set the Mode line's tab-width correctly
git-svn-id: svn://10.0.0.236/trunk@64327 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-28 05:01:05 +00:00
sgehani%netscape.com
b99e4be772 Fixing nsIFile::SetLastModificationDate on Win32.
b = 12368
r = dbragg


git-svn-id: svn://10.0.0.236/trunk@64307 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-28 03:39:02 +00:00
sgehani%netscape.com
2415a388e9 Implemented nsIFile::SetLastModificationDate on the Mac.
b = 12368
r = dbragg


git-svn-id: svn://10.0.0.236/trunk@64242 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-27 22:05:54 +00:00