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

1185 Коммитов

Автор SHA1 Сообщение Дата
darin%meer.net 4f4fd30681 fixes bug 210588 "Cancelling download of .lnk file deletes target of .lnk file" r=dougt sr=bryner a=asa 2003-08-25 18:28:10 +00:00
brendan%mozilla.org f6be8fe74f Add shared DHashTableOps for [const] char *key use-cases, clean up dhash API abusages (214839, r=dougt, sr=dbaron). 2003-08-05 20:09:21 +00:00
jshin%mailaps.org d6b83a6362 bug 206811 : xp_iconv should use UTF-16, if available, instead of UCS-2 (r=drepper, sr=darin) 2003-07-30 05:58:28 +00:00
mkaply%us.ibm.com 5a1760adae #214152
r=pedemont, sr=bz
Handle unicode conversion failure better
2003-07-28 21:02:45 +00:00
mkaply%us.ibm.com 2bc4fb2555 Stray character snuck in there 2003-07-23 01:36:17 +00:00
mkaply%us.ibm.com 56dc425c51 rs=leaf
Remove XP_OS2_VACPP from the tree
2003-07-22 18:38:01 +00:00
dwitte%stanford.edu 8c70c75885 Bug 122892: nsLocalFile::Clone should preserve stat info.
make nsLocalFile* impls use copy constructors for their nsIFile::Clone methods.
This avoids unnecessary |stat| calls inherent in using NS_NewNativeLocalFile.

b=122892, r=dougt, sr=darin, with many thanks to biesi & mkaply for testing on other
plats.
2003-07-18 22:14:16 +00:00
jaggernaut%netscape.com bf82a649b9 Bug 212272: Switch some Substring users over to String(Begins|Ends)With. r=dwitte, sr=bzbarsky 2003-07-14 07:37:39 +00:00
dbaron%dbaron.org 27fbaaf78a Fix DEBUG bustage. b=212109 2003-07-12 01:33:30 +00:00
bzbarsky%mit.edu e91ae1f2b8 Update the string stream interface a bit and simplify the implementation a
lot. Bug 212109, r=dougt, sr=darin
2003-07-11 23:10:27 +00:00
seawood%netscape.com 209f4b6c8d Split private xpcom defines into separate header.
Bug #210409 r=dougt
2003-07-03 20:55:23 +00:00
seawood%netscape.com bd6616883a Make user-specific application directory name configurable using --with-user-appdir.
Thanks to Ben Bucksch <ben.bucksch@beonex.com> for the original patch.
Bug #58327 r=dougt
2003-07-01 18:32:49 +00:00
bsmedberg%covad.net a77fdd7bd4 Bug 210337 - Spring cleaning of unused XPCOM code and callers r/sr=alecf/bz 2003-06-23 20:31:43 +00:00
jshin%mailaps.org 875f814f7e bug 183156 : replace UCS2 in function/method names with UTF16 and update the
document accordingly. r=jag, sr=alecf
2003-06-23 04:30:57 +00:00
caillon%returnzero.com 36a00e95c1 Bug 209852. Remove |dont_QueryInterface|.
r=dbaron, sr=jag
2003-06-21 00:15:41 +00:00
dougt%meer.net cbd9c6149a Cleans up nsLocalFile0S2 a bit. Removes code that checks for symlinks. r=r=mkaply, sr=blizzard, bug=209963 2003-06-19 21:53:26 +00:00
timeless%mozdev.org f5b2bccf54 Bug 187031 [nsLocalFileWin] nsLocalFile::Remove returns os remove values (-1) as nsresults
r=dougt sr=darin
2003-06-18 23:19:11 +00:00
seawood%netscape.com 8f112a4226 Removing old cfm build files. Use the CFM_LAST_RITES tag to resurrect. r=macdev 2003-06-10 21:18:27 +00:00
dougt%meer.net 4dcb726830 Adding comments to nsDirectoryServiceDefs. 2003-06-10 20:09:25 +00:00
jshin%mailaps.org 598f59e3d4 Not a bug. Removing 4 spurrious lines (no effect on the binary generated)
sneaked in the previous commit (for bug 206811) by mistake.
2003-06-04 06:34:38 +00:00
brendan%mozilla.org 45fbeb95b3 Fold premature entry decl initialized by gratuitous ?: expr into dependent if/else in nsFastLoadFileReader::ReadObject. 2003-06-04 06:08:15 +00:00
jshin%mailaps.org d734671dda bug 206811. use UTF-16 instead of UCS-2 for nsNativeCharsetutils on Unix.
Also use iconv(3) on Linux (r=smontagu, sr=alecf)
2003-06-03 12:37:44 +00:00
timeless%mozdev.org 16799100ee Bug 207081 only create profile window comes up on start attempt
GetSpecialSystemDirectory used 'break;' instead of returning NS_OK on OS/2
and assigned its rv to an undeclared variable instead of returninng on Mac Classic.
removed tabs.
r=mkaply a=mkaply
2003-05-27 14:01:32 +00:00
timeless%mozdev.org 97e020fe5d Bug 205609 control reaches end of non-void function GetSpecialSystemDirectory and lots of unhandled enumeration values
r=dougt
2003-05-25 07:11:51 +00:00
jaggernaut%netscape.com 27a944ff94 Bug 206943: Slightly optimize NS_GetSpecialDirectory. r=dougt, sr=dbaron 2003-05-24 03:11:36 +00:00
dwitte%stanford.edu 149f719c00 bug 100649: Length() being used where IsEmpty() is meant
treewide changes to convert incorrect usages of string.Length() to string.IsEmpty().

thanks to afatecha@idea.com.py (Ariel Fatecha) for the patch. r=dwitte, sr=jst.

got the ok from Asa to land into a closed tree.
2003-05-23 21:34:47 +00:00
dbaron%dbaron.org edfc1d13fe Add StringBeginsWith, StringEndsWith, and UTF8ToNewUnicode. Move UTF8 handling utilities to separate file. b=131293 r=jst sr=alecf,jag a=asa b=131293 2003-05-21 22:20:27 +00:00
sgehani%netscape.com e8d18aa73a Make GetFSRefInternal assume NS_ERROR_FILE_NOT_FOUND when CFURLGetFSRef
returns false.
b=202772; r=ssu, ccarlen; sr=sfraser; a=asa
2003-05-21 00:53:36 +00:00
darin%netscape.com 55a0686892 fixes bug 162025 "UNC Based Profiles don't work" r=dougt sr=dbaron a=asa 2003-05-14 21:56:49 +00:00
jrgm%netscape.com b7d96d41f2 don't check for SHGetSpecialFolderPathA in shfolder.dll (cause it won't be there) and load the 'ansi' proc name from shell32.dll, bug 204246, r+sr=dougt, a=asa 2003-05-08 20:41:20 +00:00
ccarlen%netscape.com 5cde65560f Profile sharing - changes to profile dirserviceprovider, a component to control whether sharing is enabled. bug=202474, rs=dougt/sr=darin/a=asa 2003-05-02 03:59:23 +00:00
ssu%netscape.com b5214fa2f7 fixing bug 125106 - general nsIFile converter change hosed XPInstall intl filenames. r=dveditz, sr=alecf, a=sspitzer 2003-04-30 06:49:04 +00:00
brendan%mozilla.org 61e651bfec Remove copy-pasted scope qualifier for ReadSegments decl, jdunn says HP aCC barfs on it (a=leaf). 2003-04-23 16:48:08 +00:00
gordon%netscape.com 40094b39d9 Fix bug 105344. r=saari, sr=darin. 2003-04-23 05:05:16 +00:00
ccarlen%netscape.com 477e2b7087 Bug 202798 - Save page as fails when downloads.rdf does not exist (new Profile) r=varga/sr=sfraser 2003-04-21 21:43:38 +00:00
seawood%netscape.com 8893b1e6fd Remove global _POSIX_SOURCE & _SVID_SOURCE defines for linux.
Bug #202510 r=darin
2003-04-18 20:14:17 +00:00
ccarlen%netscape.com bff945a71a Bug 164396 - Change internal representation of file from FSRef to CFURL, reducing conversions between path and FSRef and fixing other bugs. 2nd checkin of this after testing on other Tinderboxen showed Ts improvement. r=sdagley/sr=sfraser 2003-04-18 13:50:38 +00:00
dougt%netscape.com 1a10cdb8e2 using strnicmp instead. r=darin 2003-04-18 05:43:41 +00:00
mkaply%us.ibm.com 21b4c9b29d 202480 for OS/2 2003-04-18 02:22:17 +00:00
dougt%netscape.com b7c3e27952 bug 202480. Windows doesn't care about case. ::Contains must not either. r=darin 2003-04-18 00:48:38 +00:00
alecf%netscape.com 2354d05a20 fix for bug 199170 - more static atom work in xpcom, chrome registry, rdf, and profile dir service provider.. sr=bryner, r=ccarlen 2003-04-15 22:19:01 +00:00
darin%netscape.com bf110f8e7f 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 36867f5dc9 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 3173b4f529 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 28c0f231a8 Bug 200662 - [OSX]GetCurrentProcessDirectory can fail. r=/sr=sfraser. 2003-04-07 14:29:56 +00:00
ssu%netscape.com d6eb21003a 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 488974aec7 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 5f29256c3a 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 83708b199e 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 de59dbee4b Purge XP_PC.
Bug #56767 r=mkaply sr=alecf
2003-04-02 22:45:08 +00:00