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

6326 Коммитов

Автор SHA1 Сообщение Дата
timeless%mozdev.org ffc2007ca1 Bug 211277 nsPersistentProperties::nsPersistentProperties doesn't check the return value of PL_DHashTableInit
r=alecf sr=dbaron
2003-07-14 21:07:31 +00:00
jaggernaut%netscape.com ac2ee6a6b1 Bug 151916: substring helpers for start and end (StringHead, StringTail, Substring(string, start)). r=dbaron, sr=bzbarsky 2003-07-14 07:42:24 +00:00
jaggernaut%netscape.com 817298ce0b Bug 212272: Switch some Substring users over to String(Begins|Ends)With. r=dwitte, sr=bzbarsky 2003-07-14 07:37:39 +00:00
jaggernaut%netscape.com 2d7ed90a69 Bug 73353: clean up MODULE/REQUIRES story. r=cls, sr=bryner 2003-07-13 22:29:00 +00:00
bzbarsky%mit.edu 29080c9146 Fixing think-o. 2003-07-13 07:21:43 +00:00
bzbarsky%mit.edu 401365f06a Optimize nsSegmentEncoder to not get an mEncoder unless it actually has
encoding to do (has a non-ascii spec segment).  Bug 212475, r=darin, sr=dbaron
2003-07-12 23:06:13 +00:00
dwitte%stanford.edu d78b684d26 Bug 113733: nsXPIDLCString doesn't have an assignment operator.
adds |operator=( const self_type& )| to nsSharable{C}String and nsXPIDL{C}String, to prevent the compiler from synthesizing its own (which won't do the right thing).

This should fix a bunch of XPIDLString-related cfront compile warnings.

original patch by jag, updated by me; r=dbaron, sr=jag.
2003-07-12 07:14:37 +00:00
dbaron%dbaron.org fc8c0f9407 Fix DEBUG bustage. b=212109 2003-07-12 01:33:30 +00:00
bzbarsky%mit.edu 7b5865099a 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
dbaron%dbaron.org 7f9ed75392 Make ns[C]String::AppendFloat locale-independent. b=209569 r=jag sr=bzbarsky 2003-07-09 06:53:44 +00:00
dbradley%netscape.com 8c018c2af6 bug 127585 - xpidl usage is incorrect. r=timeless, sr=jst 2003-07-08 21:41:51 +00:00
dougt%meer.net 14fa809554 Missing control path return value 2003-07-08 20:03:35 +00:00
dougt%meer.net a856820d8e Enables debug stackcrawl support in GRE builds. b=208098. r=dbaron. 2003-07-07 22:11:36 +00:00
dougt%meer.net 2481164ffb Adding support for static builds of minimo. r=pavlov. b=211645 2003-07-05 19:34:19 +00:00
seawood%netscape.com aa3d6e37cc Ignore xpcom-config.h & xpcom-private.h 2003-07-03 22:49:28 +00:00
seawood%netscape.com e0a52544b3 Split private xpcom defines into separate header.
Bug #210409 r=dougt
2003-07-03 21:10:00 +00:00
seawood%netscape.com 1a6a612624 Split private xpcom defines into separate header.
Bug #210409 r=dougt
2003-07-03 20:55:23 +00:00
timeless%mozdev.org 2f6f278787 Bug 211275 GetAtomHashEntry doesn't check the return value of PL_DHashTableInit
r=dbaron sr=bz
2003-07-03 14:45:01 +00:00
darin%netscape.com ca48f5672f fixes bug 163988 'Crashes at www.macgamer.com (HREF="&#)' patch=waltershen@netscape.com r=dbaron sr=jag 2003-07-02 21:20:14 +00:00
seawood%netscape.com 8fdbbdff1d 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
seawood%netscape.com 775e423c59 Argh. HAVE_64BIT_OS is not xpcom specific.
Bug #210409
2003-06-27 19:17:46 +00:00
jshin%mailaps.org 4f939c139c bug 183156 (a part of) : rename CopyUTF16toASCII as LossyCopyUTF16toASCII (r,sr=jag) 2003-06-27 07:44:13 +00:00
seawood%netscape.com cab1558f57 Move xpcom specific defines from mozilla-config.h into xpcom-config.h.
Bug #210409 r=dougt
2003-06-27 04:12:16 +00:00
seawood%netscape.com 7a7cda041f Use the documented __declspec keyword instead of _declspec.
Bug #206934 r=dougt
2003-06-24 22:12:37 +00:00
dbaron%dbaron.org 3852bff4c9 Keep the pointer version of NS_ConvertUTF8toUTF16 null-safe. b=210279 r+sr=jag 2003-06-24 05:42:05 +00:00
bsmedberg%covad.net d266401f8a Build bustage from bug 210337, sorry 'bout that. 2003-06-23 21:56:07 +00:00
bsmedberg%covad.net ea12fb91ed Oops, forgot a file for bug 210337, part 2. 2003-06-23 21:07:29 +00:00
bsmedberg%covad.net 97601586ac Bug 210337 part 2: remove unused nsObserver r=alecf/dougt 2003-06-23 20:47:45 +00:00
bsmedberg%covad.net 1a9cab373f 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 b33261e746 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
jaggernaut%netscape.com 6d16320259 Bug 210160: Add nsStringComparator parameter to String(Begins)|(Ends)With. r=bzbarsky, sr=dbaron
Bug 210162: Fix up comments, argument names of atom getters in nsIAtom.idl. r=bzbarsky, sr=dbaron
2003-06-21 02:59:51 +00:00
caillon%returnzero.com 4cc64cee34 Bug 209852. Remove |dont_QueryInterface|.
r=dbaron, sr=jag
2003-06-21 00:15:41 +00:00
kyle.yuan%sun.com a1bc56e855 Bug 209622 nsTHashtable cause bustage on Solaris with F6U2
r/sr=bsmedberg
The missed part in nsBaseHashtable.h, patch by harinath@cs.umn.edu
2003-06-20 01:26:00 +00:00
dougt%meer.net 20dd3f677a 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
bsmedberg%covad.net 581fce1582 Bug 209622 - bustage fix for stupid compilers (Sun WS and DEC OSF1) -
also remove unused configure test. r=dbaron sr=alecf
2003-06-19 18:42:23 +00:00
sicking%bigfoot.com 13f65a560a Bug 209667: Make it possible to hold an nsRefPtr to a class that lacks an empty ctor. I'll back this out if it breaks any ports.
r=jag sr=dbaron on the nsCOMPtr.h part
r=Pike sr=peterv on the transformiix part
2003-06-19 18:21:39 +00:00
jst%netscape.com 2d0b6d2c00 Fixing part of bug 209699 (and more of bug 87677). Implement char* and PRUnichar* versions of Copy/AppendUTF*toUTF*(). r=alecf@flett.org, r=dbaron@dbaron.org, sr=jaggernaut@netscape.com 2003-06-19 05:17:55 +00:00
blizzard%redhat.com c1364687c5 Bug #40950. xptcall for linux/ia64. Patch from ulrich drepper and derived from the HPUX code. rs=shaver 2003-06-19 02:58:45 +00:00
timeless%mozdev.org 4942b03239 Bug 187031 [nsLocalFileWin] nsLocalFile::Remove returns os remove values (-1) as nsresults
r=dougt sr=darin
2003-06-18 23:19:11 +00:00
timeless%mozdev.org a72dfd67dd Bug 209681 improve XPCOM_CHECK_PENDING_CIDS: prevent some crashes, enable component manager to block components by contract
r=dougt
2003-06-18 23:03:08 +00:00
timeless%mozdev.org 60b80117e3 Bug 209808 Mismatched delete / delete [] in nsCategoryManager.cpp
r=dougt
2003-06-18 18:55:35 +00:00
bsmedberg%covad.net a82cd52521 Bug 193031 fix category manager to use aPersist parameter. Bug 54639 Category Manager is not thread-safe. Bug 208437 separate threadsafe nsBaseHashtable into super-class nsBaseHashtableMT. r=dougt/alecf I know Sun Workshop builds are still broken... working on it. 2003-06-18 11:26:27 +00:00
jst%netscape.com 3624ae8b21 Fixing typo in comment. 2003-06-18 06:52:16 +00:00
alecf%flett.org 63cdbb3203 fix bug 209699 r=dougt, sr=jst - move some consumers over to CopyUTF8toUTF16 2003-06-18 02:22:46 +00:00
bryner%netscape.com 0e8aa09510 Fix a debug-only crash when requesting a non-existant contractid. Bug 209680, r=dougt, sr=alecf. 2003-06-17 21:12:11 +00:00
timeless%mozdev.org 45fde5c69a Bug 204146 Undefined symbols during autoregistration should go to stdout
r=dougt
2003-06-17 18:19:40 +00:00
timeless%mozdev.org f6516c3e12 Bug 204146 Undefined symbols during autoregistration should go to stdout
Change output for NSPR_LOG_MODULES=nsComponentManager:1 .. 4 to be useful
r=dougt
2003-06-17 17:50:00 +00:00
jst%netscape.com d98c2ff1e8 Fixing typo in comment. 2003-06-17 16:30:35 +00:00
jst%netscape.com 5e31f0fbb6 Fixing bug 87677. Making AppendUTF[8|16]toUTF[16|8]() not copy the string twice when not needed. r=jaggernaut@netscape.com, sr=dbaron@dbaron.org 2003-06-17 16:30:17 +00:00
timeless%mozdev.org 14fd47f872 Bug 204407 cleanup warnings in nsToolkit.cpp and plevent.c
patch by sergei_d@fi.tartu.ee r=timeless sr=bz
2003-06-15 04:06:04 +00:00
timeless%mozdev.org 7361f0325f Static build bustage
Change for Bug 124958 should not have changed the static build
2003-06-14 00:18:12 +00:00
timeless%mozdev.org 193d42cfcd Static build bustage
Change for Bug 124958 should not have changed the static build
2003-06-13 21:40:06 +00:00
timeless%mozdev.org ac9af605d4 Bug 124958 Crash on startup in OpenBSD in static constructor calls
global variables are shared by all shared libraries
patch by wilfried@spamcop.net r=dougt
2003-06-13 17:05:56 +00:00
dbaron%dbaron.org 18b8c334fb Move the core of NS_ConvertUCS2toUTF8 into character sinks in nsUTF8Utils.h, and use them to make ToNewUTF8String faster. Fix bug in surrogate handling in the moved code. Make various tweaks to improve performance of conversion between UCS2 and UTF-8 (both ways). b=206682 r=jag sr=jst 2003-06-11 04:27:13 +00:00
seawood%netscape.com 97649bab86 Removing old cfm build files. Use the CFM_LAST_RITES tag to resurrect. r=macdev 2003-06-10 21:18:27 +00:00
seawood%netscape.com b28ce0a530 Removing old cfm build files. Use the CFM_LAST_RITES tag to resurrect. r=macdev 2003-06-10 20:12:33 +00:00
dougt%meer.net 0d5620770d Adding comments to nsDirectoryServiceDefs. 2003-06-10 20:09:25 +00:00
seawood%netscape.com 21e62fa849 Removing cfm specific versions of glib & libidl.
Bug #98811 r=macdev
2003-06-10 18:41:52 +00:00
peterv%netscape.com 1db3c32cdc Fix for bug 208398 (Implement swap on nsRefPtr). r=sicking, sr=dbaron. 2003-06-10 11:39:54 +00:00
dougt%meer.net 60d5f4ed17 Moving all important docs to gila. This is a documentation only change - not part of the tinderbox|release builds 2003-06-06 19:49:28 +00:00
dbaron%dbaron.org 58f15ed67e Remove unneeded duplication from nsCOMPtr.h. b=208449 r=sicking sr=jag 2003-06-05 23:43:08 +00:00
dbaron%dbaron.org 015ab0d484 Change _MSC_VER ifdef since MSVC++ .net 2003 has fixed one of their compiler bugs. b=208439 Patch from Ian Hickson <ian@hixie.ch>. r=dbaron sr=jag 2003-06-05 18:50:16 +00:00
jkeiser%netscape.com 3eaf824c9d Make nsAutoPtr declarable with forward-declared classes (bug 107291), r=bugmail@sicking.cc, sr=dbaron@dbaron.org 2003-06-05 17:55:33 +00:00
jshin%mailaps.org ff38b26577 bug 183156 : the first step : replace UCS2 in function names with UTF16
(r=peterv, sr=alecf)
2003-06-05 11:44:06 +00:00
jshin%mailaps.org 5c17cefb54 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 32fe82e60e 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 d99c80bf83 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
bsmedberg%covad.net 9ab392b2fb Bug 207399 - minor cleanup to help building on the Intel compiler. r=dougt 2003-06-03 10:52:26 +00:00
jkeiser%netscape.com ea020d3190 Remove the no-forward-declared-nsCOMPtr hack (bug 107291), r=bugmail@sicking.cc, sr=dbaron@dbaron.org 2003-06-03 03:56:14 +00:00
jst%netscape.com a159b5a1eb Fixing bug 87677. Implementing {Copy,Append}[UCS2|UTF8]to[UTF8|UCS2](). Lame implementations for now, but at least people can start using these methods to avoid double copying all over (this doesn't eliminate the double copy, but it isolates it). r=jaggernaut@netscape.com, sr=alecf@flett.org. 2003-05-31 06:03:18 +00:00
brendan%mozilla.org 33cce84916 Disable DEBUG_brendan stuff. 2003-05-30 20:25:42 +00:00
alecf%flett.org 8fa1bb278e remove these files, they aren't built any more 2003-05-30 06:00:51 +00:00
timeless%mozdev.org 95f81078f1 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
bsmedberg%covad.net 1ec4879a62 bug 206254 allow nsBaseHashtable::IsInitialized() and bug 206528 nsBaseHashtable should initialize mLock. r=alecf 2003-05-26 23:36:19 +00:00
timeless%mozdev.org 915641a045 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 e016c1df62 Bug 206943: Slightly optimize NS_GetSpecialDirectory. r=dougt, sr=dbaron 2003-05-24 03:11:36 +00:00
dougt%meer.net 6ba4b45490 fixing bustage 2003-05-23 22:38:41 +00:00
dougt%meer.net 365d3d936e Lazy allocation of PLEvent's lock and condvar r=darin, b=204962 2003-05-23 22:26:38 +00:00
dougt%meer.net ad4efabeb5 removing dynamically allocated hashtable in xpcom where possible. r=alecf, b=204634 2003-05-23 22:23:10 +00:00
timeless%mozdev.org b20cd43140 Bug 205608 Warning: C++ style comments are not allowed in ISO C89
r=jst sr=jst
2003-05-23 22:18:18 +00:00
timeless%mozdev.org 2ba082c8ae Bug 205363 Remove SendStatusNotification/nsIPrintStatusCallback
r=dbaron sr=dmose
2003-05-23 22:10:13 +00:00
timeless%mozdev.org d906338455 Bug 203356 In method `xptiInterfaceInfoManager::AddOnlyNewFilesFromFileList' warning: unused variable `PRUint32 countOfFilesInWorkingSet
r=dougt
2003-05-23 21:50:06 +00:00
dwitte%stanford.edu 270d3909ca 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 c6ff914d34 Backing out my checkin for bug 206682 due to performance regression (slowing down NS_ConvertUCS2toUTF8). 2003-05-23 00:32:54 +00:00
dbaron%dbaron.org 06133b6d3c Move the core of NS_ConvertUCS2toUTF8 into character sinks in nsUTF8Utils.h, and use them to make ToNewUTF8String faster. Fix bug in surrogate handling in the moved code. Fix null-termination bug in UTF8ToNewUnicode. b=206682 r=jag sr=alecf a=brendan 2003-05-22 21:25:43 +00:00
dbaron%dbaron.org 77bf6f4e26 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
jdunn%netscape.com 4804786627 fixing xptcstub code for hp-ux ia-64 for kishan@cup.hp.com
# 146722
r=dbradley@netscape.com
sr=shaver@mozilla.org
a=sspitzer@netscape.com
2003-05-21 19:11:29 +00:00
sgehani%netscape.com 71ed167934 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
dbaron%dbaron.org 4046571e9b Fix gcc3 builds on Solaris/x86. r=dbradley sr=brendan a=asa b=149461 2003-05-20 20:47:12 +00:00
blizzard%redhat.com 255d8b5a41 Missed file for checkin for bug #205752. 2003-05-20 18:52:40 +00:00
blizzard%redhat.com dddd145e35 Bug #205752. Support a directory for gre config files: /etc/gre.d/ r=dougt,a=asa 2003-05-20 17:43:12 +00:00
timeless%mozdev.org 46bd47de9e Bug 206287 things Will be re-ordered to match declaration order
r=roc+moz sr=roc+moz a=roc+moz
2003-05-20 02:02:56 +00:00
dougt%meer.net 78d341b0c4 disabling unloading of dependent libraries on HPUX. On tihs and possibly other platforms there is no reference count on dso's. This means that when unload is called, the libraries is actually unloaded causing a crash. b=204804, r=blizzard 2003-05-16 13:24:55 +00:00
dbaron%dbaron.org 8eed196c97 Fix bustage on Sun Workshop compiler (nebiros tinderbox). r=darin 2003-05-16 00:52:17 +00:00
darin%netscape.com ac836dfcc2 fixes bug 162025 "UNC Based Profiles don't work" r=dougt sr=dbaron a=asa 2003-05-14 21:56:49 +00:00
dougt%meer.net 3c693caabd Stacks nsFactoryEntry's so that we can support overloading factories a bit better. r=darin, a=blizzard, b=204870 2003-05-13 22:50:03 +00:00
bsmedberg%covad.net 110776c7d6 Fix ANSI-strict compiler errors using GCC 3.4 (from CVS). bug 201407 r=jkeiser sr=brendan a=sspitzer 2003-05-11 01:28:03 +00:00
jrgm%netscape.com cf01c9d921 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
dougt%meer.net 04fb8b72d8 Sets the current directory to the process directory at startup. This is to avoid a potential problem with embedding applications calling ShellExecute where the working directory parameter. This results in the new process inheriting the current working directory of the old process. See bug 202363. r=wtc@netscape.com, a=asa@mozilla.org 2003-05-08 18:42:15 +00:00
dougt%meer.net be2a8f6235 Backing out dependent library loading on windows. Fixes 204676. 2003-05-07 18:39:47 +00:00
dougt%meer.net 55d29a7c7b Missed this checkin when I landed. It is required to prevent a hang. I am also disabling some DEBUG_dougt code. r=darin, a=seth, bug=193442 2003-05-05 06:06:57 +00:00
dougt%meer.net 65b3fedb62 Fixing static build bustage. Need to translate names 2003-05-04 23:32:53 +00:00
dougt%meer.net 9fa187d6ab Adding a dependent_libs cache. b=193442, r=darin, a=seth 2003-05-03 00:54:20 +00:00
ccarlen%netscape.com 47683e635f 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
dougt%meer.net 61f22d315f Fixing up the comment so that it doesn't include params which are not there. r=me. Thanks to Ellen Evans for pointing this out. 2003-05-01 23:28:38 +00:00
ssu%netscape.com 3e7f61a67d 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
ccarlen%netscape.com 50935327d1 Fix error in original patch to bug 190336. Using address-of operator on the result of a cast is wrong and fails on gcc only when producing optimized code. r=pinkerton/sr=sfraser/a=asa 2003-04-25 19:29:24 +00:00
dougt%meer.net a02f79969c Enables generic module code to use DEPENDENT_LIBS if defined. Note that this is not enabled for XPCOM_GLUE since support for DEPENDENT_LIBS requires an unfrozen interface. b=193442, r=alec@flett.org, a=sspitzer@netscape.com 2003-04-25 04:48:22 +00:00
bsmedberg%covad.net a063aaffd5 Fixing AIX bustage. r=jdunn a=mkaply/ycalonje 2003-04-24 16:01:24 +00:00
bsmedberg%covad.net d0b580c34a Fix for mac build bustage, with ccarlen. Cleanup from bug 201034. 2003-04-24 05:27:10 +00:00
bsmedberg%covad.net 22ee934b64 Attempting to fix Mac build bustage. 2003-04-24 03:29:19 +00:00
bsmedberg%covad.net d1f638b36f Bug 201034 non-const enumeration in nsBaseHashtable, add
nsTHashtable::RawRemove. Add a hashtable test-suite, and
clean up some codesize issues. Also fixes bug 203030 and
hopefully SunOS build bustage. r=jkeiser sr=alecf a=asa
2003-04-24 01:54:57 +00:00
brendan%mozilla.org 784eab4a1d 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 d83534770a Fix bug 105344. r=saari, sr=darin. 2003-04-23 05:05:16 +00:00
mkaply%us.ibm.com fcc51f8013 OK, should be final - need PR_CALLBACK here 2003-04-23 04:51:42 +00:00
mkaply%us.ibm.com 2df9fd3c2d Putting this back because I think it might break stuff - OS/2 will be broke however 2003-04-23 04:42:35 +00:00
mkaply%us.ibm.com 43cb1a0e6d One more PR_CALLBACK 2003-04-23 04:38:40 +00:00
mkaply%us.ibm.com 93f248fd4f OS/2 bustage - PR_CALLBACK stuff 2003-04-23 04:33:14 +00:00
cls%seawood.org 8b363ed6a2 Change the naming scheme for the mingw libraries to use the following format:
static lib: libfoo.a
import lib: libfoo.dll.a
shared lib: foo.dll
Bug #134113 r=dmose
2003-04-23 00:54:38 +00:00
jst%netscape.com 8f24979ea4 Fixing bug 199399. Eliminating the interfaces nsIXMLDocument now that it's not needed any more. r=peterv@netscape.com, sr=heikki@netscape.com 2003-04-22 21:57:25 +00:00
ccarlen%netscape.com 82d6d96035 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
bryner%netscape.com 5aacded6e8 Use the correct filename for libxpcom on OS X. Bug 202686, r+sr=dougt. 2003-04-20 17:59:47 +00:00
seawood%netscape.com f7bf89f618 Remove global _POSIX_SOURCE & _SVID_SOURCE defines for linux.
Bug #202510 r=darin
2003-04-18 20:14:17 +00:00
ccarlen%netscape.com 806c4e65db Part of bug 190336 - makes nsFileSpec use base64 encoded aliases for persistent descriptor - as does nsILocalFile and nsFileSpec in CFM build. Patch by sfraser, r=ccarlen/sr=sspitzer 2003-04-18 14:18:53 +00:00
ccarlen%netscape.com 35e19dac59 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 130c3dec24 using strnicmp instead. r=darin 2003-04-18 05:43:41 +00:00
mkaply%us.ibm.com c33d0334cd 202480 for OS/2 2003-04-18 02:22:17 +00:00
dougt%netscape.com 5f9d31938b bug 202480. Windows doesn't care about case. ::Contains must not either. r=darin 2003-04-18 00:48:38 +00:00
dougt%netscape.com 899eaaa107 bug 201711. We were not uninstalling the component. r=darin 2003-04-18 00:46:34 +00:00
dbradley%netscape.com 6b9b5f339d Bug 195736 - Small change to xptcinvoke_gcc_x86_unix.cpp. r=dbradley, sr=shaver 2003-04-16 13:30:44 +00:00
alecf%netscape.com 0b48cf638a 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 42ed2c232f fixes bug 201574 "Many Unaligned access messages when reading XUL.mfasl" r/sr=alecf,brendan 2003-04-15 18:17:54 +00:00
dougt%netscape.com 9a96f1f937 now correctly determines when two services race on a single cid. patch by mscott+dougt, r=dbaron, b=194568.\nalso removes xpcom component release location sr=alecf b=201263 2003-04-14 20:50:14 +00:00
dougt%netscape.com 0fa63324ca Fixes bug - Mozilla fails to run due to missing StubNNN global data. r=dbradley bug=201490. patch submitted by jim@rrsl.rsmas.miami.edu 2003-04-14 20:43:22 +00:00
dougt%netscape.com 8e41040c94 Fixes a crash on shutdown. patch by bryner. r+sr=dougt 2003-04-12 07:16:31 +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
bsmedberg%covad.net c47f659d09 forgot Makefile.in bug 200709 r=jkeiser sr=alecf Many apologies, this is my first mozilla checkin. 2003-04-10 14:14:32 +00:00
bsmedberg%covad.net edeed1b17d win32 bustage-fix for bug 200709 2003-04-10 14:01:03 +00:00
bsmedberg%covad.net 2fe15728d7 bug 200709 remove dynamic linking of nsTHashtable and family. r=jkeiser sr=alecf 2003-04-10 13:27:16 +00:00
mhammond%skippinet.com.au 9e50b7b363 Fix bug 200893 - Timeline Service is not thread aware,
and bug 200204 - Timeline service should expose NS_TIMELINE_MARK_TIMER1
sr=alecf, r=alecf/dougt
2003-04-10 05:39:46 +00:00
dougt%netscape.com 5a9ee1e7e3 attempt 2 to fix mac os X bustage 2003-04-08 23:45:17 +00:00
dougt%netscape.com db53003e82 doh. missed a endif 2003-04-08 22:26:13 +00:00
dougt%netscape.com acf475c8a5 attempting to fix mac bustage 2003-04-08 21:51:58 +00:00
dougt%netscape.com ba320bcb27 spelling error fixed - thanks pkw@us.ibm.com. 2003-04-08 21:13:54 +00:00
dougt%netscape.com 051cd58d22 fixing mistake in help option 2003-04-08 20:58:08 +00:00
dougt%netscape.com f5841229f3 RegXPCOM rewrite - see bug 183075 for details. sr=darin & alecf 2003-04-08 20:46:17 +00:00
dougt%netscape.com 51d7281d32 Removing obsolete files r=dougt 2003-04-08 20:40:05 +00:00
dougt%netscape.com ef09d77cea removing removed NS_DEF_FACTORY and nsXPComFactory.h. r=alecf b=200750 2003-04-08 20:37:02 +00:00
dougt%netscape.com d2fa1050d2 removing status and registry locations from xcdll. These two members are not being used. r=alecf. b=200722 2003-04-08 20:29:43 +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