waterson%netscape.com
1d9fda50da
Get rid of operator==(nsCOMPtr, int) usage because it fries gcc-2.7.2.3's mind with new string stuff. r=scc
2000-04-27 04:44:56 +00:00
dougt%netscape.com
b139d06f0b
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.
2000-04-26 21:37:45 +00:00
ftang%netscape.com
86711491f1
check in fix for 37106. r=ftang. patched proposed by m_kato@ga2.so-net.ne.jp
...
handle 0x5C properly by calling DBCSIsLeadByte function
2000-04-26 03:57:34 +00:00
dougt%netscape.com
1630293e17
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
2000-04-26 01:50:24 +00:00
dougt%netscape.com
56f4d7e351
missed commenting out two assertions which will cause mac and OS2 users
...
lots of pain. r=brade, a=leaf.
2000-04-25 18:16:16 +00:00
sspitzer%netscape.com
f249873f43
fix the threadsafe assertion.
2000-04-25 14:56:59 +00:00
pinkerton%netscape.com
a7bb525b7c
adding a helper to create/init from an FSSpec.
2000-04-25 04:09:18 +00:00
ssu%netscape.com
b8fe8bbb03
fixing bug #36958 . No longer makes the installer require a reboot at the end if replacing file that are *not* in use.
2000-04-25 02:39:42 +00:00
dougt%netscape.com
cf392312f9
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.
2000-04-25 01:48:02 +00:00
dougt%netscape.com
79681b7a19
Adding xpcom.currentProcess
2000-04-24 22:54:04 +00:00
dougt%netscape.com
3bf4c6a4f3
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.
2000-04-24 03:24:49 +00:00
scc%netscape.com
03755b0d9d
making string conversions explicit
2000-04-22 08:43:34 +00:00
ftang%netscape.com
c8017ec30e
fix nsFileSpec unicode interface .
2000-04-21 21:44:23 +00:00
cls%seawood.org
16043963c0
BeOS uses the Unix local file implementation.
2000-04-21 21:04:35 +00:00
cls%seawood.org
741fb751f9
Removed extra & as suggested by Matthew Z. on m.beos.
2000-04-21 21:03:56 +00:00
scc%netscape.com
1a5f86f42b
making string conversions explicit
2000-04-21 07:09:51 +00:00
dbragg%netscape.com
f68faea6f7
typo in Manifest file
2000-04-20 23:06:00 +00:00
dbragg%netscape.com
65f25ea943
Oops, forgot nsFileSpec.h
2000-04-20 22:59:30 +00:00
ftang%netscape.com
492cbadd7d
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
2000-04-20 22:53:29 +00:00
dbragg%netscape.com
17f53749f2
Fully implemented the DirectoryService and fixed the Mac nsFileSpecToIFile
2000-04-20 22:49:18 +00:00
ftang%netscape.com
d968ef267e
first add for nsILocalFile unicode interface wrapper code
...
not part of the build system yet.
2000-04-20 05:44:03 +00:00
ftang%netscape.com
329f088d23
fix 22116. Check in patch from m_kato@ga2.so-net.ne.jp
...
Perform IsDBCSLeadByte before 0x5c escaping
2000-04-20 05:08:02 +00:00
dougt%netscape.com
7264d84926
fix for 36266. submitting by koehler@mythrium.com.
2000-04-20 01:08:53 +00:00
beard%netscape.com
9d3aee255a
Compatibility with Universal Headers 3.3 or later. a=leaf
2000-04-19 22:13:51 +00:00
jdunn%netscape.com
d2182db1a4
adding newline - hp bustage
2000-04-19 14:57:43 +00:00
davidm%netscape.com
65508e91e9
28412 metaDataLength is wrong in nsCachedNetData::Deserialize. Add routines to build stream from char* and length
2000-04-19 04:54:53 +00:00
andreas.otte%primus-online.de
63dfd3d4fa
fix bug 20891 [Assertion when displaying message], don't try to find a drive in an empty path, r=putterman@netscape.com
2000-04-16 07:33:25 +00:00
scc%netscape.com
d0cd9d8b84
making string conversions explicit
2000-04-15 05:23:09 +00:00
warren%netscape.com
d28275f713
Fixed AddRef/Release to use NS_ADDREF/NS_RELEASE.
2000-04-13 09:20:58 +00:00
waqar%netscape.com
1954ef23e9
nsIByteArrayInputStream.h files does not exist any more. r=pollmann,a=leaf
2000-04-10 22:48:27 +00:00
ruslan%netscape.com
2aa756bb2c
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
2000-04-06 21:28:09 +00:00
jim_nance%yahoo.com
84e20f258d
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
2000-04-05 22:37:01 +00:00
cls%seawood.org
d8b7f7ec3a
Changes to get the BeOS build running. Patch provided by Yannick Koehler <koehler@mythrium.com> .
2000-04-05 02:12:26 +00:00
waterson%netscape.com
ce694992f4
Making string conversions explicit.
2000-04-04 09:35:51 +00:00
bruce%cybersight.com
04783ebdd8
Fixing nsByteArrayInputStream's QueryInterface() to be correct. Need this for a leak fix coming up shortly. r=scc
2000-04-04 04:16:07 +00:00
mkaply%us.ibm.com
f36999ebaf
# 33860
...
r= mkaply@us.ibm.com
OS/2 bringup
2000-04-04 00:07:04 +00:00
davidm%netscape.com
e7da0178b3
27857 nsIFile - MAC not completely implemented
2000-04-03 01:54:22 +00:00
davidm%netscape.com
9880d44313
First Checked In.
2000-04-03 01:50:18 +00:00
scc%netscape.com
d5acc2d706
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|.
2000-04-01 22:27:03 +00:00
blizzard%redhat.com
ca872d8778
checkin patches to implement nsILocalFile::GetDiskSpaceAvailable from Jason Eager and nsIFile::GetParent from pavlov. r=pavlov,blizzard,dougt. a=dougt
2000-04-01 20:07:14 +00:00
scc%netscape.com
080a801eb7
making string conversions explicit
2000-04-01 00:39:02 +00:00
warren%netscape.com
d60b12b153
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.
2000-03-29 03:58:50 +00:00
jband%netscape.com
2e62a370df
if people are going to insert four space tabs then let's set the Mode line's tab-width correctly
2000-03-28 05:01:05 +00:00
sgehani%netscape.com
7f72344dbd
Fixing nsIFile::SetLastModificationDate on Win32.
...
b = 12368
r = dbragg
2000-03-28 03:39:02 +00:00
sgehani%netscape.com
f18bd82eb6
Implemented nsIFile::SetLastModificationDate on the Mac.
b = 12368
r = dbragg
2000-03-27 22:05:54 +00:00
sgehani%netscape.com
670a530d19
Fixing nsIFile::SetLastModificationDate for Unix.
...
b = 12368
r = ssu
2000-03-27 22:04:46 +00:00
dougt%netscape.com
a1307c0064
Fix for 33098. MoveTo and CopyTo do not rename if the |in| parent is null.
...
I renamed the in parameter, and created a new stack var which I assign the
in parameter. If the var is null, I initial it with the |this| parent. I
also made sure that if null was passed, we would tree the action as a move.
2000-03-24 05:47:39 +00:00
sfraser%netscape.com
70f4a2bdfe
Fixing nsLocalFileMac so that Contains() works with file aliases, and is much faster. Also fix an issue with cacheing data, so that cacheing actually works. r=pinkerton.
2000-03-23 23:33:23 +00:00
ruslan%netscape.com
53a9b4ab75
Fix MAC build bustage - forgot to remove nsIByteArrayInputStream.h from the
...
MANIFEST as well
2000-03-22 04:14:26 +00:00
ruslan%netscape.com
3a22f6a8a0
Fix Unix build bustage - makefiles on unix and windows seems to actually
...
behave differently in this case
2000-03-22 03:02:34 +00:00
ruslan%netscape.com
589bd1cf93
Enabling ByteArrayInputStream. Needed to fix 32600, r=warren
2000-03-22 02:50:56 +00:00
dougt%netscape.com
6a0d50a6eb
Fixing SetModificationTime based on MS documentation. It is still failing, but
...
this is documented to work:
http://support.microsoft.com/support/kb/articles/Q167/2/96.ASP
2000-03-22 01:37:52 +00:00
ruslan%netscape.com
1a40c13f15
Add ByteArrayInoutStream. Not part of the build yet
2000-03-22 00:48:48 +00:00
sspitzer%netscape.com
07122ecd90
fix for #32245 . r=bienvenu.
2000-03-17 21:53:49 +00:00
sspitzer%netscape.com
9084c85e5c
add Delete() to the nsIFileSpec interface.
2000-03-15 07:07:56 +00:00
blizzard%redhat.com
8957904eb0
fix for bug #18186 . remove work around in layout code and properly implement nsIFile::GetLastMofificationDate() on unix. r=vidur,jst,dougt a=waterson
2000-03-15 03:08:28 +00:00
nhotta%netscape.com
41c47e0204
Changed to use do_GetService instead of CreateInstance, bug 30205, r=cata.
2000-03-15 01:33:43 +00:00
jefft%netscape.com
07dd82c225
fix bug 30784 - save messages / attachment with bogus path name failed sliently; this is bad if user think save was successful then followed by a delete and compact; we will have a data loss here
2000-03-14 13:54:42 +00:00
dougt%netscape.com
d1f750751c
fix for 28942 nsILocalFile::Exists() returns a FILE_NOT_FOUND error.
...
r=pete@alphanumerica.com
2000-03-14 05:11:02 +00:00
rickg%netscape.com
4791ab3e8f
removed calls to deprecated string methods
2000-03-12 09:14:14 +00:00
pavlov%netscape.com
33ce2d4e90
changes to let us build on MacOS X
2000-03-11 03:08:04 +00:00
sfraser%netscape.com
d9b76fa857
Fix for 29572 (launching PSM on Mac). Implement GetParent() for an nsILocalFileMac that was initialized with an FSSpec. r=davidm, a=jar
2000-03-09 00:35:11 +00:00
waterson%netscape.com
b952d774a7
Bug 29250. PR_GetFileInfo64() expects a 'root' path on Win32 to have a trailing slash; e.g., it will accept 'c:\\', but not 'c:'. Ensure that, if we ever see a naked drive letter, we'll append a trailing backslash to make something that NSPR understands. r=dveditz, a=jevering
2000-03-08 02:53:04 +00:00
warren%netscape.com
7e37f4f478
Bug 21556: Making linux be thread-safe. Making tons of classes implement threadsafe AddRef/Release. a=jar
2000-03-05 21:26:01 +00:00
sfraser%netscape.com
27a14620ec
Followon from a checkin I did yesterday to fix bugs 29521 and 29827 (a=jar); this part fixes an assertion that happened with empty form fields. r=kin
2000-03-02 19:36:15 +00:00
mkaply%us.ibm.com
26066c1a6d
# 25555
...
r= dougt@netscape.com
OS/2 changes for Mozilla - add #ifdef, change #ifdef
2000-02-29 21:27:02 +00:00
davidm%netscape.com
8fcd2d03da
22244 Can not load local file on the mac
r warren/sfraser a - jar
2000-02-27 16:19:59 +00:00
rjc%netscape.com
3e9d26015e
Fix PDT+ bug # 6770: be able to get filenames from the file system in the platform native charset.
Patch from m_kato@ga2.so-net.ne.jp
Review: ftang, dougt, and myself.
Approval: jar
2000-02-26 02:19:34 +00:00
cls%seawood.org
c09f2d0011
Explicitly cast mPath to const char* as some compilers can't automatically cast from nxXPIDLCString to char * .
2000-02-26 00:13:30 +00:00
cls%seawood.org
6acc399ce0
Implement the equivalent of Unix's realpath() for BeOS. Build blocker. a=leaf
2000-02-24 00:48:30 +00:00
sfraser%netscape.com
ef42bb4bbe
Fixes for bug 28271 -- add methods to nsILocalFileMac to launch applications and document. Also fix bogus include in nsNativeComponentLoader. r=davidm,dougt. a=jar
2000-02-23 23:09:02 +00:00
dougt%netscape.com
968894a7f0
Caused a regression in the nsLocalFile. If ResolveAndStat fails, we want
...
to return the NS_ERROR_FILE_NOT_FOUND value, not the NS_ERROR_FAILURE value.
a=jar.
2000-02-22 06:16:08 +00:00
dougt%netscape.com
18587c5bde
Added a .get() to a comptr to make it compile on linux.
2000-02-21 22:09:24 +00:00
dougt%netscape.com
bb8576a079
Fixes for 28257, 21628, 27076, 18186, 25584
...
1) Implement nsDirectoryService. This makes the service extensible so that
components can do delayed registration.
2) Fixes windows Append meathod which did not work with . prepended files.
3) Fixes memory leaks in nsDirectoryService
4) Fixes SetPermissions() on Win32. This was in my tree for a while. It basically
calls through to chmod just like on unix.
5) Fixes GetModificationDate. Win32 now return PRTime for dates.
r = scc, valeski, warren, wtc (suggestions)
a = jevering
2000-02-21 21:51:47 +00:00
cls%seawood.org
55ac039b66
More tweaks needed to get BeOS to compile for M14. For now, we use the Unix local file implementation. a,r=leaf
2000-02-17 20:24:24 +00:00
blizzard%redhat.com
44b60ac3b7
fix windows build bustage
2000-02-17 16:08:53 +00:00
blizzard%redhat.com
e44357530b
change nsIFile::Spawn to take an array of arguments instead of just a single flat string. bug #27843 . r=dougt, a=chofmann. also, implement nsIFile::Normalize for unix. bug #17948 . r=shaver, a=chofmann
2000-02-17 15:35:54 +00:00
dougt%netscape.com
9b91e09227
Optimization for shortcut resolution. r=dveditz.
2000-02-15 21:28:13 +00:00
mkaply%us.ibm.com
f30c8f5f61
# 25555
...
r= jdunn@netscape.com
OS/2 changes for Mozilla
2000-02-15 15:32:46 +00:00
dougt%netscape.com
7d4e5c9846
checking in makefile to build the interface nsIDirectoryService
2000-02-11 05:12:20 +00:00
dougt%netscape.com
ebfc731fa5
removing unneed file. r=smfr.
2000-02-11 05:09:18 +00:00
dougt%netscape.com
030e0f2d0a
first checking
2000-02-11 05:04:53 +00:00
dougt%netscape.com
982ca08e98
Fix from warren to check for the return val of Clone.
...
Also adding extra ('s around a arguably confusing if statement
r=warren
2000-02-11 04:50:23 +00:00
rhp%netscape.com
f9fe1c4033
Fix to escape quotes along with the other special characters - Bug #: 27039 - r: bienvenu
2000-02-11 01:32:20 +00:00
nhotta%netscape.com
d8f9f6841c
Added a function to return path name in unicode, contributed by m_kato@ga2.so-net.ne.jp, edited by nhotta, bug 22863, r=ftang.
2000-02-11 01:08:56 +00:00
colin%theblakes.com
2bb0467282
Only a read of 0 means EOF. r=dougt
2000-02-11 00:50:58 +00:00
colin%theblakes.com
3fe0589fd1
Make filespec comparisons case-blind for OpenVMS. Fix build problem for OpenVMS. r=dougt
2000-02-10 10:54:55 +00:00
dp%netscape.com
20a322045f
Fixing build bustage.
2000-02-09 08:47:51 +00:00
dougt%netscape.com
ee48c9e90c
Making unix act like the rest of the platforms. It now return zero for the
...
size if the nsIFile is really a directory.
2000-02-09 08:09:35 +00:00
dougt%netscape.com
329536a73e
Fix for bug 26816. submitted by bns_robson@hotmail.com. windows only.
...
memory leak fix.
2000-02-08 04:25:00 +00:00
dveditz%netscape.com
6bf6c95062
added quoting so we can execute windows files with spaces in their names -- such as anything in a subdir of 'Program Files'
2000-02-06 10:09:16 +00:00
sdagley%netscape.com
ac5dc8964e
Added comment warning that the file size attribute only deals with the data fork on the Mac and point to Mac specific interface for dealing with the size of the combined forks. r=none as this is just cleanup.
2000-02-04 23:06:56 +00:00
dougt%netscape.com
a10fe33677
Empowering the world. Bug. 25374, basically we create a directory without
...
the correct permission.
r=racham&&mozbot.
2000-02-04 22:57:37 +00:00
mscott%netscape.com
a6c2655b39
Back out the changes to the pipe code to fix regression bugs: 26533 and one i forgot the number of. =)
...
r=warren
a=leaf
2000-02-04 21:45:46 +00:00
warren%netscape.com
813f04865f
Fix for bug 24996 - moving file creation from nsStreamXferOp into nsFileTransport where it belongs. r=mscott
2000-02-04 08:33:17 +00:00
sdagley%netscape.com
d7e10a167b
nsLocalFileMac work. Added GetFileSizeWithResFork() method for callers that need to account for the total size of a Mac file (GetFileSize() only returns the size of the data fork). r=pinkerton
2000-02-04 07:17:36 +00:00
sdagley%netscape.com
c1ecefa92f
For now nsLocalFileMac::GetFileSize should only return the size of the file's data fork to be compatible with other places in the code that make that assumption. r=saari
2000-02-04 05:26:00 +00:00
sgehani%netscape.com
74dbfa166b
Fix for XPInstall horkage on the Mac.
b = 26327
r = dougt
a = leaf
2000-02-03 21:06:35 +00:00
sfraser%netscape.com
3176f02d0f
Test that the filespec has been initialized, before using it to delete entire directory trees. Blocker. r=Ben_Goodger, a=leaf
2000-02-03 20:49:40 +00:00
sdagley%netscape.com
70a25d6825
Fixing bustages in nsLocalFileMac - fixes #25629 , #26106 and #25277 . r=pinkerton
2000-02-01 23:42:28 +00:00