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

1344 Коммитов

Автор SHA1 Сообщение Дата
darin%netscape.com 42ed2c232f fixes bug 201574 "Many Unaligned access messages when reading XUL.mfasl" r/sr=alecf,brendan 2003-04-15 18:17:54 +00:00
brendan%mozilla.org e81a02eeb2 Reduce seeks outside the FastLoad file's underlying stream buffer (195010,
r=ben, sr=bryner).

- Pass null scope objects into nsIScriptContext::Compile{EventHandler,Script}
when precompiling for brutal sharing.  The JS engine does not need a non-null
object parameter for static scope.  That parameter can be non-null only if it
helps the compiler "pre-bind" functions to the same scope object that they'll
be parented by when executing, but with brutal sharing, functions are
precompiled once and executed against many different scope objects.

- A problem in XUL FastLoad was that it would serialize master .xul document
out-of-line scripts (those included via script src= from non-overlay, "master"
.xul docs) far from the place in the FastLoad file where XUL prototype script
info was serialized for the <script src=> tag itself.  I fixed that so that,
unless the out-of-line script was previously serialized (by a different src=
reference from another .xul file), the OOL script data immediately follows the
proto-script info in the FastLoad file.

This required adding a SerializeOutOfLine method to nsXULPrototypeScript, which
restores symmetry by matching the existing DeserializeOutOfLine(Script) (note:
I dropped the redundant "Script" from the end of the latter method's name.  We
need SerializeOutOfLine to handle overlay OOL scripts.	They are serialized by
nsXULDocument::OnStreamComplete, because that code knows the difference between
an overlay and a master doc.  This removes all trace of FastLoad writing from
nsXULPrototypeScript::Compile -- FastLoad stuff didn't belong there, not only
because we now want to write master OOL scripts later, when walking the master
XUL prototype doc's element tree, but also for modularity reasons.  The caller
knows about FastLoad, nsXULPrototypeScript::Compile does just what its name
implies.

There are 132 seeks with the patch, only 49 of which dump the underlying file
stream's buffer, vs. 133 seeks without the patch, 87 of which dump the buffer.

- Nit-picked some comments to fit in 80 columns, and made other cosmetic fixes.

- Implicated the nsXULDocument::mIsWritingFastLoad flag from the useXULCache
"is the XUL cache enabled?" flag, so other places that test mIsWritingFastLoad
don't have to query whether the cache is enabled.

- Added METERING synchronous meter-dumping to /tmp/bufstats, only ifdef
DEBUG_brendan, in netwerk/base/src/nsBufferedStreams.cpp.

- Added the deferred seek optimization from the first patch in bug 195010 to
nsFastLoadFile.cpp.

- Fixed nsFastLoadFileReader so it overrides readSegments as well as read.
This catches up with the interface extension made to nsIInputStream to add
readSegments.  The nsFastLoadFileReader extends nsBinaryInputStream, which is
a concrete class, and overrides Read in order to snoop on *all* bytes read.
It does this in order to demultiplex documents interleaved when the FastLoad
file was written.

But since the readSegments move into nsIInputStream.idl, certain primitives
in nsBinaryStream.cpp, e.g., nsBinaryInputStream::ReadCString, have used
ReadSegments, not Read, to consume parts of the underlying stream (to read
the C string's chars, in that example), and the FastLoad file implementation
has not accounted for those bytes.

- Added a new method to nsIFastLoadFileControl and its impls: hasMuxedDocument.
 This is needed when serializing master XUL doc OOL scripts, because we must
not serialize twice, and any OOL script that other XUL docs can include via
script src= could already be in the FastLoad mux.

/be
2003-04-12 01:34:11 +00:00
alecf%netscape.com 403150f676 rev the nsIUnicharInputStream IID, since the mozdev spell checker was using it
(no reviewer, just an IID rev)
2003-04-08 00:39:19 +00:00
ccarlen%netscape.com 9885ed4d9c Bug 200662 - [OSX]GetCurrentProcessDirectory can fail. r=/sr=sfraser. 2003-04-07 14:29:56 +00:00
ssu%netscape.com 669e313b68 fixing bug 195148 - XPInstall API's getFolder should support Classic and OSX folders under OSX. r=ccarlen,dougt sr=sspitzer 2003-04-07 07:02:32 +00:00
darin%netscape.com 5d6a45aa87 fixes bug 193918 "pipe should better utilize current segment (rollback write cursor whenever read cursor == write cursor)" r=dougt sr=bz 2003-04-05 02:02:09 +00:00
alecf%netscape.com 6c75920da1 fix for bug 195298 - pldhash ops tables should be const.. r=dougt, sr=sfraser 2003-04-04 15:10:37 +00:00
alecf%netscape.com 3a52f618a6 fix for bug 199170 - convert xpcom over to using static atoms
r=dougt, r=ccarlen
2003-04-03 20:02:03 +00:00
seawood%netscape.com 80e1b303cc Purge XP_PC.
Bug #56767 r=mkaply sr=alecf
2003-04-02 22:45:08 +00:00
darin%netscape.com 23a4a8a036 removing dead code 2003-03-25 02:10:41 +00:00
darin%netscape.com ab8dd4504f fixes bug 192352 "~ns{In,Out}putStreamReadyEvent should check nsIEventQueue::isQueueOnCurrentThread"
r+sr=dougt
2003-03-25 02:10:11 +00:00
mkaply%us.ibm.com 8c2397b9ac #188249
r=dougt
Cleanup Makefiles, OS/2 GCC landing
2003-03-21 22:26:41 +00:00
ssu%netscape.com 7e387c0ae1 fixing bug 186088 - Mozilla crashes during installation of XPI Packages [@ nsInstallFile::CreateAllFolders]. r=ccarlen,sr=dveditz 2003-03-21 22:18:17 +00:00
ccarlen%netscape.com afe7773d87 Backing out due to huge Ts increase 2003-03-20 08:45:50 +00:00
ccarlen%netscape.com 8d38ed69c5 Bug 164396 - [OS X]Reduce conversions between path and FSRef. Changes internal representation to not use FSRef which should fix various bugs. r=sdagley/sr=sfraser 2003-03-20 06:05:03 +00:00
dougt%netscape.com 59e5eb0421 Removing dead code. b=198023, r=darin, sr=dbaron 2003-03-18 20:34:19 +00:00
mkaply%us.ibm.com 05329eb6b6 OS/2 build doesn't come up if MOZILLA_HOME isn't set 2003-03-16 03:37:08 +00:00
mkaply%us.ibm.com 4a2133fd7a OS/2 bustage 2003-03-15 02:27:21 +00:00
dougt%netscape.com 0d2808c511 Create a new xpcom obsolete library (and component library).
Moved nsFileSpec and related classes into this obsolete library.
  Moved nsRegistry and related libreg functionality into the obsolete library.

Updated many callers using the obsolete nsFile spec to use nsIFile and Necko to do file IO.

Combined the following DLLs (source -> dest)
  uriloader -> docshell
  shistory -> docshell
  jsurl -> jsdom
  gkview -> gklayout

Moved nsAdapterEnumerator out of xpcom/ds and into mailnews, since they're the only consumer

Modifed the xpt_link tool so that you can specify a �only include� cid list that can mask CID�s that you are not interested in.

Added build options:
Prevent the building of xpinstall (--disable-xpinstall)
Prevent the building js component loader (--disable-jsloader)
A build option to only build a single profile (--enable-single-profile)
A build flag to only built the required xpfe components (--disable-xpfe-components).

Removal or hiding of unused functions and classes including nsEscape*, nsDequeIterator, nsRecyclingAllocatorImpl, nsDiscriminatedUnion, nsOpaqueKey, nsCRT::strlen, NS_NewCommandLineService

Bug 194240, r/sr = darin, alec.
2003-03-15 01:04:32 +00:00
ccarlen%netscape.com 7061fe60e5 If the destination file already exists, moveTo[Native] should replace it. Bug 195109 r=sdagley/sr=sfraser 2003-03-14 20:01:41 +00:00
rginda%netscape.com 500958a09b bug 170585, Scriptable streams are broken; r=darinf, sr=dougt
add factories so js can create the nsIBinary*Stream objects,
also adds read/writeByteArray functions
2003-03-13 21:23:18 +00:00
cls%seawood.org 040b1e64c2 Remove bogus mingw & win16 ifdefs from plevent.h
Add stub declaration for _mbstr which isn't defined in the current mingw headers but is present in the libs.
Fix GRE definition of XPCOM_DLL for mingw.
Bug #134113 r=dougt
2003-03-12 08:35:57 +00:00
dougt%netscape.com 34cd7b0fdb adding SpecialSystemDirectory files to trunk. not part of build 2003-03-11 22:47:05 +00:00
dougt%netscape.com a4c7c7573f Converting the file location of the component registry and the xpti manifest file to use the directory service. r=darin, b=191055 2003-03-11 21:36:59 +00:00
cls%seawood.org d1079607df XP code changes required for mingw landing.
Add NS_STDCALL macros for functions that require stdcall declarations.
Add NS_STDCALL_FUNCPROTO macro for stdcall function prototype typedefs.
Bug #134113 r=dougt sr=dbaron
2003-03-07 06:07:56 +00:00
dougt%netscape.com 3b4e35ca3a fixes warnings 2003-03-06 23:26:43 +00:00
alecf%netscape.com 5b7536c806 fix for bug 191416 - clean up nsIUnicharInputStream to make it more like nsIInputStream:
- hide Fill() (or remove it where not necessary)
- add ReadSegments() so that we can do reads without copying
- remove the extra offset parameter to Read()
r=dougt, sr=darin
2003-03-06 19:54:51 +00:00
andreas.otte%debitel.net 0f9fa9ad78 fix bug 193477 [URL: colon ":" in URI is escaped in request (not scheme or port delimiter)] no longer escape the colon when it is part of the filename in urls, but force it's escape in links when building dir/index listings, r=bbaetz@acm.org, sr=darin@netscape.com 2003-02-27 13:15:19 +00:00
andreas.otte%debitel.net 6f076f634b fix bug 191638 [index/html: files|dirs with "%" need to be properly encoded] force escape of % as part of filenames to %25 to not be damaged by unescape, r=bbaetz@acm.org, sr=darin@netscape.com 2003-02-27 10:55:01 +00:00
timeless%mozdev.org 85c42d083c Bug 190799 xpcom/io/nsFileSpec.cpp", line 905: Warning: String literal converted to char* in initialization.
r=dougt sr=roc+moz
2003-02-23 04:41:24 +00:00
darin%netscape.com f5e1e52523 fixes bug 193017 "downloading via ftp doesn't proceed" r=dougt sr=brendan a=dbaron 2003-02-19 03:44:46 +00:00
brendan%mozilla.org 04624a2df0 - Turn jrgm's helpful assert/defend changes into assertions that mCIDOffset
is never 0, and make the memset-to-zero required for these assertions be
  #ifdef NS_DEBUG.
- Extend FastLoad file format to encode a singleton flag in the high bit of
  nsFastLoadSharpObjectInfo.mWeakRefCnt.  The updater code needs to test this
  bit in order to deserialize a singleton that was not read by the updater's
  reader during this FastLoad episode.  Otherwise the updater is likely to
  reserialize the singleton, leading to multiple entries in the object map
  for the same object, and UMRs when loading from the writer's object map
  enumeration (objvec) in nsFastLoadFileWriter::WriteFooter.
- Remove bogus assertion that worked only when an XPCOM data structure being
  serialized was still alive at the time the writer closed.  In general, there
  is no relationship between the strong ref-counts in a FastLoad file and the
  XPCOM refcnts in memory at close time.
- Bug 189832, r=jrgm, sr=ben, a=dbaron.
2003-02-16 17:40:16 +00:00
darin%netscape.com ad524cbb90 hopefully fixing WIN32 bustage 2003-02-08 02:08:34 +00:00
darin%netscape.com 5a2707f349 fixes bug 192196 "crashes on shutdown" r=dougt sr=blizzard a=asa 2003-02-08 00:54:36 +00:00
darin%netscape.com 99e45ceed4 fixes bug 191227 "file uploads hang (especially w/ slower connections or
slower servers)" r=dougt sr=bz a=dbaron
2003-01-31 02:00:45 +00:00
jrgm%netscape.com 2f7102abeb Guard against bogus entries in the object map of the fastload file, bug 189832, r=ben/jag, sr=jst, a=asa 2003-01-31 01:34:45 +00:00
darin%netscape.com a08d67ebc8 fixes bug 190549 "Textarea with lots of text within refuses to submit"
r=sicking sr=bzbarsky a=asa
2003-01-29 06:40:16 +00:00
darin%netscape.com bb2017c151 cleaning up "uninitialized variable" warning resulting from last checkin, b=189689 2003-01-23 05:15:56 +00:00
darin%netscape.com a82b72fea0 fixes bug 189689 "intermittent duplicated content on pages, CRC errors in
downloads" r=dougt sr=bzbarsky a=dbaron
2003-01-23 02:39:01 +00:00
mkaply%us.ibm.com 66e8db4583 Oops left printf in 2003-01-22 20:49:21 +00:00
mkaply%us.ibm.com cebb7c2b3c #189349
r=cbiesinger, sr=bzbarsky
Have OS/2 follow the Windows path for downloadManager dialog - launch and open in explorer
2003-01-22 04:58:09 +00:00
mkaply%us.ibm.com fe73ee5935 #189841
r=dougt, sr=dmose
OS/2 only - remove config/os2 from the tree
2003-01-21 00:05:39 +00:00
darin%netscape.com 8d699694dc attemping fix for linux Ts/Txul startup regression, b=189567 2003-01-19 20:46:51 +00:00
darin%netscape.com cf6ad2522c fixing mac bustage 2003-01-18 03:34:42 +00:00
darin%netscape.com 685a7af468 modifications for bug 176919 "async streams" r=dougt,gordon sr=sspitzer a=valeski,asa 2003-01-18 02:15:14 +00:00
darin%netscape.com 2347ef8985 new files for bug 176919 "async streams" r=dougt,gordon sr=sspitzer a=valeski,asa 2003-01-18 01:27:53 +00:00
brendan%mozilla.org b8d97d8b8c Defend against bad EndMuxedDocument calls, and assert in the underlying {JS,PL}_DHashTableRawRemove that entry is live (188744, r=jrgm, sr=ben). 2003-01-17 10:01:50 +00:00
dbaron%dbaron.org 12a781c511 Make implementations consistent across platforms: ensure IsDirectory and IsFile return false even when the file doesn't exist (and they return an nsresult error status). b=187014 r=dougt sr=alecf 2003-01-13 23:17:49 +00:00
bzbarsky%mit.edu d15599a1ee Return a more useful error when being inited with an empty string. Bug 187605,
patch by bugzilla@chucker.rasdi.net (So"ren 'Chucker' Kuklau), r=dougt, sr=bzbarsky
2003-01-13 06:26:19 +00:00
danm%netscape.com fe48a1a8ee adding windows cookie system directory specifier. bug 185689 r=ccarlen,jag 2003-01-10 02:52:26 +00:00
suresh%netscape.com 31cc5c5412 Bug 185148 - nsStorageStream::ReadSegments(...) loops forever if the writer fails. r-bzbarsky, sr-darin. 2003-01-09 21:37:30 +00:00
dbaron%dbaron.org b9083989bb Bug 178643: Remove uses of NS_INIT_ISUPPORTS, since it is no longer needed. r=timeless sr=jag 2003-01-08 23:19:20 +00:00
cbiesinger%web.de 4aa0471118 187130 r=mkaply sr=bz remove #ifdef XP_OS2 in an os/2 specific file 2003-01-01 21:20:37 +00:00
seawood%netscape.com d5efcdfb6d Start installing GRE libraries & components into a separate dist/gre directory as part of the default build.
Bug #186241 r=dougt
2002-12-28 01:15:07 +00:00
sdagley%netscape.com 46305345e1 Fix #183856 - don't cache DL folder as user may change it while we're running. r=ccarlen,sr=sfraser 2002-12-22 01:21:29 +00:00
dbaron%fas.harvard.edu bea341a4d2 Fix bustage from dougt's checkin. b=170585 r=caillon sr=bzbarsky 2002-12-11 00:53:53 +00:00
dougt%netscape.com bf56f2ee36 cleaning up the nsISeekableStream interface comments. r=darin, sr=jst, b=170585 2002-12-11 00:01:36 +00:00
ccarlen%netscape.com 6239872837 Bug 173668 - InitWithNativePath crashes if given a URL which begins with a forward slash. It happens during URI fixup. r=sdagley/sr=jaggernaut 2002-12-03 15:51:25 +00:00
akkana%netscape.com 1a8bd4f0ed 169615: Get rid of MOZILLA_FIVE_HOME warning. r=dmose sr=sspitzer 2002-11-27 23:02:17 +00:00
neeti%netscape.com 535ca56710 fix for bug 163941-resolving shorcuts, r=rpotts,sr=darin 2002-11-26 21:37:58 +00:00
bienvenu%netscape.com a2298ad3f8 fix disk thrashing when sending mail attachments by making internal nsIFileStream flushes not sync r=dougt, sr=sspitzer 180153 2002-11-20 15:18:04 +00:00
bzbarsky%mit.edu 551603afdf Maybe build on PPC too. 2002-11-19 03:43:01 +00:00
bzbarsky%mit.edu 77bbd97f7f Fix smoketest blocker 180452. If the buffer is not even-sized, we have
to carry a byte around with us.  Patch mostly by alecf, partly by me;
sr=me, r=dmose, a=dmose (sheriff hat).
2002-11-19 02:57:30 +00:00
timeless%mozdev.org 384066e98e Bug 58221 don't use strlen to check if a string is of length 0
patch by aaronl@vitelus.com r=timeless sr=bz
2002-11-17 05:16:49 +00:00
ccarlen%netscape.com dabf53c9c0 Bug 179932 - Need GetCFURL() on nsILocalFileMac. r=sdagley/sr=sfraser 2002-11-15 15:35:17 +00:00
mkaply%us.ibm.com c8f0ccc822 150156 type fix for OS/2 - do a copy if move fails because file already exists 2002-11-14 19:41:18 +00:00
alecf%netscape.com df10f648b8 take two at fixing bug 177401 - convert nsIBinaryStream over to using nsAString/nsACString for string values, to speed up fastload
sr=darin, r=dougt
(the previous checkin had a typo which disabled fastload entirely!)
2002-11-14 18:16:31 +00:00
dougt%netscape.com be7d6a627b Crash OOM @ startup. r=darin, sr=alec, bug 175663 2002-11-13 21:23:58 +00:00
neeti%netscape.com 3a6bc812ca fix for bug 150156 - nsIFile's moveTo method does not overwrite existing files,r=dougt@netscape.com, sr=brendan@mozilla.org 2002-11-13 14:04:51 +00:00
bienvenu%netscape.com 6181c9aea0 turn on fix for flush on unix as well, r=dmose, sr=sspitzer 142196 2002-11-12 02:55:08 +00:00
bienvenu%netscape.com bc1d071781 fix problem with summary files on network drives getting out of date, r=cavin, sr=sspitzer, 142196 (make nsIOFileStream::flush really flush) 2002-11-12 00:59:10 +00:00
alecf%netscape.com 0a48c10053 argh, back out my last checkin because Ts went UP not down! 2002-11-09 01:31:32 +00:00
alecf%netscape.com 4721428275 fix for bug 177401 - use nsAString& classes instead of wstring in nsIBinaryInputStream, to speed up fastload startup
sr=darin, r=dougt
2002-11-08 23:30:53 +00:00
ccarlen%netscape.com aee74580af Bug 177059 Mach-0 nsLocalFile::GetFileSize sometimes fails for directories. Patch by sfraser. r=ccarlen/sr=bryner 2002-11-08 15:03:06 +00:00
bzbarsky%mit.edu f2f0308507 Look at $TMP and $TEMP, not just $TEMPDIR. Bug 176887, r=timeless, sr=alecf 2002-11-06 01:56:00 +00:00
ccarlen%netscape.com 88535bd0b1 Bug 173311 - RealPlayer One 9.0b2 plugin causes crash at startup for Mach-0 build because of symlink (alias) handling problems. r=bnesse/sr=sfraser/a=dbaron 2002-11-01 15:45:38 +00:00
timeless%mozdev.org 6eaaef26f3 Bug 155696 MOZ_PLUGIN_PATH should support colon-delimited PATH syntax
r=ccarlen sr=shaver a=dbaron
2002-10-25 13:08:44 +00:00
brendan%mozilla.org aed690f426 Fix glitch in comment (no code changes). 2002-10-18 05:26:02 +00:00
ccarlen%netscape.com 7930af8ba1 Bug 172223 - Mach-0 impl of nsLocalFile::Reveal() does not work because passing an FSRef in the Apple Event does not work - it must be an FSSpec. r=sdagley/sr=sfraser/a=dbaron 2002-10-18 01:59:54 +00:00
dougt%netscape.com 20cb222459 landing 172512. nsEmbedString for component developers and embeders. r=alec, sr=jag/darin, a=asa@mozilla.org 2002-10-17 23:41:47 +00:00
seawood%netscape.com 57e08a3f3a Define WIN32_LEAN_AND_MEAN globally for win32 builds.
Thanks to Stephen Walker <walk84@yahoo.com> for the patch.
Bug #172898 r=cls a=asa
2002-10-17 06:47:01 +00:00
ccarlen%netscape.com 7fbc90ffe6 Bug 172018 - Use CFURLs with Mach-0 and Carbon file picker. r=sdagley/sr=sfraser 2002-10-09 03:58:40 +00:00
mkaply%us.ibm.com f4903acd4f #172243
r=mkaply, sr=blizzard
OS/2 only - subtract 1980 from date before using it
2002-10-09 02:37:48 +00:00
dougt%netscape.com 86b056715a nsDirectoryServiceDefs.h needs to be frozen 168572, r=ccarlen@netscape.com, sr=darin@netscape.com 2002-10-07 18:52:34 +00:00
mkaply%us.ibm.com 3425c9b55c A couple nits and then we should be good 2002-10-06 03:42:55 +00:00
darin%netscape.com 229f53706f another attempt at fixing the OS2 bustage 2002-10-06 03:18:11 +00:00
darin%netscape.com d527e96591 fixing OS2 bustage -- my bad for forgetting to follow mkaply's advice! 2002-10-06 02:38:43 +00:00
darin%netscape.com cc875aa945 fixes bug 166612 "implement NS_CopyNativeToUnicode / NS_CopyUnicodeToNative
on all platforms" r=dougt sr=alecf
2002-10-06 00:29:46 +00:00
dougt%netscape.com fb4932e7de Removing silly comment. 2002-10-06 00:26:20 +00:00
arougthopher%lizardland.net b7836f3da0 Bug#169506
IsExecutable() deos not work for BeOS

BeOS now uses stat() instead of access() for:
IsWritable()
IsReadable()
IsExecutable()

sr=scc
r-dougt,arougthopher
2002-10-05 19:06:28 +00:00
dougt%netscape.com 0be6ffa33a Fixes assertion logic/build warnings. patch by tenthumbs@cybernex.net, b=171399 2002-09-30 21:49:35 +00:00
dougt%netscape.com 4c78893d1b Fixes XPCOM Glue on linux, b=168584, sr=rpotts, r=alec 2002-09-27 13:07:01 +00:00
mkaply%us.ibm.com ef1276ce41 Urgent OS/2 fix - port change for 164190 to OS/2 2002-09-25 17:55:39 +00:00
ccarlen%netscape.com 32d8005d63 Bug 118203 - nsLocalFile implementation for Mach-0. r=pinkerton, sdagley/sr=sfraser 2002-09-25 12:23:39 +00:00
ccarlen%netscape.com 7511c8f32f Bug 118203 - nsLocalFile implementation for Mach-0. r=pinkerton, sdagley/sr=sfraser 2002-09-25 12:04:50 +00:00
bryner%netscape.com 726d60d0e1 Fix a problem with the prefs file being deleted at shutdown on Windows, introduced by the checkin for bug 164190. Windows' implementation of nsLocalFile::CopyMove was assuming that a null parent directory meant we should always rename - not true. r=hewitt, sr=brendan. 2002-09-21 08:26:02 +00:00
bnesse%netscape.com 3815d34fd1 Fix for bug 164925. Remove unused directory key and support code. r=ccarlen, sr=beard. 2002-09-20 18:47:49 +00:00
chak%netscape.com 196cbe728a Fix for #168255 - Change references to MRE into GRE in XPCOM/Embedding
r=dougt, sr=alecf
2002-09-13 22:18:43 +00:00
dougt%netscape.com 9813e4e4ee Moving frozen interfaces to SDK per http://www.mozilla.org/projects/embedding/HowToFreeze.html. 2002-09-13 21:39:07 +00:00
dougt%netscape.com 68faeb5241 166917. Clean up xpcom SDK includes. r=rpotts@netscape.com, sr=alecf@netscape.com, a=rjesup@wgate.com 2002-09-07 17:13:19 +00:00
pete%alphanumerica.com 1985d3f734 b=121489, r=dougt, sr=bzbarsky
Simple fix for nsIFile GetParent to return null when already at the top of the volume
Thanks guys for the speedy review.

--pete
2002-09-07 02:00:31 +00:00
dougt%netscape.com f2a00efc93 Move FROZEN ContractID into nsXPCOM.h and define r=rpotts, sr=alec, b=166426 2002-09-03 23:36:13 +00:00
darin%netscape.com 4cf9b72205 fixes bug 151843 "nsIFile::Append inconsistent across platforms" r=dougt sr=alecf 2002-09-03 22:40:45 +00:00
bryner%netscape.com ad376113e3 Switch to building in browser/app and linking with libxulapp_s, instead of building in xpfe/bootstrap, for Phoenix. Remove some MOZ_PHOENIX #ifdefs that are no longer needed. Not part of the normal build. 2002-09-02 04:03:07 +00:00
dougt%netscape.com 292b06c6ef Fixes 165561. r=me, sr=darin, by=pete collins 2002-08-29 23:11:20 +00:00
dougt%netscape.com 4f8934ad1d Freezes the nsIProperties interface. 162114. r=ccarlen, sr=alecf. Freezes the mozIJSSubScriptLoader interface. 157136. r=rginda, sr=alec. 2002-08-26 20:36:44 +00:00
timeless%mac.com 46c67f349d Bug 162236 nsFileSpec should be deprecAted not deprecIAted
r=bbaetz rs=bzbarsky
2002-08-12 03:13:57 +00:00
seawood%netscape.com 322da773fb Removing old nmake build makefiles. Bug #158528 r=pavlov 2002-08-10 07:55:43 +00:00
dougt%netscape.com 0a7518b75b Freeze nsIScriptableInputStream. r=rginda, sr=darin 2002-08-08 05:09:03 +00:00
hyatt%netscape.com 844a01e44f ifdefs for phoenix. 161448. not part of main mozilla build. 2002-08-07 09:26:30 +00:00
bryner%netscape.com d0cfcc1da2 Remove obsolete NS_BASE and _IMPL_NS_BASE, and unused/obsolete source files nsStdFileStream.* (bug 160052). r=cls, sr=alecf, a=asa. 2002-07-30 21:30:05 +00:00
katakai%japan.sun.com 4100197436 bug 153562
crash trashes user directory, requires new profile
avoid BOM at iconv() for Solaris platform
patch from jk@tools.de
a=asa,r=Roland.Mainz@informatik.med.uni-giessen.de,sr=darin
2002-07-30 00:58:36 +00:00
alecf%netscape.com e9e1a39573 fix for bug 157572 - remove nsIAtom references from strings, and thus expicitly #include nsIAtom.h for consumers who are expecting it.
r=dmose, sr=jag, a=asa
2002-07-25 18:31:10 +00:00
timeless%mac.com 204350a41e Bug 158092 Mozilla for BeOS is unable to show in browser proper international file/folder names.
patch by sergei_d@fi.tartu.ee r=timeless sr=darin a=asa
2002-07-24 00:01:31 +00:00
dougt%netscape.com c2ec17237f Fixes the following:
154047
This change cleans up the category manager in hopes to freeze it for 1.1 final.  This change removes dead and unsupported methods from the interface as well as removes the C++ code from the interface.  This should land for 1.1b since users of the current category manager will have to update their components.

157597
Make embedding base and examples use XPCOM Glue
This change makes our embedding samples use the XPCOM glue.

157625
nsLocalFile::Remove's file pointer is sometimes null afte...
This fixes a crash when we dereference null.  It is a bandaide fix as the real problems involves retooling the directory enumerator.

157801
This fixes a terrible state which you can get into whereby XPCOM will fail to startup regardless of what you do.  The fix is to cause autoreg to happen if the component registry (compreg.dat) is not found.

r/sr=alecf@netscape.com, rpotts@netscape.com.  a=scc@mozilla.org
2002-07-18 05:09:10 +00:00
mkaply%us.ibm.com 937dfac4d5 #157770
r=dougt, sr=blizzard, a=asa
OS/2 only - up the numbre of file handles when starting Moz, and handle specific error with DosCopy
2002-07-17 05:46:34 +00:00
jfrancis%netscape.com 94ae893f2d fix for Bug 154932: Mozilla will not start on MacOS 8.6 if filesharing is on. Corrected the construction of an FSSpec in nsDirectoryService.cpp r=ccarlen sr=sfraser 2002-07-16 22:17:56 +00:00
alecf%netscape.com 51134e0622 bug 66759 - finally remove XPCOM_STANDALONE completely
r=dougt, rs=brendan, a=asa
2002-07-12 19:14:35 +00:00
brendan%mozilla.org ea12555566 Oops, deal with PRInt64 operand to NS_SWAP64 (followup to last checkin). 2002-07-10 05:18:58 +00:00
brendan%mozilla.org db11f2feb4 Avoid aliasing differently-typed pointers in NS_SWAP64 (142869, r=dbaron, sr=ben). 2002-07-09 03:37:50 +00:00
dbaron%fas.harvard.edu 8a0de16ab5 Fix excessive fastload file invalidation with some versions of gcc by fixing aliasing bug in NS_SWAP64. Patch by me, with tweaks by brendan. b=142869 r=bryner sr=brendan 2002-06-29 05:13:59 +00:00
ben%netscape.com f47565520b Fix for 86501 - bookmarks truncated when disk full
allow file streams to store and report on the status of the write operation.
r=darin, sr=brendan
2002-06-26 05:17:54 +00:00
dbaron%fas.harvard.edu 6d2263f19b Convert handwritten GetIID methods to use NS_DEFINE_STATIC_IID_ACCESSOR and add |const| to GetCID methods so that static |nsID|s are declared as |const|. b=153525 sr=jag r=bryner 2002-06-26 03:38:55 +00:00
alecf%netscape.com 728c3f515a remove a bunch more dead code from XPCOM - stringstream stuff that nobody was using anyway
r=dougt, sr=dveditz
2002-06-26 01:40:31 +00:00
alecf%netscape.com fb9525040a fix bug 149102 - stop exporting some old unused methods from XPCOM, and get rid of nsOutputConsoleStream and consumers
also removing FilesTest from the build because its outdated, doesn't test anything useful anymore, and is the last consumer of nsOutputConsoleStream
r=dougt, sr=jag
2002-06-20 20:35:37 +00:00
shaver%mozilla.org fb0d67af5b Bug 76968: expand ~/ into NS_OS_HOME_DIR in nsLocalFileUnix. r=bzbarsky,
sr=blizzard.
2002-06-17 21:03:43 +00:00
ccarlen%netscape.com bd87df6f92 Bug 134448 - xpti needs to scan OS-defined plugin dirs. r=peterl, sr=beard 2002-06-14 12:30:44 +00:00
darin%netscape.com bf1cb2aa03 fixes solaris orange b=147333
patch=Roland.Mainz@informatik.med.uni-giessen.de
r/sr=alecf,darin
2002-06-13 21:14:24 +00:00
dougt%netscape.com 92068ae7e2 bug 150165 patch by t.bugz@lament.cjb.net r=bbaetz sr=shaver a=valeski fix typo - [noscrpit] was used instead of [noscript] 2002-06-13 20:13:17 +00:00
seawood%netscape.com 5fd4861d47 Use the unix native char conversion routines on BeOS.
Bug #151406 r=timeless
2002-06-13 14:53:30 +00:00
chak%netscape.com c2bcdc4a98 Fix for #130877 - Chnages to create app specific component registries
r=dougt, sr=shaver, a=drivers
2002-06-11 20:38:01 +00:00
dougt%netscape.com e202a87635 Fix for 149754. cleaner xpcom shutdown. r=rpotts, sr=shaver 2002-06-11 19:38:41 +00:00
dougt%netscape.com 913bbb6f6c Fixes bugs 149745 148918 149715 149730 149754 129959. Cleanup of nsIFile and nsILocalFile interfaces, supporting do_GetInterface in embedding via xcom glue, and general cleanup of shutdown. r=various, sr=shaver@mozilla.org 2002-06-11 19:26:04 +00:00
darin%netscape.com c517690a2b fix more bustage 2002-06-10 19:47:22 +00:00
darin%netscape.com fe542beb39 fix win32 gmake build bustage 2002-06-10 19:46:19 +00:00
darin%netscape.com 7420d70bf9 fixes bug 147333 "Cannot load local files whose names contain
Japanese/Chinese characters" r=bstell sr=brendan a=asa
2002-06-10 18:50:11 +00:00
mkaply%us.ibm.com 1aca897d05 #147977
r=jpierre, sr=blizzard
OS/2 only - int32 math causing incorrect computation of disk space
2002-06-05 04:02:33 +00:00
neeti%netscape.com 8b9e37be96 fix for bug 142629 - [win32 only] recursive copy / move errors are not properly bubbled up, r=dougt, sr=sspitzer 2002-06-04 18:47:37 +00:00
dougt%netscape.com 41451434dd Fixes top crash in M1RC3 crash [@ nsLocalFile::GetPath], r=rpotts@netscape.com, sr=darin@netscape.com 2002-06-03 01:47:11 +00:00
dougt%netscape.com c683a217ab Fixes mozilla/strings requiring unfrozen nsCRT class. patch by scc, r=dougt, sr=jag, b=136756 2002-05-15 18:55:21 +00:00
mkaply%us.ibm.com 2b4395ef82 #144554
r=me, sr=blizzard
OS/2 - remove stupid code that broke mail migration
2002-05-14 20:35:18 +00:00
darin%netscape.com 838fb89c78 freezing nsIFile/nsILocalFile API (b=129279)
r=dougt sr=alecf
2002-05-13 22:55:29 +00:00
darin%netscape.com adf3492765 fixes bug 143311 "nsStreamListenerTee should completely drop mSink during
OnStopRequest" r=gordon,dougt sr=rpotts
2002-05-10 18:38:09 +00:00
darin%netscape.com 6fd5862e6e fixes bug 142870 "nsIFile should use UCS-2 instead of UTF-8"
r=dougt sr=alecf
2002-05-07 23:07:19 +00:00
shanjian%netscape.com d2a268fe04 #141877 file:// protocol does not display non ASCII folder name under cjk window system
use mbsrchr to check if the last char in patch is '\'
r=dougt, sr=alecf
2002-05-07 20:09:07 +00:00
darin%netscape.com 98fb4cb449 fixing documentation bug (r=ccarlen) 2002-05-06 22:45:30 +00:00
darin%netscape.com b4b75daa66 cleaning up documentation, marking some interfaces frozen, and splitting
up some interfaces into separate IDL files (b=124465)
reviewed by dougt and bbaetz
2002-05-03 07:49:43 +00:00
darin%netscape.com 7b515efbd9 documentation cleanup for nsIFile/nsILocalFile API changes (no code changes) 2002-05-03 06:01:29 +00:00
ben%netscape.com 97806552b8 Forgot to check in this file, which was r=dbaron, sr=waterson as part of previous checkin 2002-05-03 03:37:31 +00:00
ben%netscape.com bdd1b4d691 [Chrome FastLoad]
Patch to make FastLoad Service return the previous URI selected when selecting a new one, as well as fixing a few issues relating to dependencies on non-existent files. Patch from brendan, r=dbaron, sr=waterson
2002-05-03 02:59:42 +00:00
timeless%mac.com 062a95f64d Bug 125489 'Privacy & Security' item has no children + items from tasks menu
patch by Roland.Mainz@informatik.med.uni-giessen.de
r=dougt sr=brendan
2002-05-01 23:04:46 +00:00
alecf%netscape.com f7d134dbe1 officially remove the REQUIRES=uconv dependency from xpcom!
r=mcafee, sr=darin
bug 100676
2002-04-30 20:57:35 +00:00
brendan%mozilla.org 1bbd2fb18b Avoid opening and trying to reopen in CopyTo, so we work on FAT32 filesystems mounted on Linux (e.g.; 134163, r=dougt, sr=waterson). 2002-04-29 23:35:18 +00:00
sdagley%netscape.com f5ad1d9272 Fix #139360 - Don't silently fail when file name from FilePicker >31 characters. Do a mid-trunc until we can switch to HFS+ APIs. r=ccarlen,pinkerton sr=scc 2002-04-29 06:22:55 +00:00
darin%netscape.com 4d2baf8913 fixing solaris bustage 2002-04-27 09:02:53 +00:00
darin%netscape.com d33011ceed fixing OS/2 bustage 2002-04-27 07:34:27 +00:00
darin%netscape.com a186b790c7 fixes OS/2 bustage 2002-04-27 06:45:16 +00:00
darin%netscape.com e554d83626 fixes bug 129279 "nsIFile unicode/utf8/ascii task"
r=dougt sr=alecf
2002-04-27 05:33:09 +00:00
sspitzer%netscape.com b4293a3227 fix for #101527. moveTo() of directories leaves subdirectories behind on win2k.
r=dougt, sr=bienvenu
2002-04-25 18:56:04 +00:00
mkaply%us.ibm.com ee5fff30d0 #100676
r=pedemont,cls (makefile), sr=alecf, a=shaver
OS/2 only - remove dependency on uconv for filename conversions
2002-04-24 03:47:06 +00:00
jkeiser%netscape.com 0dc252669f Close submitted files (input type=file) when done with them. (bug 126829) r=dougt@netscape.com, sr=darin@netscape.com 2002-04-18 22:02:09 +00:00
shanjian%netscape.com a1a1517f87 #128154 Crash: opening non-ascii attachments
replace default "default char" from "?" to "_".
r=ftang, sr=alecf.
2002-04-16 04:10:54 +00:00
ducarroz%netscape.com f5585bf3b8 Fix for bug 129358. Need to pre-initialize spec.name to void memory corruption in the copy constructor when the file doesn't exist. Also protect the copy constructor against bogus spec.name. R=fraser, SR=sspitzer, A=asa 2002-04-10 21:31:27 +00:00
ccarlen%netscape.com 62aa5b03ad Bug 12911 - use relative file descriptors. This adds the needed methods to nsILocalFile. r=dougt/sr=alecf/a=asa/adt=jaime 2002-04-09 14:12:24 +00:00
katakai%japan.sun.com 11e8aa1a45 bug 131161
mozilla crashed when open file where there is an chinese name file under the directory
check return value of GetUnicodeLeafName() also call Reset() for encoder and decoder to reset the state
r=shanjian,sr=darin,a=asa
2002-04-09 01:54:09 +00:00
dprice%netscape.com ad56e36c49 105087 r=dveditz, sr=mscott, a=asa
hook up the installer and the directory service
2002-04-02 23:56:43 +00:00
darin%netscape.com 9863e6beae fixes bug 130301 "Cannot submit large POST requests since Mozilla 0.9.9"
r=brade, sr=rpotts, a=asa
2002-04-01 05:06:59 +00:00
dbaron%fas.harvard.edu 6cdcd7ef3a Convert users of nsAReadable[C]String and nsAWritable[C]String typedefs to [const] nsA[C]String. b=131899 r=scc sr=jag a=asa 2002-03-24 00:16:18 +00:00
mkaply%us.ibm.com 8b411b49e9 #132295
r=dougt, sr=scc, a=asa
OS/2 only - save the location of the Profile directory to OS2.INI so third party apps can get it
2002-03-22 21:26:15 +00:00
seawood%netscape.com e1e0b68be2 Backing out alecf's checkin for bug 124497 to fix comet startup test problem.
Dougt claims that nsLocalFile's copy constructor doesn't work.
r=sleestack
2002-03-20 03:16:09 +00:00
dougt%netscape.com 5499fc7062 99160. Moving utility functions into a seperate header. r=jband, sr=rpotts, a=brendan 2002-03-20 00:34:17 +00:00
alecf%netscape.com d4a8db354a fix leak caused by nsLocalFile::Clone() where we were copying the refcnt to the new object - bug 124497
this ends up being more of a performance win than anyting on Unix and OS/2
r=mkaply, dbaron, sr=darin, a=asa
2002-03-20 00:25:21 +00:00
brade%netscape.com a8b61b1da2 always seek so variables are initialized properly, increment mSegmentNum before getting next block; bug 129760, r=dougt, sr=darin, a=Asa 2002-03-19 14:11:06 +00:00
alecf%netscape.com f9de1f9460 fix for bug 124497 - leaking nsLocalFile objects - the copy constructor was copying the refcount to the new object
so the new object would always leak
r=dbradley, sr=darin, a=asa
2002-03-16 05:30:15 +00:00
darin%netscape.com c0dfb0de9e minor change of tense: "to read" -> "to be read" 2002-03-12 01:01:08 +00:00
darin%netscape.com 281c86ec58 b=99165 Freeze nsIInputStream nsIOutputStream (not yet frozen... but close)
r=dougt sr=shaver a=asa
2002-03-12 00:59:06 +00:00
dougt%netscape.com 5aa32ad0fc fixing a comment a=dbaron. bug 124002 2002-03-08 00:05:34 +00:00
ccarlen%netscape.com b82f5db31e Bug 45699 - Load plugins from profiles directory. r=peterl/sr=roc+moz/a=asa 2002-03-07 15:24:40 +00:00
darin%netscape.com f1a6738b6c fixes bug 124042 "support internationalized URIs" r=dougt, sr=alecf, a=asa 2002-03-06 07:48:55 +00:00
blakeross%telocity.com 4e4b80e712 128667 - launch windows app picker dialog if file has no association. r=law sr=ben a=asa 2002-03-06 01:11:34 +00:00
blakeross%telocity.com aabb968456 128969 - necessary dir/profile-related download manager changes. r=ccarlen sr=ben a=asa 2002-03-05 22:30:28 +00:00
cathleen%netscape.com b4b6e3703b fix build bustage, due to nsCRT::strlen(char* s) removed 2002-02-28 05:00:18 +00:00
cathleen%netscape.com 5468d9b6ff fix bustage due to nsCRT::strlen(char* s) removed 2002-02-28 04:55:04 +00:00
dougt%netscape.com 874111f277 Adding build SDK support. r=dougt, sr=alecf, submitted by seawood, a=asa 2002-02-25 23:20:01 +00:00
brade%netscape.com 08de4648bd only return NS_BASE_STREAM_WOULD_BLOCK when write is in progress (send NS_OK when we're done writing); (bug 121314; r=adamlock; sr=darin; a=shaver) 2002-02-25 18:49:16 +00:00
arougthopher%lizardland.net b4f0190760 Fix for Bug#69707
BeOS implementation of nsLocalFile::Launch and nsLocalFile::Reveal

r=cls (seawood@netscape.com)
a=asa (asa@mozilla.org) on behalf of drivers
2002-02-21 03:33:42 +00:00
cathleen%netscape.com 8baf662f08 eliminate nsCRT::strlen for char* strings (part 5), bug 124536 r=dp sr=brendan 2002-02-20 06:38:38 +00:00
law%netscape.com 1f2dafaf8c Bug 106082; Adds code to select item in Explorer window for Reveal(); r=sgehani, sr=hyatt 2002-02-20 05:41:34 +00:00
alecf%netscape.com e26aed73cd oops, back out this change, wasn't supposed to land 2002-02-18 23:00:11 +00:00
alecf%netscape.com 8c0ab1d965 remove a bunch of dead code, and remove NS_COM from a bunch of concrete classes that weren't being used previously
r=jag, sr=shaver
2002-02-18 22:57:47 +00:00
bnesse%netscape.com 1551d818d3 Fix for bug 98476. Add safe save & redundant backup support for prefs.js. r=sfraser, sr=alecf. 2002-02-16 21:18:38 +00:00
dbaron%fas.harvard.edu 59892aa65e Remove more no-longer-needed nsComponentManager::RegisterComponent calls. Remove remnants of NS_IMPL_IDS macro, associated with long-gone NS_DECLARE_ID. b=125782 r=dougt rs=jag 2002-02-16 16:18:13 +00:00
jkeiser%netscape.com f495d0cc2a Form submission performance / maintability improvements (bug 120682) r=alexsavulov,r=sicking,sr=jst 2002-02-16 01:19:24 +00:00
alecf%netscape.com 356b6b24c2 bug 63025 - stop exporting nsFileSpecImpl as nobody is calling the constructor
r=dougt, sr=shaver
2002-02-15 00:20:49 +00:00
alecf%netscape.com 1ce0f534ae bug 63025 - remove nsFileSpecStreaming, as nobody is using it
r=dougt, sr=shaver
2002-02-15 00:19:33 +00:00
alecf%netscape.com 9d10fa29e7 part of fix to bug 63025 - stop exporting nsLocalFile on windows, because it's not imported by anyone
r=dougt, sr=shaver
2002-02-15 00:14:20 +00:00
mkaply%us.ibm.com 12b3340b2a 117258 from nsLocalFileWin put into OS/2 to fix trap 2002-02-12 22:14:32 +00:00
bzbarsky%mit.edu 648c636bba Get rid of extra leading slashes appearing in unix paths. Bug 124873,
r=petejc@optonline.net, sr=brendan.
2002-02-12 21:05:56 +00:00
timeless%mac.com 240333fdfc Bug 52037 w/ w95osr2 and beyond you can get freediskspace for a full path (eg UNC Paths).
The code will use the Ex API if available.
With this change the function should get the correct freespace numbers for submounts and junction points (introduced in w2k).

r=dougt sr=dveditz
2002-02-07 14:46:10 +00:00
brade%netscape.com 15e11e7082 optimization (don't call writer with 0 bytes); bug 122221; r=akkana, sr=darin 2002-02-07 14:19:32 +00:00
dougt%netscape.com e27f1817ae backing out. not part of 122523 bug fix 2002-02-06 20:42:02 +00:00
dougt%netscape.com 9659a6ca32 Optimization which gathers stat() info when opening a file. bug 122523, r=dp@netscape.com, sr=dveditz@netscape.com 2002-02-06 20:40:40 +00:00
cathleen%netscape.com 740d95a0a9 eliminates 107 nsCRT::memset calls to use memset instead. removed nsCRT::memset() function. bug 118135 r=dp sr=brendan 2002-02-05 01:41:13 +00:00
ccarlen%netscape.com 05264d61b9 Bug 121235 - Freeze nsIDirectoryServiceProvider2. r=dougt@netscape.com/sr=jband@netscape.com 2002-02-04 13:10:54 +00:00
bryner%netscape.com 40ccb42c7c Fixing some warnings in xpcom. Bug 118377, r=hwaara, sr=shaver. 2002-02-03 07:05:10 +00:00
dougt%netscape.com 48c22e5ce4 backing out my optimization 2002-02-02 03:20:01 +00:00
darin%netscape.com e744cc20da should fix btek bustage 2002-02-02 02:49:52 +00:00
dougt%netscape.com 97c85e367d fixes 122892. Optimization Clone of nsLocalFile. Instead of reiniting object, we use default c++ copy construction. r=ccarlen@netscape.com, sr=dveditz@netscape.com 2002-02-02 01:25:57 +00:00
alecf%netscape.com b5f9b30d70 windows side of fix to bug 100676 - remove xpcom dependency on uconv by switching to native locale-conversion routines
r=ccarlen, sr=dveditz
2002-01-31 21:55:01 +00:00
alecf%netscape.com f65110231b mac side of fix for bug 100676
code by ccarlen, r=alecf, sr=sfraser
remove xpcom dependency on uconv by switching to native mac locale-conversion routines
2002-01-31 21:54:16 +00:00
rjc%netscape.com 73c203cb23 Fix bug # 122571: add ability to determine if a directory is actually a package (for Mac OS 9/X) r=ccarlen sr=ben 2002-01-30 23:53:12 +00:00
dougt%netscape.com dcab435cdf Backing out nsIFile changes which should not have landed. 2002-01-29 21:42:38 +00:00
dougt%netscape.com c50ca402ad 1. Converts callers of nsIComponentManagerObsolete to use
nsIComponentRegistrar.

2. Converts callers of nsComponentManager::AutoRegister to use
nsIComponentRegistrar's autoRegistrar method.

3. Add nsIComponentRegistrar implmentation to nsComponentManagerImpl.

4. Rearrange nsComponentManager.cpp so that related methods are in the same
place.

5. Added a C-style function NS_GetComponentRegistrar so that getting the
registrar is easier in some places.

6. Added a nsISimpleEnumerator interface on PLDHashTableEnumeratorImpl.  in
this way, the same base class can support both old style and new style
enumerations.

7. Fixed a nasty bug where unregistring factories will leave the contract id
hash with a dangling pointer.  Now, when unregister is called we search the
contract id hash for entries which have the given doomned cid and remove them.


Bug 115853.  r=dp@netscape.com, sr=rpotts@netscape.com
2002-01-29 21:22:13 +00:00
seawood%netscape.com 485c70c6c9 S_ISSOCK isn't defined on BeOS. 2002-01-28 07:02:02 +00:00
alecf%netscape.com bcd6a6fb94 fix for bug 121508 - clean up nsStringStream and nsIParser APIs.. r=dougt, sr=jst 2002-01-27 22:02:00 +00:00
pete%alphanumerica.com c24e6ecf67 getting rid of -D_USE_BSD
Pulling implementation out of the header file seemed to have fixed the bustage

--pete
2002-01-27 18:57:41 +00:00
pete%alphanumerica.com 0df32e6c7d adding -D_USE_BSD to see if lstat will work on these linux flavors
--pete
2002-01-27 18:32:11 +00:00
pete%alphanumerica.com 45322bb2c1 adding -D_BSD_SOURCE to Makefile.in as seawood suggested
to fix linux bustage

--pete
2002-01-27 18:17:33 +00:00
pete%alphanumerica.com fcb153605f movind implementation of FilleStatCache into nsLocalFileUnix.cpp
where other calls to lstat work fine

This is an attempt to fix bustage on some linux platfroms

--pete
2002-01-27 18:02:18 +00:00
pete%alphanumerica.com 58ac07cfac moving defs into header file
To fix bustage

--pete
2002-01-27 17:46:14 +00:00
pete%alphanumerica.com 87669396a2 adding header files for linux for lstat
seeing if this fixes breakage

--pete
2002-01-27 17:31:24 +00:00
pete%alphanumerica.com 1b90b08e4d b=107641, r=blizzard, sr=brendan
fix: CopyTo won't copy read-only files or broken symlinks

Thanks to garths@oeone.com for help on this one.

--pete
2002-01-27 14:31:25 +00:00
darin%netscape.com d0cddf5d96 fixes bug 114778 "formpost temp files not cleaned up when browser exits"
patch=badami@netscape.com, r=rpotts@netscape.com, sr=darin@netscape.com
2002-01-26 00:38:37 +00:00
cathleen%netscape.com 486c0d47f9 remove memcpy function from nsCRT, eliminate 2 new nsCRT::memcpy callers
and fix up alighment problems from previous patch, bug 118135, sr=brenda r=dp
2002-01-26 00:04:45 +00:00
darin%netscape.com 3f94575093 fixing compiler warning of uninitialized variable resulting from my checkin
for bug 121441
2002-01-25 10:47:24 +00:00
darin%netscape.com 3cf710f917 fixes bug 121441 "unable to publish via http PUT (nsStorageStream should
support nsISeekableStream)"
r=brade, sr=dveditz
2002-01-25 02:13:00 +00:00
alecf%netscape.com e13a34a78b fix for bug 121627 - UTF8ConverterStream should not allocate - now that we've exposed ConvertUTF8toUCS2,
use it to do a conversion into the existing unichar buffer
r=dbaron, sr=jst
2002-01-24 23:53:53 +00:00
pinkerton%netscape.com 7180e5e8d1 allow --enable-default-toolkit=cocoa in makefiles and default toolkit can now be overridden on platform that don't use X11. r=cls/sr=hyatt. bug#121496 2002-01-24 15:11:18 +00:00
ccarlen%netscape.com e796f5c804 Bug 116435 - The provider in nsAppFileLocationProvider.cpp should always be registered. r=dougt/sr=rpotts/a=dbaron 2002-01-22 23:00:44 +00:00
ccarlen%netscape.com cf1afba8e1 Removing file made obsolete by fix to bug 100828. r=rjc/sr=sfraser. 2002-01-16 05:52:50 +00:00
rjc%netscape.com d0e69f1616 Fix bug # 120037: leading '.' indicates hidden when on Mac OS X. r=ccarlen sr=sfraser 2002-01-15 22:31:19 +00:00
ccarlen%netscape.com 4740373b28 Bug 56295 - doesn't work for file names > 31 chars. r=sdagley/sr=sfraser 2002-01-15 02:22:39 +00:00
sfraser%netscape.com 1af143b53c Fix bug 103202; make nsLocalFileMac faster copying files by allocating a 512k buffer, and passing it to the MoreFiles routines that do file copying (which would otherwise use an internal 16K buffer). r=sdagley, sr=sspitzer. 2002-01-15 01:14:55 +00:00
mkaply%us.ibm.com 2f545596be #1192111
r=mkaply, sr=blizzard
OS/2 only - better file dialog
2002-01-14 21:17:43 +00:00
blakeross%telocity.com fe74df5263 86979 - launch file after donwloading does not honor OS file associations. r=ben sr=hewitt 2002-01-14 05:24:49 +00:00
cathleen%netscape.com 92d4fbf218 converted 271 references to nsCRT::memcpy to memcpy, bug 118135 r=dp 2002-01-12 03:18:55 +00:00
alecf%netscape.com bd2a6aec4a fix take 2 on bug 114134, crashes when reading utf8 strings from dtds/etc
r=dbaron, sr=jag
when multi-byte characters crossed a buffer boundary, we weren't correctly backing up and instead tried to decode the half-loaded utf8 character... in addition, our new "remainder" count was completely broken - we were adding the old remainder to the new remainder, when in fact we had just consumed the old remainder
2002-01-12 02:38:08 +00:00
darin%netscape.com b7c1f99a52 these files no longer need to include nsEscape.h 2002-01-12 01:21:40 +00:00
darin%netscape.com 3de33f888b cleaning up some comments 2002-01-12 01:19:45 +00:00
darin%netscape.com e4ecaec549 fixes first part of bug 109179 "replace NS_EscapeURL with NS_EscapeURLPart"
r=andreas.otte@debitel.net
sr=alecf@netscape.com
2002-01-11 23:02:22 +00:00
alecf%netscape.com b0f44a323d dammit why does this break linux?!
backing out my last checkin
2002-01-11 22:44:30 +00:00
alecf%netscape.com 21a3f3ae6f progress towards 108962 - fix nsLinebreakConverter to stop using private nsStr members
r=dbaron, sr=jag
2002-01-11 22:40:09 +00:00
alecf%netscape.com 6684d81636 fix for bug 114134 - crash when localizing some strings
when multi-byte characters crossed a buffer boundary, we weren't correctly backing up and instead tried to decode the half-loaded utf8 character... in addition, our new "remainder" count was completely broken - we were adding the old remainder to the new remainder, when in fact we had just consumed the old remainder
r=dbaron, sr=jag
2002-01-11 20:34:11 +00:00
alecf%netscape.com 4bcb3fde51 removal lame nsFileSpec operators, bug 100676 r=ccarlen sr=waterson 2002-01-09 21:31:19 +00:00
alecf%netscape.com 63991ddfde final fix for bug 100212 - removal final dependency on necko from xpcom by removing nsIFile.URL r=dougt, sr=darin Yay! 2002-01-09 20:03:46 +00:00
ccarlen%netscape.com 9d933c6751 smoketest blocker 118788 r=/sr=sfraser@netscape.com 2002-01-09 01:04:17 +00:00
dougt%netscape.com 92eaa0797b Fixes 116299 Reduce size of nsLocalFileWin by 2 ptrs by factoring out shortcut resolver. Also fixes crash 117258 caused by trying to create a file or directory to a nonexistant drive. sr=rpotts, dveditz for the first bug, and sr=darin, r=gagan for the second bug 2002-01-08 02:20:13 +00:00
ccarlen%netscape.com 525230cf76 Bug 100828 - nsLocalFileMac reworking. r=rjc@netscape.com/sr=sfraser@netscape.com 2002-01-07 14:35:04 +00:00
ccarlen%netscape.com 9890da27d7 Bug 100828 - New file for nsLocalFileMac reworking. r=rjc@netscape.com/sr=sfraser@netscape.com 2002-01-07 14:31:44 +00:00
timeless%mac.com 61a97fd94a Bugzilla Bug 106386 rid source of these misspellings: persistant persistance priviledge protocal editting editted targetted targetting
r='s from many people. sr=jst
2001-12-23 23:23:41 +00:00