562 Commits

Author SHA1 Message Date
ssu%netscape.com
3236750692 fixing bug #37457. Xpinstall's File.dirRemove() is now working.
git-svn-id: svn://10.0.0.236/trunk@70107 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-16 22:01:59 +00:00
brendan%mozilla.org
5c4b53af9e Comment grammar and style fixes.
git-svn-id: svn://10.0.0.236/trunk@69758 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-15 06:41:00 +00:00
dp%netscape.com
4bff050def Standalone xpcom.
git-svn-id: svn://10.0.0.236/trunk@69686 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-14 22:46:24 +00:00
scc%netscape.com
be376b8fd8 fix bug #36316
git-svn-id: svn://10.0.0.236/trunk@69472 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-12 23:09:28 +00:00
scc%netscape.com
9e801c011c fix bug #36311
git-svn-id: svn://10.0.0.236/trunk@69471 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-12 23:05:11 +00:00
mkaply%us.ibm.com
770280a67b # 37239
r= mkaply@us.ibm.com
OS/2 bring up continues - OS/2 specific changes


git-svn-id: svn://10.0.0.236/trunk@69426 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-12 19:26:34 +00:00
scc%netscape.com
da0d0ad924 Added "nsStringIO.h" to exports. r=hyatt
git-svn-id: svn://10.0.0.236/trunk@69400 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-12 07:46:13 +00:00
scc%netscape.com
20b669baf3 First Checked In.
git-svn-id: svn://10.0.0.236/trunk@69326 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-12 03:16:35 +00:00
dougt%netscape.com
600b867627 Changes from snizinsk@us.ibm.com
visualage fixes to xpcom for OS/2.


git-svn-id: svn://10.0.0.236/trunk@69302 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-12 01:09:58 +00:00
pavlov%netscape.com
0db5c92501 fix for unix filepicker not coming up correctly (bug #38810)
git-svn-id: svn://10.0.0.236/trunk@69096 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-10 23:41:33 +00:00
nhotta%netscape.com
7ff483a96d Changed to use _mbsrchr instead of strrchr to support double-byte characters on PC (the change is ifdef for XP_PC),
check in for m_kato@ga2.so-net.ne.jp, r=ftang, bug 29546.


git-svn-id: svn://10.0.0.236/trunk@69071 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-10 22:24:22 +00:00
dougt%netscape.com
18a3907030 InitWithPath should not store trailing seperatores in paths. It really is
an error to pass a trailing seperator, but we are just being kind.


git-svn-id: svn://10.0.0.236/trunk@68932 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-09 23:53:03 +00:00
dougt%netscape.com
0c73c63a0b Fixing bustage
git-svn-id: svn://10.0.0.236/trunk@68869 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-09 19:38:20 +00:00
dougt%netscape.com
6ec01981a7 Missed six chars. fixing bustage
git-svn-id: svn://10.0.0.236/trunk@68868 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-09 19:28:55 +00:00
dougt%netscape.com
6036715cd7 Fixes bug 38553. Using usecs now. r=sgehani@netscape.com
git-svn-id: svn://10.0.0.236/trunk@68864 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-09 19:11:14 +00:00
dp%netscape.com
09f87e1345 - Api nsILocalFile::AppendRelativePath() added to interface
- nsILocalFile::Append() returns error uniformly on all platforms if
more than one component of path is being appended.


git-svn-id: svn://10.0.0.236/trunk@68351 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-05 05:47:32 +00:00
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