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

4988 Коммитов

Автор SHA1 Сообщение Дата
pavlov%netscape.com 34dbf69dcd fix indentation/tabbing 2001-10-11 07:19:01 +00:00
alecf%netscape.com 26cdedfc78 bug 104126 - remove nsStringArray::IndexOfIgnoreCase and its one consumer. sr=attinasi, r=jag 2001-10-11 01:30:52 +00:00
pavlov%netscape.com 7787e9bc61 xptcstubs code for o32 mips/linux r=pavlov sr=waterson 2001-10-11 00:33:36 +00:00
ftang%netscape.com a2d9cc3f48 fix 96529. lazy load unicharutil for start up.
author=waterson r=ftang sr=brendan
2001-10-11 00:25:21 +00:00
jaggernaut%netscape.com 49db831c73 We'll want support for IsVoid and SetIsVoid on nsACString too. r=jst,dbaron, rs=scc. 2001-10-10 07:51:16 +00:00
jaggernaut%netscape.com f8d4903d59 Bug 81444: Remove deprecated null_nsCOMPtr(), r=mozbot, sr=scc. 2001-10-10 07:51:08 +00:00
dbaron%fas.harvard.edu 375e512f8b Add xptcinvoke code for gcc 3.0 on Solaris. This is just a heavily modified version of xptcinvoke_asm_sparc_solaris_GCC.s . Not yet part of the build. b=71627 2001-10-10 06:29:28 +00:00
ftang%netscape.com 39fbce1449 fix bug 101852. r=alecf, sr=darin/brendan. add PRUnichar* base IsAscii routines 2001-10-10 00:27:51 +00:00
jband%netscape.com 9151e75d3c NOT PART OF BUILD. bug 44675. bug 98209. New files 2001-10-09 23:42:22 +00:00
bienvenu%netscape.com 7c7aaca10e fix string leak in GetWindowsFolder r=dougt sr=sspitzer 103779 2001-10-09 03:30:12 +00:00
pavlov%netscape.com 9aa2253a54 build xptcinvoke_*_mips.* on linux/mips r=pavlov sr=waterson 2001-10-09 01:01:48 +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
rjesup%wgate.com ae301262f7 Bug 103330: Use Assign() instead of SetLength(0); Append(). r=jag, sr=alecf 2001-10-08 20:07:04 +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
jaggernaut%netscape.com 25694acfa3 Clean up REQUIRES lines. 2001-10-07 10:35:41 +00:00
pavlov%netscape.com bd14b34ee0 Adding xptcinvoke code for the MIPS O32 ABI. r=pavlov sr=brendan 2001-10-06 03:45:29 +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
seawood%netscape.com 49f6a6e781 Check for both __sun__ & __sun since Forte only seems to define the latter.
Bug 101773
2001-10-02 22:35:31 +00:00
jaggernaut%netscape.com 5ee820f275 Okay, we need |typename| for HP-UX. Adding. 2001-10-02 11:15:45 +00:00
jaggernaut%netscape.com acb7f26df3 Bug 102523: Non-ASCII characters are showing up as '?'s in certain cases because the ASCII to UCS2 code which we recently started using more was doing an incorrect conversion. r=bbaetz, r=dbaron, rs=scc 2001-10-02 10:18:31 +00:00
dbaron%fas.harvard.edu fe3f9578bd Fix typo in include guard. r=jag 2001-10-02 03:18:12 +00:00
dbaron%fas.harvard.edu 0cc7ea34da Bug 45797: replace remaining uses of deprecated macros NS_IMPL_QUERY_INTERFACE and friends with NS_IMPL_QUERY_INTERFACE1 and friends and remove the deprecated macros. r=jag sr=alecf 2001-10-02 03:18:08 +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
dougt%netscape.com f69c9d1bb5 fixed 102460. Make NS_IMPL_THREADSAFE_ISUPPORTS work again sr=rpotts@netscape.com 2001-10-01 19:44:27 +00:00
timeless%mac.com 14ab0f47b8 Bugzilla Bug 72878 zap unused variables from xpidl
r=shaver, sr=jband
2001-10-01 09:08:04 +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
bzbarsky%mit.edu aeb875870c Make nsICharsetAlias::GetPreferred() and nsICharsetAlias::Equals() take
nsAStrings instead of nsStrings.  Bug 102096, r=ftang,jag. sr=shaver
2001-09-30 04:01:15 +00:00
seawood%netscape.com b241cfac14 Removing nsCOMPtr.{h,cpp} from xpcom/base. They have been copied (in the cvs repo) and are built in xpcom/glue.
Bug #99698
2001-09-30 03:30:29 +00:00
seawood%netscape.com 1693547812 Split part of xpcom into separate xpcomglue library to be used for standalone builds eventually. Start with nsCOMPtr.*
Bug #99698 r=rpotts sr=alecf
2001-09-30 01:44:25 +00:00
seawood%netscape.com 258f63488a Old age...that's gotta be it. 2001-09-29 23:38:14 +00:00
seawood%netscape.com b4cb4dc46b Split xpcom into separate xpcomglue library starting with nsCOMPtr.*
Bug #99698 sr=alecf
2001-09-29 23:03:39 +00:00
seawood%netscape.com 31ebfa8d88 Export nsCOMPtr.h from xpcom:glue instead of xpcom:base .
Bug #99698 sr=alecf
2001-09-29 12:31:09 +00:00
seawood%netscape.com 123ca30ce8 Build glue:nsCOMPtr.cpp instead of base:nsCOMPtr.cpp Bug #99698 r=sdagley 2001-09-29 12:22:57 +00:00
jaggernaut%netscape.com aadccb6c44 Removing dead code, r=dbaron, rs=scc 2001-09-29 10:18:32 +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
dougt%netscape.com 6a03e7e9b8 Adding new hash key. r=darin@netscape.com, sr=brendan@mozilla.org bug=81956 2001-09-28 21:37:23 +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
mkaply%us.ibm.com 5e9a58286e OS/2 bustage - we don't use _System 2001-09-27 16:04:44 +00:00
jdunn%netscape.com 9b76fa6a94 rulebrk.c includes this header, so we can't have c++
comment delims (//) we need to stick with c ones (/* ... */)
Fixing bustage!
2001-09-27 12:41:06 +00:00
dougt%netscape.com 9014c1e381 fixing a missing } in the macro. r=sfraser@netscape.com 2001-09-27 04:49:38 +00:00
dougt%netscape.com 61a2818b03 Adding new files to the unix build. 2001-09-27 04:37:35 +00:00
dougt%netscape.com 5935143361 reverting 99248. r=shaver|brendan@mozilla.org 2001-09-27 03:52:45 +00:00
dougt%netscape.com 62afce095d Landing nsISupports changes. Freezes nsISupports.idl and nsrootidl.idl. r=valeski@netscape.com, sr=rpotts@netscape.com bug 98281 2001-09-27 03:43:00 +00:00
dbaron%fas.harvard.edu 3316d8ff52 Fix build bustage. Not part of the default build. b=99248 2001-09-27 00:43:32 +00:00
dougt%netscape.com d367501b1d uses strtok_r if avaliable. r=doug/cls, sr=rpotts, patch by drepper@cygnus.com. bug 99248 2001-09-25 23:31:27 +00:00
dougt%netscape.com c2bc6ca34d protects against crash when calling smprintf with a null argument. r=me, sr=darin@netscape. patch submitted by risto.kankkunen@iki.fi. bug number 100293. 2001-09-25 22:21:14 +00:00
jaggernaut%netscape.com 8d20ea55be Bug 100764: remove NS_ConvertABCtoXYZ(CharT). r=dbaron, rs=scc 2001-09-25 09:37:13 +00:00
jaggernaut%netscape.com ec980ce4fb Bug 100750: string iterator users should use correct typedefs. r=dbaron, rs=scc 2001-09-25 09:35:50 +00:00
dp%netscape.com d704cae585 bug 100682 temporary way to get service without creating a new
one. This will get fixed the right way along with other api changes
for component and servicemanager r=sfraser/dougt, sr=mscott
2001-09-25 00:38:44 +00:00
dp%netscape.com 9797a89805 bug 29063 Removing unneccessary stat() r/sr=waterson/alecf 2001-09-25 00:19:52 +00:00
jaggernaut%netscape.com c260906e58 Remove dead string files from the tree, r=dbaron, rs=scc 2001-09-24 23:55:19 +00:00
bienvenu%netscape.com 9b7b1feab2 fix 101143 r=dp, sr=waterson shutdown observer skipped if previous observer removes itself upon shutdown notification 2001-09-24 23:07:44 +00:00
alecf%netscape.com 060ef565d4 oops, remove this chrome line - for REQUIRES builds only 2001-09-21 14:28:26 +00:00
cls%seawood.org beb7e271fa Initial version. Added nsCOMPtr.h
Bug #99698 not part of build (yet)
2001-09-20 10:08:33 +00:00
cls%seawood.org 697ba94e32 Initial version of libxpcomglue win32 makefile. not part of build (yet)
Bug #99698
2001-09-19 08:09:04 +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
chak%netscape.com 6d39581d5a Fix for #99144 - Marking nsIFactory as frozen
r=dougt, sr=rpotts
2001-09-18 21:40:42 +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
cls%seawood.org 7b40e5038e Initial version for bug 99698. Not part of the build. 2001-09-14 23:50:59 +00:00
jaggernaut%netscape.com 7a432ea951 Add support for IsVoid and SetIsVoid, add NS_COM to nsAStringGenerator. r=jst, rs=scc. 2001-09-14 08:23:46 +00:00
vidur%netscape.com 057feb6217 Fix for bug 12189. Added NS_ERROR_MODULE_GENERAL as an return code base for non-core components that don't care if their return codes overlap. r=dougt, sr=rpotts 2001-09-12 20:43:49 +00:00
brendan%mozilla.org 567e35c2fc 1. Fix jsdhash/pldhash.[ch] so that add/remove cycles for a given k do not
create a long chain of removed sentinels.  Also, when adding k to a table
    where k is not mapped, but where k hashes to a chain that includes removed
    sentinels, recycle the first removed sentinel in the chain for k's entry.
2.  Cache cx->resolving till js_DestroyContext, to avoid high JSDHashTable
    new/destroy overhead in js_LookupProperty.
3.  Add NS_TraceStack to nsTraceMalloc.[ch] and clean the .c file up a bit.
2001-09-12 06:39:31 +00:00
dp%netscape.com 04e45d44f1 letting factories overrride native components. Fixes embedding
smoketest blocker bug# 99130 r=adamlock
2001-09-11 18:10:31 +00:00
beard%netscape.com f576a5eedf fix for bug #98290, keep stack aligned to 16 byte boundaries, r=beard, sr=sfraser 2001-09-11 06:10:31 +00:00
jband%netscape.com 5fb5520fbf Not part of the build - updating status page to reflect pavlov's great accomplishment. Also adding title attributes to <img> tags so that we can see the tip text on mozilla too. 2001-09-10 23:03:37 +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
dougt%netscape.com f99dbbbc26 fixes 98735. r=adamlock, sr=rpotts. Basic problem is that the first argument of NS_InitXPCOM2 was not returning an nsIServiceManager 2001-09-10 04:28:37 +00:00
jaggernaut%netscape.com 0edd20468e Bug 97328: switch XPIDL from nsAReadableString (and nsAWritableString) to const nsAString. r=cls, sr=shaver 2001-09-09 07:17:17 +00:00
dbaron%fas.harvard.edu 03b8e91855 Move trace-malloc readers from mozilla/xpcom/base/ to mozilla/tools/trace-malloc/. Add a --shutdown-leaks option to nsTraceMalloc to dump, to the file given as an argument to the option, information about allocations still live at shutdown. Add a new trace-malloc reader (leakstats.c) to print leak statistics. b=84831 r=jag sr=brendan 2001-09-08 18:29:24 +00:00
dp%netscape.com 8fa7ca8c8d bug# 96457 Fixing ReInit() to account for the new factory entry type
r=gagan, sr=jband
2001-09-08 00:01:03 +00:00
jaggernaut%netscape.com 6022201d29 Bug 93071: Incorrect test in UnregisterComponent: we want to unregister if the registry name matches. r=bryner, sr=shaver 2001-09-07 03:48:37 +00:00
ccarlen%netscape.com 8389841cc2 Fixing bustage - didn't remove file from both targets 2001-09-06 22:16:57 +00:00
mkaply%us.ibm.com b8433ca1dc OS/2 build bustage - thanks gerv 2001-09-06 22:10:51 +00:00
naving%netscape.com 4b3380b60b 95501 r/sr=bienvenu sr=mscott. Fix nsDocShell leaks for pop3 accts on start-up and shutdown. 2001-09-06 21:32:11 +00:00
jband%netscape.com 962426529a Slightly modify the WIN32 flags check to catch missing XP_WIN32 define also. Add a comment to help people tripping over this so that they can see what we are telling them to fix. See bug 65727. rs=jband 2001-09-06 21:26:08 +00:00
ccarlen%netscape.com e28cdff7fe removed nsServiceManager.cpp, nsRepository.cpp for dougt 2001-09-06 21:14:30 +00:00
dougt%netscape.com 31c1842a29 Merge ServiceManager and ComponentManager. Bug 96457. r=dp@netscape.com, sr=wat
erson@netscape.com
2001-09-06 21:13:11 +00:00
pavlov%netscape.com 8e274fa328 fixing warnings/build bustage from checkin a minute ago 2001-09-06 09:07:08 +00:00
pavlov%netscape.com b3bfd0fe60 adding additional tests. part of sparcv9 work.. bug 91840. r=me/cls@seawood.org/rogerl rs=brendan 2001-09-06 08:27:43 +00:00
pavlov%netscape.com e10daab808 Enabling the sparcv9 xptcall code. Bug 91840. r=me/cls@seawood.org/rogerl rs=brendan 2001-09-06 08:23:09 +00:00
pavlov%netscape.com bf50a50a8b Adding a few more comments about what is going on and fixing the couple of issues brought up by brendan. Work for bug 91840. not part of build 2001-09-06 08:18:24 +00:00
alecf%netscape.com a03ce41ec0 string changes for MOZ_TRACK_MODULE_DEPS - bug 98371 r=cls 2001-09-06 04:06:10 +00:00
alecf%netscape.com 68824c3a8d dumb
CVS :nd string makefile updates for 98371 r=cls----------------------------------------------------------------------
2001-09-06 03:56:35 +00:00
valeski%netscape.com 9c87bd5a37 fixing IRIX bustage. win line endings wound up in the new .h file. this diff converts them to raw line ending chars 2001-09-05 22:52:43 +00:00
valeski%netscape.com ac33036169 r=dbaron, sr=dougt. 97667. nsIInterfaceRequestor is now frozen. nsIInterfaceRequestorUtils.h is now required if you want to use do_GetInterface() for convenience. The two were split because the stuff that is now in nsIInterfaceRequestorUtils.h wasn't ready for freezing. Also, .idl files should just contain interface defs anyway. 2001-09-05 21:28:38 +00:00
jaggernaut%netscape.com 56490a5e26 Remove #define nsString2 nsString and #define nsAutoString2 nsAutoString and fix last few uses of them. r=dbradley, rs=scc 2001-09-05 12:42:54 +00:00
jaggernaut%netscape.com 5979297126 Bug 98153: Remove SubsumeStr. r=dbaron, sr=scc 2001-09-05 10:46:45 +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
cls%seawood.org 10fc059771 Add floating point support to sparcv9 xptcall implementation.
Bug #91840 r=pavlov [not part of the build and all that nonsense]
2001-09-03 01:47:32 +00:00
dougt%netscape.com 7612adc80d backing out my changes due to linux orangeness 2001-09-02 17:15:16 +00:00
dougt%netscape.com 0e2b282b21 Fixes a crash when QI'ing on async xpcom event proxy. r=rpotts, sr=jband, a=blizzard 2001-09-02 05:53:28 +00:00
pavlov%netscape.com bc7d6c899b change the st calls to stx since we're using extended words now. 2001-09-02 02:17:37 +00:00
pavlov%netscape.com 788688b5e8 learning to type.. (not part of build) 2001-09-02 00:27:28 +00:00
pavlov%netscape.com 454db0dabd typo 2001-09-02 00:23:10 +00:00
pavlov%netscape.com b30c59d0fc cleaning up a little.. adding new xptcstubs v9 (not part of build) 2001-09-02 00:18:39 +00:00
pavlov%netscape.com 21d2101820 adding xptcstubs for sparcv9 (64bit). not part of build 2001-09-01 23:48:04 +00:00
pavlov%netscape.com e238bef778 fixing some typos :) (NOT PART OF BUILD) 2001-09-01 08:02:48 +00:00
pavlov%netscape.com 9f3b9ba957 adding sparcv9 xptcall code for 64bit solaris with Sun Workshop/Forte compilers. not part of the build. 2001-09-01 07:57:33 +00:00
waterson%netscape.com becc569cc0 Bug 97828. Be sure to create the static component loader before putting it into mLoaderData array. r=dp, sr=jband/sfraser, a=asa 2001-08-31 21:45:58 +00:00
dp%netscape.com c9ea0f44cf bug# 97770 fixing tree orange due to crash on unload 2001-08-31 17:45:51 +00:00
dp%netscape.com edf92427dc bug #97658 Fixing build blocker. fixing js components after component registry has been
created r=gagan
2001-08-30 22:59:12 +00:00
dp%netscape.com 9cad77db82 bug# 96701 Using an array instead of hash table to store loader
data. Storing index into loader data array rather than allocating and
copying the type string. r=dougt, sr=jband, a=asa
2001-08-30 14:10:41 +00:00
waterson%netscape.com 519cd02fc0 Fix more debug-only win32 bustage. 2001-08-30 04:42:01 +00:00
waterson%netscape.com 75564e4004 Also need to export original NS_NewGenericModule() symbol. 2001-08-30 02:20:48 +00:00
attinasi%netscape.com ed1ccfee74 Trying to fix WIN32 bustage... 2001-08-29 23:51:38 +00:00
waterson%netscape.com 5fb1910c52 Bug 96910. Restore NS_NewGenericModule() entry point for backwards compatibility. r=dougt, sr=jband, a=asa 2001-08-29 21:59:43 +00:00
dp%netscape.com a25644a9bf bug #14889 Lazy loading wallet dll r=morse,gagan sr=jband a=asa 2001-08-28 22:05:30 +00:00
jband%netscape.com cc6df875da Restore old method order so that newer components implmenting this interface are still callable by 0.9.2/NS6.1 browsers. bug 96917. sr=vidur r=brendan a=drivers 2001-08-28 21:46:08 +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
thesteve%netscape.com a259a42b90 Bug#81373 (mac static build)
added nsStaticComponent.h
r=jfrancis
sr=sfraser
a=asa on behalf of drivers
2001-08-27 23:48:03 +00:00
thesteve%netscape.com ee4a202cfe Bug#81373 (mac static build)
add: link with nsStaticComponentLoader.cpp
r=jfrancis
sr=sfraser
a=asa on behalf of drivers
2001-08-27 23:43:23 +00:00
thesteve%netscape.com 4c765650b5 Bug#81373 (mac static build)
landing mac static build.
r=jfrancis
sr=sfraser
a=asa on behalf of drivers
2001-08-27 23:36:11 +00:00
rjesup%wgate.com 21a61a2079 Bug 94243: VoidArray usage patch. a=asa sr=brendan r=waterson r=bienvenu
r=pierre r=jband/dbradley  Also fixes some whitespace issues.
2001-08-27 06:15:54 +00:00
dbaron%fas.harvard.edu 65dced4a06 Fix buffer overruns caused by incorrect porting of |char|-based code to |PRUnichar|. b=96764 r=bbaetz sr=brendan a=tor 2001-08-26 21:21:02 +00:00
vidur%netscape.com 7cc7556d93 Fix for bug 96517. Fixing typo in NS_ISUPPORTS_IMPL_CI macros. r/sr=jband, brendan 2001-08-24 23:59:59 +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 f4036587aa Fix for bustage, remove extra paren from my patch 2001-08-22 01:53:43 +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
dp%netscape.com bde268440f bug 94883 nsCreateInstanceByContractID() performance improvement 2001-08-21 22:42:35 +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
timeless%mac.com 25dedc42c8 Bugzilla Bug 24515 Cant build XPCOM standalone
Bugzilla Bug 88747 nsCRT::atoi should be removed or fixed
Whoops, i contributed to xpcom standalone not working
patch by jband, r=dbaron, sr=brendan

This makes nsCRT::atoi in standalone assert and functionally NOP
2001-08-21 19:36:07 +00:00
dp%netscape.com 544bddaf69 adapting to CreateInstancebyContractID() perf improvement 2001-08-21 19:07:26 +00:00
dbradley%netscape.com 3d9aa5849e Bug 44989: the memory allocated via g_malloc() should be freed via g_free(). sr=blizzard, r=jst 2001-08-21 12:33:28 +00:00
dbradley%netscape.com 610d3f8976 Bug 83591: XPIDL does not store the file length in the header in XPT Files. sr=scc, r=jband 2001-08-21 12:29:34 +00:00
jst%netscape.com 4eec412b0b Fixing bug 95871. Making it possible to put null pointers in nsISupportArrays. r=pavlov@netscape.com, sr=waterson@netscape.com 2001-08-21 08:51:19 +00:00
darin%netscape.com 017944a78b fixes bug 92563 "Bad comment in nsIInputStream?" r/sr=jst 2001-08-21 06:49:46 +00:00
jband%netscape.com e8c7678733 bug 65727. Make it an error to not have XP_WIN defined if you are compiling on Win32. Too many people with their own build projects stumble into this hole. r=valeski sr=scc (turns out this was reviewed months ago and I neglected to check it in. My bad) 2001-08-21 01:59:55 +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
waterson%netscape.com 5be81fd3ca Bug 93100. Change NS_DECL_NSGETMODULE to be table driven so we can get at module ctor & dtor callbacks. Update meta-module and static-module stuff for this change, fix meta-module to not register stuff twice. r=cls,leaf 2001-08-21 01:47:31 +00:00
waterson%netscape.com ef1265798d Bug 93100. Change NS_DECL_NSGETMODULE to be table driven so we can get at module ctor & dtor callbacks. Update meta-module and static-module stuff for this change, fix meta-module to not register stuff twice. r=cls,leaf 2001-08-21 00:55:20 +00:00
dbaron%fas.harvard.edu 39e2126cb7 Add CallGetInterface. b=92602 r=jag sr=scc 2001-08-18 14:15:07 +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
waterson%netscape.com 1b09139498 modify mac project files for MOZ_TIMELINE tool, bug 78793 2001-08-17 02:04:20 +00:00
cathleen%netscape.com b6297898fd enable MOZ_TIMELINE tool, bug 78793, r=rogc, sr=waterson 2001-08-17 02:03:34 +00:00
dbradley%netscape.com f864548d94 Bug 90366: XPIDL-Generated code produces preprocessor warnings, removed use of ##. sr=scc, r=jband,jst 2001-08-16 13:40:51 +00:00
waterson%netscape.com 5e64146342 Bug 95296. Use nsCRT::HashCode() instead of bad lossy slow hash routine. sr=brendan 2001-08-16 03:24:45 +00:00
cls%seawood.org 0fdc5570bd Replace previous 64-bit safe checkin with one that maintains the proper output of nsTraceRefcnt.
Bug #20860 r=dbaron sr=brendan
2001-08-15 03:30:39 +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
cls%seawood.org 62180bea17 Adding NS_PTR_TO_INT32 & NS_INT32_TO_PTR macros to do safe pointer casting on 64-bit platforms.
Bug #20860 r=Roland.Mainz@informatik.med.uni-giessen.de sr=brendan@mozilla.org
2001-08-14 04:14:47 +00:00
dbradley%netscape.com 3b88358165 Bug 84498: xpidl_process_idl may return uninitialized value. r=beard, sr=scc 2001-08-10 13:52:21 +00:00
dbradley%netscape.com 83cb567a5f Bug 82284: Change puts a clearer error message on zero length files. r=dbradley, r=beard, sr=scc, patch by jband 2001-08-10 13:47:45 +00:00
dbradley%netscape.com 8756ecfcad Fix for bug 42608: portability fixes for dec, problems with assert macros r=dbradley, sr=jst, patch by jband 2001-08-10 01:06:14 +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
jaggernaut%netscape.com 1d71712002 Bug 94235: add NS_COM to declaration of nsPrintfCString. r=/sr= jst,scc 2001-08-09 09:27:47 +00:00
waterson%netscape.com 8e03c80014 Bug 94267. Clean up nsVoidArray::GrowArrayBy(), fixing a couple of crashers. r=rjesup, sr=brendan 2001-08-09 01:11:18 +00:00
waterson%netscape.com 67627ecc3a Fix mac bustage. 2001-08-07 06:27:42 +00:00
waterson%netscape.com 15c17672e2 Bug 90545. nsVoidArray and nsSupportsArray cleanup. Patch submitted by rjesup@wgate.com, r=jst, sr=waterson. 2001-08-07 06:23:40 +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
waterson%netscape.com c5b444c36c Bug 71248. Convert content, layout, parser, and uconv to generic modules so that they can be linked into a meta-module. r=cathleen, sr=brendan 2001-08-07 02:55:54 +00:00
dbradley%netscape.com cf2c8cc9e5 Fix for bug 24965. This makes multiple attributes in same declaration an error in XPIDL. sr=scc, r=rginda 2001-08-06 20:42:53 +00:00
vidur%netscape.com b20b9d9523 Temporary fix for bug 92859. Components can now be registered with the generic module macros to have class info, but not be instantiable via the component manager. Currently, the class object of such components are created eagerly at module initialization time. A future fix might create them lazily. r/sr=jband, jst 2001-08-06 07:05:22 +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
waterson%netscape.com 8487939399 First checked in. Submitted by dp <dpsuresh@netscape.net>. r=dveditz, sr=waterson 2001-08-02 20:26:25 +00:00
dbaron%fas.harvard.edu c0fa9abef6 Add test for gcc 2.7.x on Linux, which requires CFRONT_STYLE_THIS_ADJUST. r=waterson sr=shaver b=88397 2001-08-02 02:02:06 +00:00
brendan%mozilla.org 5cebc5d400 Fix ownership initializer merge botch (93079, dbaron's patch, sr=shaver, r=me). 2001-08-01 22:34:42 +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 846646799a Adding nsIFastLoadFileControl.idl to project. Change emailed from Zach, to fix fastload branch landing bustage. 2001-07-31 20:57:47 +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
mkaply%us.ibm.com 71e36cb486 #88290
r=mkaply, a=blizzard
Code from Javier Pedemonte and Jeff Jones - rewrite of xptcinvoke to  be more efficient
2001-07-25 04:07:05 +00:00
mkaply%us.ibm.com 504089c5df OS/2 only - EMX break - this code should be VACPP only 2001-07-25 03:53:41 +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
jaggernaut%netscape.com 4d73a251ab Bug 73353: clean up the REQUIRES lines in Makefiles. 2001-07-23 22:36:12 +00:00
cathleen%netscape.com 562182c632 fixed bug 87004, for win static build, changed libjar and xpinstall to be
dynamic, updated static packager list, added build_static.pl, fixed static
component loader to handle no static component cases, updated and added
.cvsignore for extra files generated by static build
2001-07-19 22:43:14 +00:00
mstoltz%netscape.com 8ba12f5f91 Whoops, accidentally checked something that shouldn't be. Uncommenting-out
the break call in Assertion() (backing out earlier checkin)
2001-07-18 21:46:18 +00:00
kandrot%netscape.com 7ae214fc34 bug #82133, r=jag, sr=scc. Fix for bad typecasting of a nsISupportsArray to a nsAupportsArray. 2001-07-18 05:50:04 +00:00
kandrot%netscape.com 37be77d927 Backing out this files last set of changes. 2001-07-18 00:29:20 +00:00
kandrot%netscape.com e12211dbc8 bug #82133, r=jag, sr=scc. Fix for bad typecasting of an nsISupportsArray to a nsAupportsArray. 2001-07-17 23:44:35 +00:00
av%netscape.com a2bc907cd6 Backing out existing fix for 87193 -- r=mstolz, sr=shaver, attinasi 2001-07-17 02:24:16 +00:00
rpotts%netscape.com 46e212a972 bug #88678 (r=jst, r=dougt) The manipulation of nsProxyEventObjects is not threadsafe. 2001-07-16 21:26:04 +00:00
scc%mozilla.org efa96a34fb bug #90981 (top-crash): sr=mscott, rs=waterson. the new |nsXPIDLC?String| implementation doesn't always have a buffer handle to give up. |BeginReading| won't do what you want in this case, so modify |do_AssignFromReadable| to elide copies from empty strings. 2001-07-16 20:29:30 +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
rogc%netscape.com ce47970433 Added heuristics for speculative RTTI for gnu 2.96 compilers.
b=62996,r=blizzard,sr=waterson.
2001-07-13 22:40:04 +00:00
timeless%mac.com 656ced5924 Bugzilla Bug 88747 nsCRT::atoi should be removed or fixed
previous definition just recursed infinitely. |::atoi| takes a |char*|.
r=dbradley sr=scc
2001-07-13 05:17:33 +00:00
scc%mozilla.org 8aa9c500bd bug #90394: r=dbaron, sr=asa(?). A simple fix to a big leak when |nsXPIDLC?String|s are never accessed after assignment, deallocation failed. By storing the initial pointer in the _storage_ start slot, this is avoided. 2001-07-12 06:48:23 +00:00
mstoltz%netscape.com 3dbca29cb4 Fixing blocker bug 90197 by backing out fix for 87913 that changed the behavior of
ComponentManager::AutoRegister and instead using patch v2 from 87913 which
adds a new function rather than changing the existing one. r=mstoltz, dveditz.
2001-07-12 03:58:32 +00:00
jaggernaut%netscape.com 97c1db5b54 Add "caps" to REQUIRES to fix Senna bustage. 2001-07-11 13:45:34 +00:00
jaggernaut%netscape.com d4f0f612c1 Add "js" to REQUIRES to fix Senna bustage 2001-07-11 12:37:01 +00:00
jaggernaut%netscape.com 3b0eb90c80 Add "xpconnect" to REQUIRES to fix Senna bustage 2001-07-11 10:50:04 +00:00
jaggernaut%netscape.com 0e5514d14b Add to REQUIRES "caps" to fix senna bustage 2001-07-11 07:49:25 +00:00
mstoltz%netscape.com 939cbb8680 Checking in bug 87913 for jesse@netscape.com - Allow untrusted scripts
to call Components.manager.autoRefresh, but only with default params.
r=mstoltz, sr=jst.
2001-07-11 04:48:55 +00:00
rbs%maths.uq.edu.au 232e939520 Add methods for in-place sorting of nsVoidArray and ns[C]StringArray using caller-provided comparator callback functions. b=88344 r=dbaron sr=scc 2001-07-10 04:31:57 +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
cls%seawood.org 654b132df3 Updating .cvsignore files.
Bug #84824 r=jag
2001-07-06 02:36:37 +00:00
dbaron%fas.harvard.edu 70bbb76124 Some compilers don't support default parameters on templates, so split CallGetService and use what would have been a better solution in the first place. sr=scc b=87735 2001-07-04 20:26:31 +00:00
dbaron%fas.harvard.edu 7cbc07dc03 Add tests for CallQueryInterface, CallQueryReferent, CallCreateInstance, and CallGetService to make sure they compile on all platforms. b=87735 r=jaggernaut sr=scc 2001-07-04 18:55:15 +00:00