Граф коммитов

674 Коммитов

Автор SHA1 Сообщение Дата
ramiro%eazel.com 4969105044 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 f6ed582870 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 da4553a248 #56636, remove debug cruft, r/sr=blizzard 2000-10-17 17:15:36 +00:00
jst%netscape.com b7f75aebe8 (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 2850a2c385 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 31f05a72fc #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 3d7f4e7e66 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 41d87bafb2 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 1e16252324 #54535
r=mkaply, dougt, a=jband
Code from jpedemonte to fix profile creation
2000-09-29 20:40:10 +00:00
sgehani%netscape.com 1402d1a2c7 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 59b0d7d700 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 9a12ae8988 Fix for #52181 r=dougt, a=buster 2000-09-21 13:45:31 +00:00
brendan%mozilla.org 753070b755 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 6cc70ebd6c 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 5c71e257d7 OS/2 Tinderbox break
Need cast for VisualAge
2000-09-12 12:28:31 +00:00
mkaply%us.ibm.com 33cc35240d 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 e38f460093 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 f5b967a1aa Changed the nsIInputStreams created by the storage stream to be thread-safe... 2000-09-10 08:12:26 +00:00
ccarlen%netscape.com 2794c73899 Fix for Win95 machines which don't have APP_DATA dir r=racham 2000-09-09 15:31:27 +00:00
ccarlen%netscape.com 16431dfa09 Fix for #38770 Also fixed (unreported bug) in SetPersistentDescriptor. r=dougt 2000-09-09 15:26:52 +00:00
warren%netscape.com 240a1e1cfd Bug 46772. Added nsIDirectoryService::UnregisterProvider 2000-09-08 04:57:33 +00:00
warren%netscape.com 0f03daef22 Changed assertion to warning when platform charset doesn't exist. 2000-09-06 23:42:59 +00:00
pchen%netscape.com 3f57b4b88b bug #43585, r=sfraser, add Mac_DefaultDownloadDirectory to SystemDirectories enum 2000-09-06 21:13:14 +00:00
pchen%netscape.com e476ddb518 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 96ea55af3d 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 c7a2b0910c bug #43585, r=sfraser, add string NS_MAC_DEFAULT_DOWNLOAD_DIR 2000-09-06 21:13:06 +00:00
pchen%netscape.com 3a6dc9808c bug #43585, r=sfraser, add static atom for mac default download dir 2000-09-06 21:13:04 +00:00
pchen%netscape.com 24a352ca10 bug #43585, r=sfraser, add atoms and case for new mac default download folder dir 2000-09-06 21:13:02 +00:00
dbaron%fas.harvard.edu e0873ae126 Fixing code that relied on implicit string construction. r=scc (verbally) 2000-09-03 00:02:34 +00:00
scc%mozilla.org 3fa71edbc6 bug #49817: fix |normalize_forward|, |normalize_backward|; make |Begin(Read|Writ)ing| call |normalize_forward|; pass iterators by reference. r=mjudge 2000-09-02 04:10:44 +00:00
mkaply%us.ibm.com ed064435e5 #51105
r=dougt, a=brendan
Missing OS/2 support for HOME dir
2000-09-01 22:53:55 +00:00
pavlov%netscape.com f20bbdab37 fix for crash when trying to get the parent file when the file was a drive r=dougt bug 50837 2000-09-01 07:36:55 +00:00
cls%seawood.org aeb8453bcb Build fixes for BeOS. Thanks to Dan Moore <pergamon@68k.org> for the patch. 2000-08-30 07:21:31 +00:00
racham%netscape.com 0c473184e1 Fixing bug 6464. Moving Users50 and registry location on windows to Application Data folder. r=dveditz, ccarlen 2000-08-29 23:44:53 +00:00
racham%netscape.com 4a657a09f9 Fixing bug 6464. Moving Users50 and registry location on windows to Application Data folder. r=dveditz,ccarlen 2000-08-29 23:44:48 +00:00
dougt%netscape.com ff992dda2f Fixing 49866. Could cause a crash on opt builds that did not set the env HOME. r=adamlock@netscape.com 2000-08-28 22:14:02 +00:00
bienvenu%netscape.com caabefcbbf fix 48952 local file list of root windows directory broken r=dougt 2000-08-23 14:06:37 +00:00
racham%netscape.com 1b9825d865 Fixing bug 49699. Adding a windows directory as fall back to all those windows OS versions that return null for HOME. r=dougt 2000-08-23 01:24:30 +00:00
jband%netscape.com 1463e1874f fix Mac bustage? 2000-08-22 07:53:24 +00:00
warren%netscape.com 90d219ba1c Fixed comments which got swapped around. 2000-08-22 07:12:56 +00:00
warren%netscape.com 1c8511e78c Bug 46777. Redesigned stream interfaces to allows stream observers to be decoupled from pipe implementation. Needed for embedding to fix 'spin' problem. r=rpotts,valeski,ruslan 2000-08-22 07:03:33 +00:00
scc%mozilla.org 1a8bb49b19 fixing code that relied on implicit string construction 2000-08-20 07:33:54 +00:00
scc%mozilla.org 3645149acf fixing code that relied on implicit string construction 2000-08-20 07:18:09 +00:00
mccabe%netscape.com d794133945 Rectify // comment to /** comment 2000-08-18 01:09:29 +00:00
mkaply%us.ibm.com 7375ebed5d OS/2 Tinderbox break
OK will someone WAKE UP and realize that we need XP_WIN defined in the build?
XP_PC does NOT mean XP_WIN.
WE NEED XP_WIN IN THE BUILD
SOMEONE TURN IT ON IN THE MAKEFILE!
2000-08-17 03:18:03 +00:00
mcafee%netscape.com 04c8a710e9 Fix build warning, trailing slash looks run-on comment to the egcs compiler. 2000-08-17 01:53:59 +00:00
racham%netscape.com 0c4d1d1de5 Fixing bug 46320. Reducing the number of global files by moving profile registry to product sub-directory under HOME. r=dougt 2000-08-16 22:40:27 +00:00
mkaply%us.ibm.com dc873ec049 #44517
r=dougt, a=brendan
Make OS/2 Desktop directory NLS aware
2000-08-16 14:27:18 +00:00
conrad%ingress.com fae711e2a5 1. Changed from using strings to using macro names for property keys 2. Fixed return val of RegisterProvider r=valeski 2000-08-11 20:25:18 +00:00
mcafee%netscape.com 23bfcd1b52 More double-space lossage, whitespace change only. 2000-08-10 08:16:40 +00:00