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

1151 Коммитов

Автор SHA1 Сообщение Дата
alecf%netscape.com 3d4709d420 removal lame nsFileSpec operators, bug 100676 r=ccarlen sr=waterson 2002-01-09 21:31:19 +00:00
alecf%netscape.com b5b8d27153 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 92c4be61be smoketest blocker 118788 r=/sr=sfraser@netscape.com 2002-01-09 01:04:17 +00:00
dougt%netscape.com 09f3d1beef 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 0f9cb6c5fc Bug 100828 - nsLocalFileMac reworking. r=rjc@netscape.com/sr=sfraser@netscape.com 2002-01-07 14:35:04 +00:00
ccarlen%netscape.com 062270c10d 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 711739d601 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
tingley%sundell.net 710766a6f6 bug 100132: clean up over-zealous error masking in
nsRDFXMLDataSource::BlockingParse(), and bring nsLocalFileUnix's
OpenNSPRFileDesc() return values in line with other platforms.
r=waterson, sr=brendan
2001-12-22 19:08:48 +00:00
andreas.otte%debitel.net c151bda8af Fix bug 108575 [rethink contents of escape matrix] Change escaping of
', ~ and @ to better reflect rfc 2396, r=dougt@netscape.com, sr=darin@netscape.com
2001-12-21 22:29:02 +00:00
dougt%netscape.com 45e6872306 fix stupid checkin that should not have landed 2001-12-19 02:43:21 +00:00
dougt%netscape.com 26623aa6c1 more bustage 2001-12-19 01:03:10 +00:00
dougt%netscape.com 9a75bc4b8e nsIComponentManager API Changes (bug 98553)
a) create a new nsIComponentManager with only four functions on it:
CreateInstance CreateInstanceByContractID GetClassInfo GetClassInfoByContractID.

b) rename the old nsIComponentManager to nsIComponentManagerObsolete.

c) fixes callers which use to access the nsIComponentManager for component
registration functionality.  These callers will temporary use the
nsIComponentManagerObsolete interface.

d) Create a new API NS_GetComponentManager() which mirrors the
NS_GetServiceManager()

e) Perserves the old NS_GetGlobalComponentManager().  Note the cast usage.

r/sr = rpotts@netscape.com  alecf@netscape.com  brendan@mozilla.org
2001-12-19 00:12:41 +00:00
rjc%netscape.com c23cfd8399 Fix bug # 101280: on Mac OS X, use proper IE Favorites. r=ccarlen sr=ben 2001-12-15 00:43:23 +00:00
seawood%netscape.com 87cae106c8 Add win32 support to xpcom Makefile.ins
Bug #58981 r=bryner
2001-12-09 07:05:12 +00:00
dbaron%fas.harvard.edu f63091c742 Fix inefficient Assign pattern to use Append instead. b=113188 r=jag sr=jst 2001-12-08 22:51:15 +00:00
pete%alphanumerica.com c7055f2543 b=77933, r=ccarlen, sr=jst
nsIFile::CreateUnique() has unused parameter

removed unused parameter
/**
    WARNING commercial tree has one hit for this API change
 */
--pete
2001-12-07 23:06:51 +00:00
dougt%netscape.com 3b0e7fc9bb fixing a bad #ifdef r=me. sr=darin 2001-12-07 01:08:35 +00:00
dbaron%fas.harvard.edu e480ae9a96 Simplify loop in CountValidUTF8Bytes and fix UMR. b=110531 r=jag sr=alecf 2001-12-05 03:49:13 +00:00
dbaron%fas.harvard.edu 6d56c5c4e7 Fix orange by exiting loop when bytes hits aMaxBytes rather than waiting for it to get farther. 2001-12-04 04:22:44 +00:00
alecf%netscape.com a9418e11c9 fix for bug 110531, r=dougt, jag, sr=darin - moving ConverterInputStream into uconv, and changing the one in XPCOM into an UTF8-only converter 2001-12-04 01:10:43 +00:00
pete%alphanumerica.com e3f793389c b=112515, r=douft, sr=jst
remove spawn method from nsIFile.

/**
    Warning nsIFile API change
 */

--pete
2001-12-04 00:27:43 +00:00
pete%alphanumerica.com 188c2ca38d b=92569, r=dougt, sr=brendan
nsLocalFileUnix cleanup part two.
nothing but white space and comment cleanup

--pete
2001-11-29 00:07:10 +00:00
pete%alphanumerica.com d453b8de4a b=92569, r=dougt, sr=brendan
nsLocalFileUnix general clean up

--pete
2001-11-28 15:12:14 +00:00
dbaron%fas.harvard.edu 88c03c4196 Make nsSharable[C]String writable by overriding appropriate methods. Ensure that it doesn't store null buffer handle pointer internally, and override get() on nsXPIDL[C]String for backwards-compatibility. Collapse nsSharedBufferHandle and nsFlexBufferHandle into nsSharedBufferHandle which knows its length but can't have a storage start distinct from its data start. Convert string users who were working around broken nsSharableString::Assign back to using it. b=104663, 100751, 74726 r=jag sr=scc 2001-11-28 05:22:57 +00:00
ccarlen%netscape.com 659aee3629 Bug 110660 - MOZ_PLUGIN_PATH not added to plugin search paths. r=peterl/sr=jband 2001-11-26 15:54:38 +00:00
timeless%mac.com 7873addd19 Bugzilla Bug 107823 change nsIFile
to use 'Modified' instead of 'Modification'
r=akkana sr=brendan
2001-11-26 08:05:05 +00:00
brendan%mozilla.org 67757c13c3 Break self-cycle to fix leak (106860, r=dbaron, sr=bienvenu). 2001-11-26 01:20:31 +00:00
darin%netscape.com 8582a00a2c fixing bustage 2001-11-22 00:56:08 +00:00
darin%netscape.com ca0b3af466 fixes mac bustage 2001-11-22 00:28:30 +00:00
darin%netscape.com 03ab51770e enables new scriptable string stream interface (bug 100172) r=dougt, sr=rpotts 2001-11-22 00:08:14 +00:00
darin%netscape.com e129afb980 new files for bug 100172 "need scriptable string stream implementation (must
support nsIInputStream)" r=dougt, sr=rpotts
2001-11-21 23:55:10 +00:00
seawood%netscape.com d8927fcc61 Rename 'install' build phase to 'libs'.
Bug #56601 r=pavlov
2001-11-21 09:49:41 +00:00
darin%netscape.com 1221caec1e removing dead/unused files 2001-11-20 02:31:47 +00:00
alecf%netscape.com e3acec7fba Fix for bug 110371 - remove uconv dependency from nsFileSpec by moving unicode-related routines into mailnews. sr=sspitzer, r=nhotta 2001-11-19 15:28:56 +00:00
dp%netscape.com 756988fba6 Printing the dll name in the timeline r=sgehani, sr=sfraser 2001-11-17 20:37:08 +00:00
dp%netscape.com 4d902af9fb Printing the dll name in the timeline r=sgehani, sr=sfraser 2001-11-17 20:23:48 +00:00
ccarlen%netscape.com c0c3be1f2a Bug 103384 - Move unicode conversion out of nsLocalFileCommon.cpp r=dougt/sr=alecf 2001-11-16 14:54:38 +00:00
ccarlen%netscape.com 0af14d71c8 Adding new files for bug 103384 - move unicode conversion out of nsLocalFileCommon.cpp r=dougt/sr=alecf 2001-11-16 14:47:42 +00:00
locka%iol.ie 4f6d10d2d4 Fix for nsILocalFIle::GetURL returning malformed URLs on Unix. b=110299 r=blizzard@mozilla.org sr=waterson@netscape.com 2001-11-16 12:07:38 +00:00
darin%netscape.com 3b0beda0ba landing standard url rewrite (bug 103916)
r=andreas.otte@debitel.net, sr=brendan,alecf
2001-11-16 02:09:13 +00:00
darin%netscape.com e27728cf39 fixing mac bustage 2001-11-14 07:38:05 +00:00
darin%netscape.com 98a39fa92e patch for bug 107789 "deprecate nsIRandomAccessStore (superceded by nsISeekableStream)"
r=dougt, sr=rpotts
2001-11-14 06:45:27 +00:00
pete%alphanumerica.com 0817f8a5cf b=108925, r=shaver, sr=jst
patch to remove symlinked dirs when recursive flag is set to false

--pete
2001-11-14 03:42:59 +00:00
dbaron%fas.harvard.edu 58bfb374e8 Bug 53057: Fixing up users of implicit |CharT*| conversion operators for nsCString to use |.get()| instead, rr=jag, rs=scc 2001-11-11 01:42:10 +00:00
pete%alphanumerica.com ffdc1d1d34 b=53596, r=dougt, sr=brendan
nsLocalFileUnix fix for ::GetLeafName not working on relative paths

--pete
2001-11-11 00:15:28 +00:00
dbaron%fas.harvard.edu 034dc4a4b8 Fix |#ifdef TARGET_CARBON| assertions for bug 104651 to fix blocker bug 108911 (TARGET_CARBON changes only). 2001-11-07 22:08:31 +00:00
dbaron%fas.harvard.edu 261f76a8ba Ensure that string literals are used as |const char*| rather than |char*|. r=jag sr=brendan b=107052 2001-11-07 06:24:10 +00:00
dbaron%fas.harvard.edu 738f794f2d Quiet annoying warning on HP by using the two-step NS_STATIC_CAST that is really meant here. r=jag sr=brendan b=107052 2001-11-07 04:12:24 +00:00
dbaron%fas.harvard.edu c0623fdbcd Add assertions that users of nsDependentC?String meet the requirements of nsAFlatC?String. Add nsDependentSingleFragmentC?Substring for users that don't. Additional cleanup after bug 100214. b=104651 r=jag sr=scc 2001-11-07 04:12:20 +00:00
blizzard%redhat.com 798f3859c5 back out darin's fix for bug #107789 since it caused blocker #108637. 2001-11-06 16:32:52 +00:00
jdunn%netscape.com a785da805d fixing build bustage on HP's & AIX's new compilers
removing the static keyword from a couple templates
sr=jst@netscape.com
# 106167
2001-11-06 13:22:05 +00:00
darin%netscape.com ff691a5e15 fixes mac bustage 2001-11-06 03:56:00 +00:00
darin%netscape.com 803d882528 fixes bug 107789 "depracate nsIRandomAccessStore (superceded by nsISeekableStream)"
r=dougt, sr=rpotts
2001-11-06 02:50:42 +00:00
pete%alphanumerica.com 028b5e7203 b=92329, r=ccarlen, sr=brendan
Fix for nsLocalFileUnix ::GetTarget doesn't handle relative symlinks


--pete
2001-11-06 01:42:00 +00:00
andreas.otte%primus-online.de 626f01eda6 fix bug 61269 ['%' will get URL-escaped to "%25" if not followed by 2
hexadecimal digits] We no longer escape an % which is not followed by
two hex characters, at least not until forced. This is more compatible
with current usage in other browsers. r=dougt@netscape.com,
sr=darin@netscape.com
2001-11-03 14:55:57 +00:00
seawood%netscape.com c79715ed1b Backing out fix for remote mach-o builds as it left mach-o builds fragile.
Add TK_CFLAGS back to default CFLAGS/CXXFLAGS.
Bug #107696
2001-11-03 03:29:05 +00:00
ccarlen%netscape.com 13ec7ea65a Bug 105440 - directory service needs new keys and be able to support lists of directories. r=valeski/sr=jband 2001-11-02 15:29:57 +00:00
jaggernaut%netscape.com dfe4ef469b Bug 53057: Fixing up users of implicit |CharT*| conversion operators for nsCString to use |.get()| instead, rr=dbaron, rs=scc 2001-11-02 06:39:49 +00:00
dougt%netscape.com 99d359e57c Fix for 104962. Using faster win api SHGetSpecialFolderPath. r=dveditz@netscape.com, sr=jband@netscape.com 2001-11-01 22:16:56 +00:00
jaggernaut%netscape.com 4a7f082fb7 Bug 53057: Fixing up users of implicit |CharT*| conversion operators for nsCString to use |.get()| instead, rr=dbaron, rs=scc 2001-11-01 09:09:57 +00:00
seawood%netscape.com 6daf60f372 Since '-framework Carbon' causes binaries to require console access to run, do not link using that flag by default. Otherwise, remote builds & non-console tinderboxes will break. Mac OSX Mach-O only.
Bug #107696 r=mozbot
2001-11-01 00:54:48 +00:00
pete%alphanumerica.com 41da234dd2 b=107823, r=ccarlen, sr=brendan
--pete
2001-11-01 00:11:15 +00:00
jband%netscape.com 45a0a569e9 add support for nsIVariant and nsIPropertyBag. bug 44675 and bug 98209. sr=vidur r=dbradley 2001-10-31 23:35:07 +00:00
brendan%mozilla.org 1f2b9eb5f4 Store FastLoad dependency mtimes, and invalidate if any changes (106021, r=dveditz, sr=shaver). 2001-10-31 08:29:25 +00:00
dougt%netscape.com 99c6f8e84d ugh. I did not mean to commit these changes. Backing out 2001-10-30 22:19:32 +00:00
dougt%netscape.com 105a0e23bf Moving nsISimpleEnumeratory interface into a seperate idl file. bug 99136. r=alecf@netscape.com, sr=rpotts@netscape.com 2001-10-30 22:03:05 +00:00
peterv%netscape.com 38afee1116 Add DEBUG-only include of "prenv.h". Bustage fix. 2001-10-27 17:27:29 +00:00
seawood%netscape.com 93a92132d7 Landing the rest of the mach-o OSX changes.
Bug #75653 r=cls sr=waterson
2001-10-27 07:38:18 +00:00
jaggernaut%netscape.com d77d1a3808 Bug 53057: [API] turn off implicit |CharT*| conversion operators for nsCString, rr=dbaron, rs=scc 2001-10-24 09:06:49 +00:00
dougt%netscape.com 0fb9b8c07c reverting to the old way to get windows directories since the function I am using does not work on windows systems without IE4. a=nhotta@netscape.com 2001-10-17 19:38:58 +00:00
dougt%netscape.com 63a34de0d5 Improvements to GetWindowsFolder. bug 104962, r=dveditz@netscape.com, sr=darin@netscape.com 2001-10-16 23:33:08 +00:00
brendan%mozilla.org a96c9a9870 Add SetAlphaBounds, TABLE_SIZE, and MIN_ALPHA APIs (103990, r=dbaron, sr=waterson). 2001-10-16 05:40:27 +00:00
dbaron%fas.harvard.edu 2dcf82b72b Bug 69873: remove nsAutoCString. r=jag rs=scc 2001-10-12 02:57:59 +00:00
bienvenu%netscape.com 7c7aaca10e fix string leak in GetWindowsFolder r=dougt sr=sspitzer 103779 2001-10-09 03:30:12 +00:00
dbaron%fas.harvard.edu 6cb223322f Fix leak of string. b=102996 r=jag sr=bienvenu 2001-10-08 21:10:20 +00:00
jaggernaut%netscape.com f7ae567b08 Bug 81444: eliminate |null_nsCOMPtr|. Eliminating all callers, r=syd, rs=mozbot. 2001-10-07 10:58:39 +00:00
brendan%mozilla.org 83f8bdcc46 Fix to avoid dangling PLDHashTable entry pointers that lead to humongous FastLoad files (95888, r=dbaron, sr=waterson). 2001-10-03 06:57:52 +00:00
sdagley%netscape.com eb58cfe1ed Finish fix of bug 97676 - Also use LaunchServices APIs to map creator code to app under OS X. Fixes automatic launch of helper app and restores ability to override helper app from download dialog. sr=sfraser 2001-10-02 01:45:45 +00:00
sdagley%netscape.com 9def8f5445 Bug 97676 - Use LaunchServices APIs under OS X for helper app launching and fix Reveal to work with OS X Finder. r=ccarlen,sr=sfraser 2001-10-01 06:43:41 +00:00
sdagley%netscape.com f10f202637 Fix Fizilla build bustage caused by conflict between ccarlen's checkin and jag's string changes. r=jag 2001-10-01 00:57:54 +00:00
jaggernaut%netscape.com fdc4078bc4 Bug 100476: Convert uses of member functions ToNewUnicode, ToNewCString and ToNewUTF8String to their global versions and remove support from nsCString and nsString. r=dbaron, rs=scc 2001-09-29 08:28:41 +00:00
gerv%gerv.net f385eb981a Relicensing Round 1, Take 2. Most C-like NPL files -> NPL/GPL/LGPL. Bug 98089. 2001-09-28 20:14:13 +00:00
ccarlen%netscape.com 1e54d6f1da Bug 87831 - Fizilla won't launch if its path contains non-ASCII char. r=ftang/sr=sfraser 2001-09-28 09:19:42 +00:00
alecf%netscape.com 060ef565d4 oops, remove this chrome line - for REQUIRES builds only 2001-09-21 14:28:26 +00:00
racham%netscape.com 6bdf3511df Fixing bug 100404. Backing out changes made to xpcom that caused dependency on chrome component. AccountManager in mailnews need to be fixed as explained in bug 100483 to solve the problem in a better way. 2001-09-19 07:43:41 +00:00
jaggernaut%netscape.com e25262c61f One module per line for REQUIRES. r=/sr=alecf 2001-09-18 22:01:13 +00:00
jband%netscape.com aec825ab4d unbust XPCOM_STANDALONE. bug 66759. These days xpcom relies on nsIChromeRegistry.h too. Gak! r=dougt sr=brendan. 2001-09-18 21:43:46 +00:00
jaggernaut%netscape.com 3826eb9902 Bug 73353: splitting the modules on the REQUIRES lines in Makefile.in across multiple lines to more clearly show the changes made. sr=alecf 2001-09-18 13:41:47 +00:00
alecf%netscape.com cf9912aa80 Final REQUIRES changes for bug 98371, adding support for MOZ_TRACK_MODULE_DEPS to win32. r=cls (and tested by cls!) 2001-09-17 19:06:35 +00:00
mkaply%us.ibm.com 0f70c47416 myotonic REQUIRES bustage I think 2001-09-15 13:00:17 +00:00
racham%netscape.com 240334f1ee Fixing bugscape bug 4198. This fix allows ISPs add signature files to the user accounts. Adding changes to AppFileLocationProvider to get to messenger defaults. 2001-09-15 07:53:54 +00:00
dbaron%fas.harvard.edu e5077ef0df Replace uses of deprecated NS_IMPL_ISUPPORTS and NS_IMPL_QUERYINTERFACE macros with NS_IMPL_{ISUPPORTS,QUERYINTERFACE}{1,0}. r=jag sr=alecf b=45797 2001-09-10 19:54:27 +00:00
alecf%netscape.com 68824c3a8d dumb
CVS :nd string makefile updates for 98371 r=cls----------------------------------------------------------------------
2001-09-06 03:56:35 +00:00
dougt%netscape.com 6ac99769da Trival change to fix 58792 submitted by jkobal@us.ibm.com 2001-09-05 03:51:38 +00:00
sfraser%netscape.com b164fe02fa Bug 62110 - initialize rv in nsLocalFile::SetPersistentDescriptor. Fixes multiple folders bug in mail on Mac OS X, and probably other bugs as well. r=pinkerton, sr=mscott, a=dbaron 2001-08-28 01:57:20 +00:00
mkaply%us.ibm.com d0de3533ec #95651
r=mkaply, timeless a=blizzard
OS/2 only - code from Javier Pedemonte - fix Launch/Reveal behavior for Os/2
2001-08-22 04:33:17 +00:00
dbradley%netscape.com 566a57f6b4 Bug 93792: This is the part to make passing nsID by value illegal in xpidl without notxpcom, see bug for a better explanation. sr=brendan, r=jband 2001-08-22 01:04:26 +00:00
brendan%mozilla.org b365808864 Bit checkin for bug 68045, r/sr=waterson&shaver, second attempt. It all works
for me on optimized and debug gcc2.96, rh7.1.

- Better failure codes from nsXULPrototypeScript::Deserialize.

- Call nsXULDocument::AbortFastLoads after nsXULPrototypeScript::Serialize
  failure, instead of just nulling the FastLoad service's output stream.

- Expose nsXULDocument::AbortFastLoads via nsIXULPrototypeCache, for use from
  nsChromeProtocolHandler.cpp.  AbortFastLoads flushes the XUL cache now, for
  good measure.

- The needless "Current" adjective in nsIFastLoadService attribute and method
  names is no more.

- Add a do_GetFastLoadService() helper, to use CID instead of contractid, and
  to let the compiler consolidate the static inline CID.

- Add "nglayout.debug.checksum_xul_fastload_file" pref so people can do without
  the checksum verification step when reading a FastLoad file.

- Verify the FastLoad file checksum, by default.  Also, cache it in the FastLoad
  service so we don't recompute it when re-opening the FastLoad file as mailnews
  and other top-levels start up.  Fill the checksum cache in EndFastLoad, when
  the last pseudo-concurrent top-level finishes loading.

  My hope to compute the checksum while writing the FastLoad file ran afoul of
  misordered writes.  The old code to checksum the in-memory nsFastLoadHeader
  also was broken on little endian platforms.  Now all checksumming is done via
  a separate read pass over the complete file, save for the header's checksum
  field, which is summed as if it contained zero.

- Track and check FastLoad file dependencies.  This required groveling with a
  bunch of Necko interfaces in nsChromeProtocolHandler::NewChannel -- read it
  and weep.  Dependency checking, as well as checksum access and computation,
  use better-factored nsIFastLoad{File,Read,Write}Control interfaces.

- nsBufferedStream::Seek wasn't flushing the buffer when seeking backward
  within the buffer, but it must, because mCursor bounds the amount to write
  if the buffer contains the end of file.

- Add an unbufferedStream readonly attribute to nsIStreamBufferAccess, so we
  don't have to screw around with the bufferying layer when checksumming. Also
  implement nsIStreamBufferAccess in nsBufferedOutputStream.

- nsISeekableOutputStream was bogus, based on a bad state I had put the
  nsBufferedOutputStream code in on its way from being completely broken when
  you seek backwards outside of the buffer.  Removing this interface required
  using nsIFastLoadFileIO in nsFastLoadFileWriter, and it also required careful
  ordering of Close calls (the Reader must close after the Writer or Updater,
  so that the Reader's underlying, unbuffered input stream can be read by
  nsFastLoadFileWriter::Close to compute the checksum.

- Miscellaneous tab/indentation, comment typo, bracing, if( => if ( style,
  nsnull vs. 0, useless variable elimination, tortured control flow,
  AutoString instead of String, and gratuitous ; after nsISupportsUtils.h
  macro call cleanups.
2001-08-21 20:51:34 +00:00
andreas.otte%primus-online.de 5bb1bd5bd3 fix bug 84409 [Incorrect request for page components if main page URL contains ";" character] Implementing param support according to RFC 2396, r=dougt, sr=rpotts 2001-08-21 20:35:01 +00:00
darin%netscape.com 017944a78b fixes bug 92563 "Bad comment in nsIInputStream?" r/sr=jst 2001-08-21 06:49:46 +00:00
dbaron%fas.harvard.edu 716f9f4695 Replace uses of deprecated NS_IMPL_ISUPPORTS and NS_IMPL_QUERYINTERFACE macros with NS_IMPL_{ISUPPORTS,QUERYINTERFACE}{1,0}. r=jag rs=brendan b=45797 2001-08-21 01:48:11 +00:00
blizzard%redhat.com 8449d6469f Back out brendan's checkin to try and get linux starting up again. 2001-08-17 19:45:11 +00:00
brendan%mozilla.org 525a387cf2 - Better failure codes from nsXULPrototypeScript::Deserialize.
- Call nsXULDocument::AbortFastLoads after nsXULPrototypeScript::Serialize
  failure, instead of just nulling the FastLoad service's output stream.

- Expose nsXULDocument::AbortFastLoads via nsIXULPrototypeCache, for use from
  nsChromeProtocolHandler.cpp.  AbortFastLoads flushes the XUL cache now, for
  good measure.

- The needless "Current" adjective in nsIFastLoadService attribute and method
  names is no more.

- Add a do_GetFastLoadService() helper, to use CID instead of contractid, and
  to let the compiler consolidate the static inline CID.

- Add "nglayout.debug.checksum_xul_fastload_file" pref so people can do without
  the checksum verification step when reading a FastLoad file.

- Verify the FastLoad file checksum, by default.  Also, cache it in the FastLoad
  service so we don't recompute it when re-opening the FastLoad file as mailnews
  and other top-levels start up.  Fill the checksum cache in EndFastLoad, when
  the last pseudo-concurrent top-level finishes loading.

  My hope to compute the checksum while writing the FastLoad file ran afoul of
  misordered writes.  The old code to checksum the in-memory nsFastLoadHeader
  also was broken on little endian platforms.  Now all checksumming is done via
  a separate read pass over the complete file, save for the header's checksum
  field, which is summed as if it contained zero.

- Track and check FastLoad file dependencies.  This required groveling with a
  bunch of Necko interfaces in nsChromeProtocolHandler::NewChannel -- read it
  and weep.  Dependency checking, as well as checksum access and computation,
  use better-factored nsIFastLoad{File,Read,Write}Control interfaces.

- nsBufferedStream::Seek wasn't flushing the buffer when seeking backward
  within the buffer, but it must, because mCursor bounds the amount to write
  if the buffer contains the end of file.

- Add an unbufferedStream readonly attribute to nsIStreamBufferAccess, so we
  don't have to screw around with the bufferying layer when checksumming. Also
  implement nsIStreamBufferAccess in nsBufferedOutputStream.

- nsISeekableOutputStream was bogus, based on a bad state I had put the
  nsBufferedOutputStream code in on its way from being completely broken when
  you seek backwards outside of the buffer.  Removing this interface required
  using nsIFastLoadFileIO in nsFastLoadFileWriter, and it also required careful
  ordering of Close calls (the Writer or Updater must close after the Reader,
  so that the Reader's underlying, unbuffered input stream can be read by
  nsFastLoadFileWriter::Close to compute the checksum.

- Miscellaneous tab/indentation, comment typo, bracing, if( => if ( style,
  nsnull vs. 0, useless variable elimination, tortured control flow,
  AutoString instead of String, and gratuitous ; after nsISupportsUtils.h
  macro call cleanups.
2001-08-17 09:52:55 +00:00
cathleen%netscape.com b6297898fd enable MOZ_TIMELINE tool, bug 78793, r=rogc, sr=waterson 2001-08-17 02:03:34 +00:00
cls%seawood.org 19699b8722 Use NS_PTR_TO_INT32 macros to do 64-bit safe pointer conversions.
Bug #20860 r=Roland.Mainz@informatik.med.uni-giessen.de sr=brendan@mozilla.org
2001-08-14 04:18:27 +00:00
ccarlen%netscape.com cb85e25603 Bug 90686 - Can't migrate profiles under MacOS X. Make Mac_PreferencesDirectory return the prefs dir of the classic environment under OS X so we can find 4.x profile info. r=sdagley/sr=sfraser. 2001-08-09 13:12:10 +00:00
brendan%mozilla.org 01289b3afb Restore scriptable nsIClassInfo.classID but add fast/C++-only classIDNoAlloc; define and use nsIClassInfo::EAGER_CLASSINFO in caps (93792, sr=waterson&jst). 2001-08-07 03:59:29 +00:00
pinkerton%netscape.com 9d8b2797ed Working around dynamic linker restrictions on hp/macosx. r=dbaron/sr=brendan.
bug# 93479
2001-08-03 20:54:25 +00:00
pete%alphanumerica.com 4f260c4d6e Fix for nsLocalFile::CopyTo not fully implemented on Unix.
r=ccarlen, sr=brendan, b=53474

--pete
2001-08-03 03:42:04 +00:00
pete%alphanumerica.com b6059fbad7 Fix for broken AppendRelativePath on unix. r=jag, sr=brendan b=55406.
Note, this method will be going away soon.

--pete
2001-08-03 03:26:26 +00:00
brendan%mozilla.org 1a075aa858 Try to placate the HP-UX compiler by keeping gFastLoadService_'s decl before any uses in a template class. 2001-07-31 23:23:38 +00:00
brendan%mozilla.org 0bebf9b763 Danm's fix for Mac CodeWarrior C++ glitch, and a cosmetic sneak-fix. 2001-07-31 22:22:36 +00:00
dbaron%fas.harvard.edu 6747175f30 Fixing HP bustage. For the record, the error message was: Undeclared variable 'mRawPtr'. A variable with the same name exists in a template base class, but is not visible according to the Standard lookup rules (See [temp.dep], 14.6.2(3) in the C++ Standard). You can make it visible by writing 'this->mRawPtr'. 2001-07-31 21:23:58 +00:00
dbaron%fas.harvard.edu 0e25f44bee Fix OS/2 and BeOS bustage from fastload landing. 2001-07-31 20:34:37 +00:00
brendan%mozilla.org 8c7c819206 FASTLOAD_20010703_BRANCH landing, r=dbaron, sr=shaver. 2001-07-31 19:05:34 +00:00
jaggernaut%netscape.com c14d9c09a1 Bug 86734: Remove NS_WITH_SERVICE. r=dbaron, rs=scc, a=asa 2001-07-25 07:54:28 +00:00
pete%alphanumerica.com f65c767018 Fix for nsIFile delete conflicts with JS reserved name b=37406, r=dougt, sr=jst
Renamed all Delete methods to Remove.

--pete
2001-07-24 18:38:25 +00:00
dbaron%fas.harvard.edu bf82abfd11 Header include dependency cleanup. b=64023 r=jag rs=brendan 2001-07-16 02:40:48 +00:00
kandrot%netscape.com d167434170 Adding default string in Normalize to allow Purify to run under Solaris. r=kandrot@netscape.com, sr=scc@mozilla.org 2001-07-09 23:42:00 +00:00
mkaply%us.ibm.com 09dd3664a4 Beos build bustage - 82205 2001-06-30 20:26:40 +00:00
pete%alphanumerica.com d134c1e1ee Fix for nsIFile IsSpecial. r=dougt sr=jst b=82205
Checking this in for tenthumbs.

--pete
2001-06-30 13:30:32 +00:00
jaggernaut%netscape.com 03ab87e4a1 Bug 88413: Remove |GetUnicode()| from nsString (and replace it with |get()|). r=dbaron, rs=scc.
This removes all call-sites I can currently fix. Tomorrow I'll try to get someone to checkin my changes to security/ and I'll get some help with the Netscape side of things.

nsString::GetUnicode()'s final death-blow will be dealt soon. Please keep this in mind as you add new code :-)
2001-06-30 11:02:25 +00:00
pete%alphanumerica.com 2f632945aa Fix for nsIFile GetTarget method.
r=dougt sr=jst b=88032

--pete
2001-06-29 17:43:59 +00:00
scc%mozilla.org 908e14c758 fixing ports bustage 2001-06-29 17:39:25 +00:00
pete%alphanumerica.com 26e685e8f1 Fix for broken nsIFile method IsSymlink
b=81927 r=blizzard sr=jst

--pete
2001-06-28 12:03:47 +00:00
bzbarsky%mit.edu 83dce82df3 Add an nILineInputStream interface, a ReadLine() helper function, and an
implementation of this interface by nsFileInputStream.  Bug 81165,
r=dougt, sr=darin
2001-06-28 03:19:51 +00:00
pete%alphanumerica.com eb73b6d1c4 Fix for mPath string corruption when nsIFile parent is called and the
file is a top level dir such as /tmp

b=84738 r=dougt sr=jst

--pete
2001-06-27 12:29:45 +00:00
mkaply%us.ibm.com 6c079bc46c senna bustage 2001-06-22 03:13:45 +00:00
mkaply%us.ibm.com 51cb61678e Fix OS/2 breakage. We have an nsLocalFile too. 2001-06-22 02:57:07 +00:00
dougt%netscape.com c306e0513b Landing url parsing branch. 73845. r=alecf@netscape.com, sr=darin@netscape.com, a=blizzard@rednat.com.
This fixes many crashes caused by illegal uses of the nsStdURL.
This also allows a plugable protocol to provide their own url parser.
2001-06-21 22:02:47 +00:00
syd%netscape.com b31fd3c52e Fix for 85986. If we find a shortcut and we are not resolving it, it is ok to
return we found it. r=dougt, sr=mscott, a=drivers
2001-06-19 03:17:20 +00:00
cls%seawood.org 80f526179f Replaced NO_SHARED_LIB & NO_STATIC_LIB with BUILD_SHARED_LIBS, BUILD_STATIC_LIBS, FORCE_STATIC_LIB & FORCE_SHARED_LIB. Added FORCE_USE_PIC.
Changes allow us to have a finer control over which parts of the tree are built with PIC.  Part of the static build branch landing.
Bug #46775 r=mcafee a=leaf
2001-06-18 22:10:38 +00:00
scc%mozilla.org 2e8b3e9481 bug #85271: sr=waterson, r={beard, jag, dbaron}, a=asa. Eliminate features of |nsXPIDLC?String| that keep it out of the string hierarchy (i.e., using assigment to rebind ownership, static |Copy| members, and |getter_Shares|), fixing some leaks in the process. 2001-06-17 05:23:38 +00:00
mkaply%us.ibm.com e821491ffa Fix Os/2 bustage 2001-06-15 03:48:00 +00:00
ccarlen%netscape.com 8363ca6e21 Bug 74247 - Fizzilla should use $HOME/Library/Mozilla to store profiles. r=pinkerton/sr=sfraser/a=asa 2001-06-14 01:24:22 +00:00
ccarlen%netscape.com 8708c4be01 Bug 83687 - The keys NS_XPCOM_CURRENT_PROCESS_DIR and NS_OS_CURRENT_PROCESS_DIR were defined identically. They should be different. r=valeski/sr=jband/a=asa 2001-06-05 22:19:19 +00:00
valeski%netscape.com 83586c4fe5 r=ccarlen, sr=sfraser, a=asa. 80095. replace an overkill strstr, w/ strchr. 2001-06-04 23:30:55 +00:00
mkaply%us.ibm.com d261552206 #83166
r=aaronr, sr=blizzard, a=blizzard
OS/2 only change - we weren't deleting temp files after download
2001-05-29 22:21:11 +00:00
law%netscape.com a83465493d Bug 68279; tightens up IsExecutable() check in nsLocalFileWin to properly detect most dangerous executables; adds code to the two places in the UI where such files used to be executed to disable us doing that; r=mstoltz, sr=mscott 2001-05-23 06:03:59 +00:00
ccarlen%netscape.com ea29897e20 Bug 73095 - Create() needs to set mTargetSpec on completion. r=scc@mozilla.org/sr=sfraser 2001-05-22 21:38:21 +00:00
colin%theblakes.com 46a5354f91 Check for ENXIO as well as EXDEV as expected failure from rename.
b=70915 r/sr=brendan
2001-05-21 23:15:33 +00:00
sfraser%netscape.com dae488da31 Fix the a problem exposed by another bug, where out params were not correctly set to null. Part of fix for bug 80722 (crash creating new profile). 2001-05-15 00:34:10 +00:00
sdagley%netscape.com 96413a740a #3616 - Enable long long in Mac version of NSPR (#defines the HAVE_LONG_LONG flag). sr=sfraser 2001-05-06 22:43:07 +00:00
ccarlen%netscape.com 83dc06c7c0 Bug 59247. Make directory service providers threadsafe. r=valeski, sr=jband. 2001-05-04 20:23:19 +00:00
sdagley%netscape.com 6239f97d33 #70543 - Mac OS running out of FCBs when loading libraries. Now yield time to OS to allow it to grow the FCB table (shouldn't be necessary, apparently is). sr=sfraser,r=macdev 2001-05-04 09:01:06 +00:00
sgehani%netscape.com ef6872d394 Make file with no extension have correct type and creator info based on MIME type. b = 64704; r = law; sr = sfraser 2001-05-03 01:12:15 +00:00
mkaply%us.ibm.com 1f070fb1f6 #53152
r=mkaply, a=blizzard
Put dougt fix into OS/2
2001-04-26 18:40:12 +00:00
dougt%netscape.com 1a3463f40c won't compile without long long type. Using LL_ macros instead. r=thorgal@amiga.com.pl, sr=brendan@mozilla.org, b=75815 2001-04-26 05:28:31 +00:00
timeless%mac.com ee959d2767 fix Bugzilla Bug 75853 CR and LF are naked ifdefs
r=dveditz, sr=scc
2001-04-18 05:59:43 +00:00
dveditz%netscape.com 0f04fa48fe fixing bustage 2001-04-18 05:17:36 +00:00
dveditz%netscape.com 003a053aa7 bug 71393, miscalculates free space on large drives. Contributed by thorgal@amiga.com.pl and bzbarsky@mit.edu, r=ksosez@softhome.net/dveditz@netscape.com 2001-04-18 04:30:26 +00:00
ccarlen%netscape.com e74b04f62a Bug 44071 - Change name of profile root dir from "Users50" to "Profiles". Checking in patch by gemal@gemal.dk. r=ccarlen@netscape.com, sr=brendan@mozilla.org 2001-04-18 02:51:24 +00:00
pinkerton%netscape.com 46d4ec788e tweaks to build under macosx. r=saari/sr=hyatt. bug#75653. 2001-04-15 04:58:22 +00:00
pinkerton%netscape.com 8bdc78c49a use nsLocalFileMac.h for osx. r=saari, sr=hyatt bug#75653 2001-04-15 04:10:12 +00:00
sfraser%netscape.com 5d669d3a6f Fix bug 71064; give the file stream classes private, and unimplemented copy constructors and assignment operators, prevent clients from passing them by value. r=waterson, sr=scc 2001-04-13 22:50:23 +00:00
dougt%netscape.com e61e07de9e 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 16adb636a0 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 dbf445343c fix warnings due to earlier checkins 2001-03-30 05:51:06 +00:00
naving%netscape.com c751d9fbf8 67799, 55814. sr=bienvenu. Propogate the error values for streams. 2001-03-30 05:24:34 +00:00
darin%netscape.com 35d49d5906 Fixes bug 71921 "nsInputStreamTee::WriteSegmentFun has a minor bug" r=beard
sr=dougt
2001-03-29 02:42:00 +00:00
dougt%netscape.com d68387a443 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 c1098ac6ac 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 711ef1f3a0 #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 a204f7f2ce 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 1de5c138a7 Attempt at fixing OS2 bustage 2001-03-20 07:47:40 +00:00
disttsc%bart.nl 0b98c23d64 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 f0826c7edf Bug 71834: Fix form post smoketest blocker - backout fix for bug 69862 2001-03-14 07:36:13 +00:00
naving%netscape.com 46e0e1afa9 #69862, r=bienvenu sr=scc. Close the stream in the destructor. 2001-03-12 22:46:41 +00:00
mkaply%us.ibm.com c81df32817 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 678883b8fa Win bustage - there was still an extra character in the file 2001-03-06 22:49:29 +00:00
dougt%netscape.com ea88c59fbc Attempting to fix bustage. removing tabs 2001-03-06 21:27:54 +00:00
dougt%netscape.com 3b2aa0bd67 Making nsInputStreamTee build on windows. r=darin, sr=gagan 2001-03-06 20:29:20 +00:00
disttsc%bart.nl 043186b34e 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 e2ecd22d79 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 920032e9f2 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 4cf9dbd9c3 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 056e5b22e4 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 fadd9179fa 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 744785129a 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 d7dbeeb492 OS/2 TB Bustage
Need PR_STATIC_CALLBACK
2001-02-19 07:07:56 +00:00
dougt%netscape.com c0a491c44e Fixes small memleaks. bug 53931. r=ccarlen@netscape.com, a=waterson@netscape.com 2001-02-19 03:09:57 +00:00
waterson%netscape.com 87a35f2e41 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 217f553161 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 7791b9bdb3 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 0054588c94 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 9cb0402573 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 0f26eb1d96 bug 42704 missing initialization in nsLocalFile::GetFileSize, r=dougt/sr=mscott 2001-02-07 00:14:33 +00:00
ccarlen%netscape.com 42bfc2d2bf 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 61573838d2 r=mkaply, a=blizzard
Extern mbsrchr so nsFileSpec can use it
2001-01-31 21:58:27 +00:00
mkaply%us.ibm.com 9bca118c63 r=mkaply, a=blizzard
Missing MoveToDir implementation on OS/2
2001-01-31 21:47:40 +00:00
sspitzer%netscape.com 2c2dba5d5a #61956
quiet purify and don't memcpy 0 bytes.  sr=scc
2001-01-31 21:35:12 +00:00
mscott%netscape.com 7b44fe4fd3 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 9a83edefd6 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 851f84506c 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 ede323212e 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 a0eaa5167d Stupid misspelling 2001-01-29 23:35:54 +00:00
darin%netscape.com 4fa7600b23 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 6bfaf3912c 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 53538c57f9 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 ec867f9e8e Fix for bustage caused on senna Tinderbox by checkin for 64501. 2001-01-19 01:24:28 +00:00
ccarlen%netscape.com f11b2ce92a Fix for bustage caused on senna Tinderbox by checkin for 64501. 2001-01-19 00:03:07 +00:00
ccarlen%netscape.com 15ac5b144d 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 31d26331ff 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 cbf5389bd8 Fixes 58679 and 32056 2001-01-16 22:19:07 +00:00
sfraser%netscape.com f01a40fc19 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 29590cb129 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 ecb860149b 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 1f40cba7d1 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 a0e417a643 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 7b872d2d83 Fix bustage. Forgot to change NS_IMETHODIMP in function definitions. 2000-12-09 04:58:10 +00:00
dbaron%fas.harvard.edu 66a2bbb5f5 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 03dfe57690 #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 4f971553a7 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 5b1e0aaaa4 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 0167f0416d OpenVMS specific fix for defeciency in stat.
b=60199 r=dougt a=waterson
2000-11-27 11:19:41 +00:00
cls%seawood.org 8bd122b3d5 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 7941b9e959 fix for #45797 - fix NS_IMPL_ISUPPORTS consumers
r=dveditz a=self
2000-11-17 03:41:41 +00:00
ccarlen%netscape.com 41f0fe6bb5 Bug 55891 r=brade, sr=sfraser 2000-11-14 15:58:54 +00:00
mkaply%us.ibm.com 1e87ecd0e8 #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 10916476ce #58776
r=mkaply, a=blizzard
Code from jkobal to fix helper apps
2000-11-02 15:41:44 +00:00
mkaply%us.ibm.com 79ac2801ac #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 49730c167b Wrong casts being used
Caused outside contributor to be unable to build
2000-10-31 15:55:46 +00:00
bienvenu%netscape.com 818494d7d5 fix 55003 null protection in closing nsOutputStream r=kandrot sr=waterson 2000-10-30 15:20:31 +00:00
warren%netscape.com 4189314fdb 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 cbd35e264a Remove extra 0 param. (Fix warren's bustage.) r=warren 2000-10-28 02:30:42 +00:00
warren%netscape.com 84a4779d57 Removed extra 0 arg from macro 2000-10-27 23:41:27 +00:00
warren%netscape.com 6e35f97e31 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 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
warren%netscape.com 4af572e4c1 Bug 46711. Removed nsAutoString travisty from nsStringKey. Introduced nsCStringKey. Made them both share the underlying string when possible. r=waterson 2000-08-10 06:19:37 +00:00
conrad%ingress.com ab1c8173ed Fixed double line feed problem. 2000-08-10 06:06:02 +00:00
valeski%netscape.com d50faae952 fixing windows hatred of goto inits 2000-08-10 05:23:05 +00:00
mcafee%netscape.com 4b0d364ea2 Adding nsDirectoryServiceDefs.h, fixing whitespace problems. This would have become linux bustage later. 2000-08-10 04:53:37 +00:00
conrad%ingress.com e9738e5a4e Changed strings to use macros Fixed FindWinFolder which was not doing anything. 2000-08-10 04:39:30 +00:00
conrad%ingress.com 315270d458 Added nsDirectoryServiceDefs.h 2000-08-10 04:37:43 +00:00
conrad%ingress.com 2af8351f9a Export of nsDirectoryServiceDefs.h r=valeski 2000-08-10 04:12:16 +00:00
conrad%ingress.com 4bd4881f90 First checkin. r=valeski 2000-08-10 04:03:52 +00:00
syd%netscape.com 8d1cacc63f Set sane directory permissions on creation. Partial fix for 43091. r=dougt 2000-08-04 22:13:10 +00:00
mscott%netscape.com 1dcb8fce94 Landing branch fix to the trunk. bug #47248 --> Implement MoveTo for Unix. 2000-08-03 22:17:43 +00:00
mscott%netscape.com 8b744d551d landing branch fix to trunk. Bug #47248 ---> Fix GetParent such that if appendedPath is an empy string we treat it the same as if it were null and create a dummy path. r=dougt 2000-08-03 22:13:34 +00:00
valeski%netscape.com 5739272593 raw pointer mlk fix. r=dougt 2000-08-01 22:57:58 +00:00
danm%netscape.com d145eecb84 Deathgrip the output stream during WriteSegments to prevent bug 46267. This is a temporary patch to stop a common startup crash, until the real underlying cause is found. r=ruslan 2000-08-01 21:33:36 +00:00
dougt%netscape.com 12e854904f r,a=brendan@mozilla.org 24052 2000-07-31 03:46:22 +00:00
dougt%netscape.com 8e0a0bd465 46044 fixes ABR. submitted by jband@netscape.com. 2000-07-29 08:13:39 +00:00
cls%seawood.org 684d85ec07 Bringing BeOS up to speed 2000-07-26 06:22:37 +00:00
conrad%ingress.com 5861aac092 1. Fixed ResolvePathAndSpec - if directories did not exist, the vRefNum and dirID were getting zeroed out. If the path was relative this was wrong. 2. Fixed MoveCopy - If nsnull was passed as newName, which is valid, new name was uninitialized garbage. r-dougt 2000-07-24 20:05:54 +00:00
dougt%netscape.com 0583d7d8e7 r,a=brendan@mozilla.org 24052 2000-07-21 22:16:18 +00:00
mkaply%us.ibm.com e811719993 #45973
r=dougt, a=brendan
OS/2 specific changes for nsAppFileLocationProvider.cpp
2000-07-20 18:55:28 +00:00
mkaply%us.ibm.com 869e91a492 #45690
r=mkaply, a=brendan
Sync up nsLocalFileOS2.cpp with Windows changes
2000-07-20 14:54:24 +00:00
conrad%ingress.com 8db216ddd8 Not part of build! Added some <includes> needed on Mac 2000-07-19 21:47:08 +00:00
dougt%netscape.com 84a45a461c Adding UNIX makefiles.
making compile on unix

(NOT PART OF BUILD)
2000-07-19 21:20:35 +00:00
dougt%netscape.com 61b0bcc37e Fixing line feeds.
Adding makefiles for windows.
Making compile on windows.


(not part of build!)
2000-07-19 19:58:35 +00:00