dougt%netscape.com
37d843eda9
Fixes 73797. Moves some initialization code up higher so that it does not have
...
to be called so much.
r=darin@Netscape.com
sr=waterson@netscape.com
2001-04-12 23:56:28 +00:00
mscott%netscape.com
e59d6e2e12
Bug #32222 --> re-expose the search method on the input stream of a pipe.
...
r/sr=darin,bienvenu
2001-04-07 21:29:11 +00:00
naving%netscape.com
945c6a7189
fix warnings due to earlier checkins
2001-03-30 05:51:06 +00:00
naving%netscape.com
90751f7ac7
67799, 55814. sr=bienvenu. Propogate the error values for streams.
2001-03-30 05:24:34 +00:00
darin%netscape.com
0ddb1738df
Fixes bug 71921 "nsInputStreamTee::WriteSegmentFun has a minor bug" r=beard
...
sr=dougt
2001-03-29 02:42:00 +00:00
dougt%netscape.com
c65415aa0f
Renaming xpcom file streams. b=73169, r=sfraser@netscape.com, sr=darin@netscape.com
2001-03-26 23:35:06 +00:00
valeski%netscape.com
169a5140b5
r=rpotts. comment changes only. 48726. adding status to idl files of api rev. ifaces.
2001-03-24 00:22:18 +00:00
mkaply%us.ibm.com
5998a78f6e
#72555
...
r=mkaply, a=blizzard
Code from aaronr - use DosCopy if DosMove fails (OS/2 can't move across drives)
2001-03-23 03:21:22 +00:00
ccarlen%netscape.com
08a9102da6
Bug 72129 - OpenANSIFIleDesc on Mac won't create new files.
r=beard@netscape.com, sr=sfraser@netscape.com
2001-03-21 01:13:20 +00:00
disttsc%bart.nl
95b1a5b8cf
Attempt at fixing OS2 bustage
2001-03-20 07:47:40 +00:00
disttsc%bart.nl
497249a5e8
Move nsCString from |operator char*()| to |get()| and |NS_CONST_CAST| where needed. bug=53057, r=dmose, sr=shaver
2001-03-20 05:37:56 +00:00
pollmann%netscape.com
468ce871a6
Bug 71834: Fix form post smoketest blocker - backout fix for bug 69862
2001-03-14 07:36:13 +00:00
naving%netscape.com
0ec61c69d9
#69862 , r=bienvenu sr=scc. Close the stream in the destructor.
2001-03-12 22:46:41 +00:00
mkaply%us.ibm.com
c8a9d5a6fe
Win bustage - there was still an extra character in the file
...
I got it this time
2001-03-06 23:05:54 +00:00
mkaply%us.ibm.com
93b898870f
Win bustage - there was still an extra character in the file
2001-03-06 22:49:29 +00:00
dougt%netscape.com
4da41c2aa1
Attempting to fix bustage. removing tabs
2001-03-06 21:27:54 +00:00
dougt%netscape.com
d159a31b21
Making nsInputStreamTee build on windows. r=darin, sr=gagan
2001-03-06 20:29:20 +00:00
disttsc%bart.nl
277181c660
Preparation of removing nsCString::GetBuffer. Landing everything but the actual commenting out of nsCString::GetBuffer. bug=64016, r=timeless, sr=scc
2001-03-02 09:26:57 +00:00
darin%netscape.com
6ea7e33b1b
Added interface and implementation for tee'ing off an input stream read to
...
a blocking output stream. r=dougt,gagan sr=scc
2001-03-02 06:10:00 +00:00
timeless%mac.com
2cdd147e93
fix smoketest blocker bug 70312
...
Bookmarks deleted on exit
patch by hwaara, r=timeless, a=leaf, built by hwaara
2001-02-27 18:09:17 +00:00
naving%netscape.com
f67645d1d2
69862. r=bienvenu sr=scc@mozilla.org. Check and close the file stream in the destructor
2001-02-26 18:50:25 +00:00
ccarlen%netscape.com
9b24ddffee
Bug 27857 - nsIFile not complete on Mac. Adding CopyToFollowingLinks(). r=sdagley@netscape.com, sr=sfraser@netscape.com
2001-02-26 15:22:17 +00:00
dougt%netscape.com
59314de5ee
Fixes 53152. Basically loosens the restrictions on appending relative paths on windows.
...
r=brendan/shaver,sr=alecf
2001-02-22 23:52:26 +00:00
disttsc%bart.nl
a6f2f5861a
Mass REQUIRES update to synch up with string lib and xul changes in an attempt to fix senna bustage. r=jst, sr=cls
2001-02-22 09:35:51 +00:00
mkaply%us.ibm.com
07c8ede5e4
OS/2 TB Bustage
...
Need PR_STATIC_CALLBACK
2001-02-19 07:07:56 +00:00
dougt%netscape.com
9f30e23c85
Fixes small memleaks. bug 53931. r=ccarlen@netscape.com, a=waterson@netscape.com
2001-02-19 03:09:57 +00:00
waterson%netscape.com
d45984c551
Bug 65146. Fix deadlock potential in proxy code; remove unncessary locks from nsPipe2. r=darin,dougt; sr=brendan
2001-02-12 23:33:11 +00:00
mkaply%us.ibm.com
6568dc534e
r=dougt, a=blizzard
...
OS/2 only code to handle DBCS properly in nsFileSpec
2001-02-07 04:32:24 +00:00
mkaply%us.ibm.com
2d49a46254
r=mkaply, a=blizzard
...
Quite possibly one of the ugliest pieces of code ever. Good thing it is OS/2 only.
Workaround for WSOD2 bug - if DosCopy fails with a 65, use the OS COPY command.
2001-02-07 04:29:57 +00:00
pchen%netscape.com
e9682a958f
bug 46435, r=pinkerton, sr=sfraser, change name of SetOSTypeFromExtension() to SetOSTypeAndCreatorFromExtension() and added ExtensionIsOnExceptionList()
2001-02-07 00:47:01 +00:00
pchen%netscape.com
5429c3e80c
bug 46435, r=pinkerton, sr=sfraser, since we went to all the trouble of calling Internet Config in SetOSTypeFromExtension, set file creator as well, but not before consulting an exceptions list so that certain files, e.g. .html and .htm files, always have our app creator code
2001-02-07 00:46:58 +00:00
dveditz%netscape.com
73ea080f9d
bug 42704 missing initialization in nsLocalFile::GetFileSize, r=dougt/sr=mscott
2001-02-07 00:14:33 +00:00
ccarlen%netscape.com
21a4335522
Bug 65907 - remove dependency on chrome from XPCOM.
r=racham@netscape.com,tao@netscape.com, cls@seawood.org, sr=hyatt@netscape.com
2001-02-06 15:41:37 +00:00
mkaply%us.ibm.com
3e81748d32
r=mkaply, a=blizzard
...
Extern mbsrchr so nsFileSpec can use it
2001-01-31 21:58:27 +00:00
mkaply%us.ibm.com
ff6e427d99
r=mkaply, a=blizzard
...
Missing MoveToDir implementation on OS/2
2001-01-31 21:47:40 +00:00
sspitzer%netscape.com
09a0e9a992
#61956
...
quiet purify and don't memcpy 0 bytes. sr=scc
2001-01-31 21:35:12 +00:00
mscott%netscape.com
a43826465f
Bug #63346 --> implment reveal and launch methods for OS/2.
...
code contributed by mkaply
r=mkaply
sr=mscott
2001-01-31 21:04:04 +00:00
pinkerton%netscape.com
5739fc29ee
change the default file type to 'TEXT' to avoid creating files that are useless to every app on the planet. r=pchen/a=sfraser. bug# 64704
2001-01-31 01:35:16 +00:00
mscott%netscape.com
5ff083fee3
Bug #63346 --> implement reveal and launch for the mac. Most of this code was contributed by Paul Hangas. Thanks Paul!!
r=conrad,hangas
sr=sspitzer
2001-01-30 05:03:38 +00:00
mscott%netscape.com
c38767a7e4
Bug #63346 --> add methods for reveal and launch to a local file. Stub implementions for OS/2 and Unix right now.
...
r=conrad
sr=sspitzer
2001-01-30 05:02:48 +00:00
mkaply%us.ibm.com
09c55fd3da
Stupid misspelling
2001-01-29 23:35:54 +00:00
darin%netscape.com
d4b4bf4bce
Fixes bug 66493. nsSocketTransport changes broke in-process PSM.
...
r=bryner,gagan,brendan,dougt sr=mscott
2001-01-27 01:28:00 +00:00
darin%netscape.com
6a7567992b
Bug 62566. nsIChannel::AsyncWrite interface revision and related cleanup.
...
r=dougt@netcape.com , sr=mscott@netscape.com .
2001-01-23 22:10:34 +00:00
ccarlen%netscape.com
a72ef4d61d
Fixing bustage to XPCOM_STANDALONE build caused by my check in for bug 64501. sr=jband
2001-01-22 20:59:37 +00:00
ccarlen%netscape.com
e32d0bf79c
Fix for bustage caused on senna Tinderbox by checkin for 64501.
2001-01-19 01:24:28 +00:00
ccarlen%netscape.com
f346c249e1
Fix for bustage caused on senna Tinderbox by checkin for 64501.
2001-01-19 00:03:07 +00:00
ccarlen%netscape.com
d9dd3b5321
Fix for bug 64501 - allow embedding apps to specify app registry location. Moves appfilelocprovider into xpcom.
r=dougt@netscape.com, sr=brendan@mozilla.org
2001-01-18 22:51:57 +00:00
ccarlen%netscape.com
5adc9d520a
Bug 54008 - nsIFile::MoveTo doesn't work according to API on Mac.
r=sdagley, sr=sfraser
2001-01-17 20:23:06 +00:00
yokoyama%netscape.com
f59a3b8336
Fixes 58679 and 32056
2001-01-16 22:19:07 +00:00
sfraser%netscape.com
a0dda75954
Convert nsIDiskDocument to xpidl, and change it from using nsFileSpecs to nsIFiles. Bug 62567, r= buster, ducarroz, adamlock, sr=kin
2001-01-09 22:47:02 +00:00
rpotts%netscape.com
f7304a8b71
Fix for assert when loading content from the memory cache (ie. hitting Back). r=jst
2000-12-13 23:11:32 +00:00
jband%netscape.com
8fd7dc38a7
fix bustage to XPCOM_STANDALONE from fix to bug 43591. r=dbaron sr=brendan
2000-12-13 04:36:53 +00:00
vidur%netscape.com
0a4eedc07d
Implementation of ReadSegments to support less copying in the parser. r=rpotts, sr=jst
2000-12-12 21:57:47 +00:00
ccarlen%netscape.com
fe233dba77
Bug 51932 - Allow getting the FSSpec of a file which doesn't exist.
r=sdagley, sr=sfraser
2000-12-12 20:14:03 +00:00
dbaron%fas.harvard.edu
4597daa244
Fix bustage. Forgot to change NS_IMETHODIMP in function definitions.
2000-12-09 04:58:10 +00:00
dbaron%fas.harvard.edu
de24c96d88
Avoid relying on static constructor for nsFSStringConversion in nsLocalFile by making all methods static and avoiding the need for an object and then doing cleanup during XPCOM shutdown. b=43591 r=dougt@netscape.com sr=waterson@netscape.com
2000-12-09 04:11:05 +00:00
mkaply%us.ibm.com
b12d0a5ba2
#56767
...
r/a=cls,leaf
Remove XP_PC - use XP_WIN or XP_OS2 explicitly
2000-11-28 23:27:38 +00:00
cls%seawood.org
3ea6bf0f4d
Fix the BeOS implementation of Normalize().
...
Thanks to Hiromasa Kato <hiro@eng.iastate.edu> for the patch.
Bug #53014 r=cls@seawood.org sr=scc@mozilla.org
2000-11-28 01:43:09 +00:00
cls%seawood.org
5aafa0b4a6
Under BeOS, we must call Normalize() on a local file before it can be used.
...
Thanks to Hiromasa Kato <hiro@eng.ia.state.edu> for the patch. Bug #53014 . r=cls@seawood.org sr=scc@mozilla.org
2000-11-28 01:41:05 +00:00
colin%theblakes.com
880969402b
OpenVMS specific fix for defeciency in stat.
...
b=60199 r=dougt a=waterson
2000-11-27 11:19:41 +00:00
cls%seawood.org
66a18fcbbf
Resurrect REQUIRES so that we have some sort of means to track intermodule dependencies. Bug #59454 r=blizzard@mozilla.org
2000-11-20 07:16:06 +00:00
alecf%netscape.com
0934a8bda2
fix for #45797 - fix NS_IMPL_ISUPPORTS consumers
...
r=dveditz a=self
2000-11-17 03:41:41 +00:00
ccarlen%netscape.com
db44a10b6c
Bug 55891
r=brade, sr=sfraser
2000-11-14 15:58:54 +00:00
mkaply%us.ibm.com
981339093e
#58805
...
r=mkaply, a=blizzard
Code from jkobal to make appshell more like Windows and make timers more efficient
2000-11-02 19:36:30 +00:00
mkaply%us.ibm.com
f1a834a405
#58776
...
r=mkaply, a=blizzard
Code from jkobal to fix helper apps
2000-11-02 15:41:44 +00:00
mkaply%us.ibm.com
407f3c54a9
#55813
...
r=dougt, sr/a=waterson
Support for a MOZILLA_HOME dir to specify pref location
2000-11-01 20:04:59 +00:00
mkaply%us.ibm.com
5ebf8feb5b
Wrong casts being used
...
Caused outside contributor to be unable to build
2000-10-31 15:55:46 +00:00
bienvenu%netscape.com
199475237b
fix 55003 null protection in closing nsOutputStream r=kandrot sr=waterson
2000-10-30 15:20:31 +00:00
warren%netscape.com
cd56c0575b
Bug 47207. Backing out logging/PRINTF changes until we can fix stopwatch.h, introduce double parens, etc.
2000-10-28 22:17:53 +00:00
dbaron%fas.harvard.edu
7fed408876
Remove extra 0 param. (Fix warren's bustage.) r=warren
2000-10-28 02:30:42 +00:00
warren%netscape.com
810f462251
Removed extra 0 arg from macro
2000-10-27 23:41:27 +00:00
warren%netscape.com
9a6d92a433
Bug 47207. Changing printf to PRINTF to use new logging facility. r=valeski,sr=waterson
2000-10-27 22:43:51 +00:00
ramiro%eazel.com
f155f7f244
Bug 56793. Add support for building unix mozilla with a default
...
MOZILLA_FIVE_HOME. Build changes r=cls. Small XPCOM change sr=scc.
2000-10-21 08:33:16 +00:00
ccarlen%netscape.com
d735ea5c51
Fix for 56998 which blocks 56041. nsLocalFile::Exists() could return TRUE if the file in fact didn't exist. Happened with files for which the volume or dir didn't exist. r=sfraser.
2000-10-19 20:41:55 +00:00
shaver%mozilla.org
a6239048b2
#56636 , remove debug cruft, r/sr=blizzard
2000-10-17 17:15:36 +00:00
jst%netscape.com
1bef7c0474
(Checking in for jefft@netscape.com). Fixing rtm++ bug 56129. The file input stream wasn't always setting the EOF state correctly, this caused problems with saving mail messages to the sent folder and also problems with 'Save As Draft'. r=ducarroz, r=sspitzer, sr=mscott.
2000-10-13 11:14:48 +00:00
jst%netscape.com
17691505d4
Rolling in the last of the NOXIF changes from the Netscape 6 branch, code mostly written by jfrancis. Fixes bugs 50742, 55806, 56000 and 55669. sr=kin, scc. r=kandrot, jst.
2000-10-11 22:50:14 +00:00
mkaply%us.ibm.com
d5d97c8b5f
#55327
...
r=mkaply, a=blizzard
OS/2 only code - bring nsLocalFileOS2 to current level
2000-10-05 20:44:11 +00:00
colin%theblakes.com
5d88f8bd74
r=dougt, sr=blizzard, bugzilla=55163
...
OpenVMS-specific change to handle HOME
correctly. Fixes location of appreg bug.
2000-10-05 10:12:15 +00:00
vishy%netscape.com
8113e13325
sr=mscott,r=vishy (this is racham's code), bugzilla=48981
...
for standalone app, the profile data has to go in the windows
app data directory - not where the app is running
2000-10-05 03:34:18 +00:00
mkaply%us.ibm.com
a47da58b87
#54535
...
r=mkaply, dougt, a=jband
Code from jpedemonte to fix profile creation
2000-09-29 20:40:10 +00:00
sgehani%netscape.com
cb37a54b7a
Merging pr3 branch to trunk:
...
Renaming "Plugins" -> "Plug-ins"
b=53976
r=ssu
a=sfraser
2000-09-28 22:52:51 +00:00
mkaply%us.ibm.com
c90bc3ef8b
OS/2 Tinderbox breakage
...
HOME dir isn't working on OS/2, so profile can't be created so the browser won't come up.
Change to OS2 dir to get things working.
r=dr
2000-09-22 17:32:10 +00:00
ccarlen%netscape.com
48d1306eb1
Fix for #52181
r=dougt, a=buster
2000-09-21 13:45:31 +00:00
brendan%mozilla.org
a791fb2253
Fixes to use atomic rename(2) if possible in nsLocalFile::MoveTo (33098, r=?),
...
plus a bunch of other fixes and cleanups:
- Fix comment misstatements of fact in nsIFile.idl, improve style slightly.
- Fix typo in comment in nsILocalFile.idl.
- Avoid gratuitous nsCString and nsXPIDLCString copy-constructions, which
entail malloc'ing, in nsLocalFileUnix.cpp's CopyTo and GetParent methods.
But do use nsXPIDLCString instead of raw nsMemory::Alloc/Free.
- Get rid of unnecessary mLL_II2L and mLL_L2II macros, use "prlong.h" API only.
Also use the LL_* macros consistently in case a Unix lacking long long type
support wants to use this code.
* BTW, the "Date" methods should be renamed to use "Time" instead -- after all
PRTime is the type, and traditionally "time" refers to the time-number, a
scalar independent of one's position on the surface of the earth, while
"date" refers to a struct full of locale-specific information derived from
time and some "environment" variables such as DST. Can we rename these
nsIFile methods before Mozilla 0.9 / Netscape 6?
- Use CHECK_mPath consistently and first, before any assertions relating to
arguments (which logically come after the 'this' parameter CHECK_mPath is
making assertions about).
- Use nsCOMPtr for singly-inheriting implementations of XPCOM interfaces, to
avoid scary-when-scaled 0-refcnt instances from being handled (these all
got a ref via QI or equivalent soon enough, but you never know). This also
removed some naked deletes.
- Canonize all paths copied into mPath to lack trailing slashes, so we don't
need to strip trailing slashes elsewhere, in higher-frequency methods (you
set path less often than you get it or a substring of it).
- ssize_t for strlen return values.
- Since shaver used a function pointer to consolidate creat/mkdir logic, but
didn't fold the necessary close of the new fd returned by non-failing creat
into the pointed-at function, I did that.
- AppendRelativePath forbids .. as a component (bounded by / or beginning or
end of string on either side), not just in the middle of fragment (so that
foo..bar is not an illegal relative pathname -- it should not be). BTW,
what the heck is the difference between NS_ERROR_FILE_UNRECOGNIZED_PATH and
...INVALID_PATH?
- SetLeafName was overallocating the new pathname buffer by failing to subtract
the old leafname's length.
- CopyTo was failing to return an NSRESULT_FOR_ERRNO(), it just called that
macro on a line by itself -- eek! It also contained redundant if (newFD
== nsnull) {...} cleanup code, it did a useless PR_GetFileInfo call, and it
leaked FDs on read or write error.
- Implemented CopyToFollowingLinks as a forwarded call to CopyTo, Unix does
not support "copying" a symlink via normal file i/o. Should we instead
lstat in CopyTo and if a link is the source of the copy, do readlink and
then symlink?
- Fixed the readlink method (GetTarget) to null-terminate the link string in
the out parameter (readlink does not do that for you).
- Lots of little nsnull vs. NULL vs. 0, == and != applied to boolean or null
literals, white-space, indentation, bracing, comment, and sloppy code order
(e.g., declaring an initialized variable that's not used till after early
returns) fixes. Also invert some return logic so that NS_OK is the normal,
least indented, final return.
2000-09-19 00:22:41 +00:00
rayw%netscape.com
0257791053
Bug 37275, Changing value of all progids, and changing everywhere a progid
...
is mentioned to mention a contractid, including in identifiers.
r=warren
2000-09-13 23:57:52 +00:00
mkaply%us.ibm.com
1f08244363
OS/2 Tinderbox break
...
Need cast for VisualAge
2000-09-12 12:28:31 +00:00
mkaply%us.ibm.com
5d8916353e
OS/2 Tinderbox break
...
The Windows way was right, not sure why it was made different for OS/2.
2000-09-12 12:24:32 +00:00
warren%netscape.com
9fc7180eb9
Added URL attribute to nsIFile (why: because (a) needs to vary for different implementations, and (b) need to factor out of necko for installer). Not implemented yet.
2000-09-12 08:05:13 +00:00
rpotts%netscape.com
b845d5a563
Changed the nsIInputStreams created by the storage stream to be thread-safe...
2000-09-10 08:12:26 +00:00
ccarlen%netscape.com
68500bd674
Fix for Win95 machines which don't have APP_DATA dir
r=racham
2000-09-09 15:31:27 +00:00
ccarlen%netscape.com
fa65e9669f
Fix for #38770
Also fixed (unreported bug) in SetPersistentDescriptor.
r=dougt
2000-09-09 15:26:52 +00:00
warren%netscape.com
52514c7ffc
Bug 46772. Added nsIDirectoryService::UnregisterProvider
2000-09-08 04:57:33 +00:00
warren%netscape.com
996cfbc2fc
Changed assertion to warning when platform charset doesn't exist.
2000-09-06 23:42:59 +00:00
pchen%netscape.com
7a08a7e5c0
bug #43585 , r=sfraser, add Mac_DefaultDownloadDirectory to SystemDirectories enum
2000-09-06 21:13:14 +00:00
pchen%netscape.com
fa8df5e6b1
bug #43585 , r=sfraser, here resides the actual code to handle new mac default download directory, prepended code to call new nsIInternetConfigService to get IC default download folder. If we can't get it, then fall back to using desktop folder like before.
2000-09-06 21:13:12 +00:00
pchen%netscape.com
dcd27732f8
bug #43585 , r=sfraser, fix type/creator mix up calling FSpCreate() in nsLocalFile::Create(), fix passing correct FSSpec to AECreateDesc, fix passing AppParameters correctly in LaunchParamBlockRec.
2000-09-06 21:13:10 +00:00
pchen%netscape.com
9edc591583
bug #43585 , r=sfraser, add string NS_MAC_DEFAULT_DOWNLOAD_DIR
2000-09-06 21:13:06 +00:00
pchen%netscape.com
be126281cc
bug #43585 , r=sfraser, add static atom for mac default download dir
2000-09-06 21:13:04 +00:00
pchen%netscape.com
605a452be5
bug #43585 , r=sfraser, add atoms and case for new mac default download folder dir
2000-09-06 21:13:02 +00:00