254 Commits

Author SHA1 Message Date
dougt%netscape.com
0f22b205af Freezes the nsIProperties interface. 162114. r=ccarlen, sr=alecf. Freezes the mozIJSSubScriptLoader interface. 157136. r=rginda, sr=alec.
git-svn-id: svn://10.0.0.236/trunk@128150 18797224-902f-48f8-a5cc-f745e15eee43
2002-08-26 20:36:44 +00:00
chak%netscape.com
115d1eadb1 Fix for #149208 - NS_InitEmbedding() uncoditionally calls AutoRegister
[When this fix was originally checked in, it broke registration of
components in the MRE dir. This patch fixes it]
r=darin, sr=bryner


git-svn-id: svn://10.0.0.236/trunk@127902 18797224-902f-48f8-a5cc-f745e15eee43
2002-08-22 23:04:04 +00:00
dougt%netscape.com
d1fc1c4b9d Fixes NS_InitEmbedding unconditionally calls AutoRegister. This also removes xpinstall from using component.reg which I believe is the last users of this file. r=chak,dveditz sr=bryner b=149208
git-svn-id: svn://10.0.0.236/trunk@127101 18797224-902f-48f8-a5cc-f745e15eee43
2002-08-12 22:09:25 +00:00
bzbarsky%mit.edu
39fdecde54 Doh. There's more bustage in this file.
git-svn-id: svn://10.0.0.236/trunk@126407 18797224-902f-48f8-a5cc-f745e15eee43
2002-08-06 01:47:23 +00:00
bzbarsky%mit.edu
aa8f078373 fix bustage
git-svn-id: svn://10.0.0.236/trunk@126405 18797224-902f-48f8-a5cc-f745e15eee43
2002-08-06 01:32:51 +00:00
jdunn%netscape.com
28c54c8a52 moving extern statement out of function scope to fix bustage
r=dougt@netscape.com
sr=rpotts@netscape.com
a=asa@mozilla.org
# 141359


git-svn-id: svn://10.0.0.236/trunk@125782 18797224-902f-48f8-a5cc-f745e15eee43
2002-07-25 14:21:00 +00:00
dougt%netscape.com
4cb4da3135 attempting to fix the AIX bustage
git-svn-id: svn://10.0.0.236/trunk@125461 18797224-902f-48f8-a5cc-f745e15eee43
2002-07-18 14:38:07 +00:00
dougt%netscape.com
ecdd8ab65f Fixes the following:
154047
This change cleans up the category manager in hopes to freeze it for 1.1 final.  This change removes dead and unsupported methods from the interface as well as removes the C++ code from the interface.  This should land for 1.1b since users of the current category manager will have to update their components.

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

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

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

r/sr=alecf@netscape.com, rpotts@netscape.com.  a=scc@mozilla.org


git-svn-id: svn://10.0.0.236/trunk@125444 18797224-902f-48f8-a5cc-f745e15eee43
2002-07-18 05:09:10 +00:00
mkaply%us.ibm.com
967c8ec974 Os/2 bustage
git-svn-id: svn://10.0.0.236/trunk@124471 18797224-902f-48f8-a5cc-f745e15eee43
2002-07-02 04:26:18 +00:00
dbaron%fas.harvard.edu
f3b021ab55 Attempt to fix BeOS bustage. b=148046
git-svn-id: svn://10.0.0.236/trunk@124470 18797224-902f-48f8-a5cc-f745e15eee43
2002-07-02 04:07:20 +00:00
dp%netscape.com
800aebd000 bug 146532 Improving recycling allocator
- Uses freelist
- 1 int overhead to store size
- nsIMemory wrapping
r=dougt, sr=darin


git-svn-id: svn://10.0.0.236/trunk@124443 18797224-902f-48f8-a5cc-f745e15eee43
2002-07-01 23:36:03 +00:00
dougt%netscape.com
d65d49c1a2 More XPCOM Glue changes and fixes. r=waterson, sr=rpotts, 154262.
git-svn-id: svn://10.0.0.236/trunk@124420 18797224-902f-48f8-a5cc-f745e15eee43
2002-07-01 20:37:17 +00:00
dougt%netscape.com
3aebd6125f 151604 - XPCOM Glue standalone stupport of dynamically loading symbols. r=dp/rpotts sr=alecf
git-svn-id: svn://10.0.0.236/trunk@123802 18797224-902f-48f8-a5cc-f745e15eee43
2002-06-21 19:58:54 +00:00
dougt%netscape.com
dffd6e4f8a Fixes 48888 - xpcom flat file backend. r=dp@netscape.com sr=waterson@netscape.com
git-svn-id: svn://10.0.0.236/trunk@123350 18797224-902f-48f8-a5cc-f745e15eee43
2002-06-14 21:33:05 +00:00
dougt%netscape.com
fe86486377 Fixes bugs 149745 148918 149715 149730 149754 129959. Cleanup of nsIFile and nsILocalFile interfaces, supporting do_GetInterface in embedding via xcom glue, and general cleanup of shutdown. r=various, sr=shaver@mozilla.org
git-svn-id: svn://10.0.0.236/trunk@123042 18797224-902f-48f8-a5cc-f745e15eee43
2002-06-11 19:26:04 +00:00
darin%netscape.com
893ea3031d fix more bustage
git-svn-id: svn://10.0.0.236/trunk@123000 18797224-902f-48f8-a5cc-f745e15eee43
2002-06-10 19:47:22 +00:00
darin%netscape.com
b4a073fd41 fix some bustage
git-svn-id: svn://10.0.0.236/trunk@122998 18797224-902f-48f8-a5cc-f745e15eee43
2002-06-10 19:44:07 +00:00
darin%netscape.com
dcfb0a0f1f fixes bug 147333 "Cannot load local files whose names contain
Japanese/Chinese characters" r=bstell sr=brendan a=asa


git-svn-id: svn://10.0.0.236/trunk@122994 18797224-902f-48f8-a5cc-f745e15eee43
2002-06-10 18:50:11 +00:00
dougt%netscape.com
929734e23b Fixes static global initialization order. r=dougt@netscape.com, sr=brendan@mozilla.org, patch by bryner@netscape.com
git-svn-id: svn://10.0.0.236/trunk@122674 18797224-902f-48f8-a5cc-f745e15eee43
2002-06-04 14:21:32 +00:00
dougt%netscape.com
12a170e07e synchronizing component registration output with xpcom shutdown. b=138667 r=jband sr=shaver
git-svn-id: svn://10.0.0.236/trunk@121337 18797224-902f-48f8-a5cc-f745e15eee43
2002-05-11 21:15:06 +00:00
darin%netscape.com
24feadaaed fixes bug 142870 "nsIFile should use UCS-2 instead of UTF-8"
r=dougt sr=alecf


git-svn-id: svn://10.0.0.236/trunk@121010 18797224-902f-48f8-a5cc-f745e15eee43
2002-05-07 23:07:19 +00:00
darin%netscape.com
824def02af fixes bug 129279 "nsIFile unicode/utf8/ascii task"
r=dougt sr=alecf


git-svn-id: svn://10.0.0.236/trunk@120092 18797224-902f-48f8-a5cc-f745e15eee43
2002-04-27 05:33:09 +00:00
dougt%netscape.com
a17830dad4 XPCOM initialize primary event queue. 135531. r=brendan@mozilla.org, sr=darin@netscape.com
git-svn-id: svn://10.0.0.236/trunk@118995 18797224-902f-48f8-a5cc-f745e15eee43
2002-04-15 22:26:29 +00:00
dbaron%fas.harvard.edu
8fa769bf01 Relanding pavlov's changes for bug 129953, in pieces.
git-svn-id: svn://10.0.0.236/trunk@118949 18797224-902f-48f8-a5cc-f745e15eee43
2002-04-14 03:37:42 +00:00
brade%netscape.com
55d94f8153 backout changes by pavlov (bug 136677) r=cathleen
git-svn-id: svn://10.0.0.236/trunk@118778 18797224-902f-48f8-a5cc-f745e15eee43
2002-04-11 18:50:42 +00:00
pavlov%netscape.com
bd90e1407a re-landing 129953
git-svn-id: svn://10.0.0.236/trunk@118739 18797224-902f-48f8-a5cc-f745e15eee43
2002-04-11 07:55:53 +00:00
pavlov%netscape.com
63ff0ed4b4 backing out changes for 129953...
git-svn-id: svn://10.0.0.236/trunk@118729 18797224-902f-48f8-a5cc-f745e15eee43
2002-04-11 05:38:55 +00:00
pavlov%netscape.com
c38c540c08 bug 129953 r=rjesup sr=rpotts
git-svn-id: svn://10.0.0.236/trunk@118588 18797224-902f-48f8-a5cc-f745e15eee43
2002-04-10 04:41:23 +00:00
jkeiser%netscape.com
8b0ed05ba8 Form submission performance / maintability improvements (bug 120682) r=alexsavulov,r=sicking,sr=jst
git-svn-id: svn://10.0.0.236/trunk@114620 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-16 01:19:24 +00:00
sfraser%netscape.com
c0346e1280 Fix crash on exit if NS_InitXPCOM2 failed (happens when running in a read-only dir if no component registry exists). Bug 104954. r=dp, sr=shaver
git-svn-id: svn://10.0.0.236/trunk@114474 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-14 03:26:19 +00:00
sfraser%netscape.com
67a35c1a08 Making the nsModuleComponentInfo data const; bug 74803. r=dp, sr=waterson
git-svn-id: svn://10.0.0.236/trunk@113225 18797224-902f-48f8-a5cc-f745e15eee43
2002-01-30 21:14:20 +00:00
dougt%netscape.com
011f9b10e5 1. Converts callers of nsIComponentManagerObsolete to use
nsIComponentRegistrar.

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

3. Add nsIComponentRegistrar implmentation to nsComponentManagerImpl.

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

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

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

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


Bug 115853.  r=dp@netscape.com, sr=rpotts@netscape.com


git-svn-id: svn://10.0.0.236/trunk@113143 18797224-902f-48f8-a5cc-f745e15eee43
2002-01-29 21:22:13 +00:00
brendan%mozilla.org
2a9625df7c Fix a warning, clean up whitespace (r=diff -w, sr=gcc).
git-svn-id: svn://10.0.0.236/trunk@113011 18797224-902f-48f8-a5cc-f745e15eee43
2002-01-27 23:56:02 +00:00
ccarlen%netscape.com
836c87ad5d Bug 116435 - The provider in nsAppFileLocationProvider.cpp should always be registered. r=dougt/sr=rpotts/a=dbaron
git-svn-id: svn://10.0.0.236/trunk@112539 18797224-902f-48f8-a5cc-f745e15eee43
2002-01-22 23:00:44 +00:00
dougt%netscape.com
c01e94cad7 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


git-svn-id: svn://10.0.0.236/trunk@110748 18797224-902f-48f8-a5cc-f745e15eee43
2001-12-19 00:12:41 +00:00
pavlov%netscape.com
b7d549610f bug 78611. New XP threadsafe timer implementation. r=dougt sr=brendan
git-svn-id: svn://10.0.0.236/trunk@110563 18797224-902f-48f8-a5cc-f745e15eee43
2001-12-16 06:13:17 +00:00
dougt%netscape.com
a15e804a22 Bug 112262. Move nsMemory into the glue library. sr=rpotts, sr=jband.
git-svn-id: svn://10.0.0.236/trunk@110020 18797224-902f-48f8-a5cc-f745e15eee43
2001-12-07 19:54:16 +00:00
jband%netscape.com
b9450f6730 fix bug 100187. This is Vidur's patch to expose the interfaceinfomanager as a service accessible via the service manager. r=dbradley sr=jband
git-svn-id: svn://10.0.0.236/trunk@108926 18797224-902f-48f8-a5cc-f745e15eee43
2001-11-26 22:31:39 +00:00
darin%netscape.com
021b4930dd enables new scriptable string stream interface (bug 100172) r=dougt, sr=rpotts
git-svn-id: svn://10.0.0.236/trunk@108756 18797224-902f-48f8-a5cc-f745e15eee43
2001-11-22 00:08:14 +00:00
alecf%netscape.com
32ae7fff08 remove all unicharutil dependencies from xpcom (finally!)
bug 100214, r=jag, sr=scc


git-svn-id: svn://10.0.0.236/trunk@107004 18797224-902f-48f8-a5cc-f745e15eee43
2001-11-01 22:40:03 +00:00
jband%netscape.com
57fc23094c add support for nsIVariant and nsIPropertyBag. bug 44675 and bug 98209. sr=vidur r=dbradley
git-svn-id: svn://10.0.0.236/trunk@106867 18797224-902f-48f8-a5cc-f745e15eee43
2001-10-31 23:35:07 +00:00
dbaron%fas.harvard.edu
aeb1ab18e4 Removing remnants of warren's s/printf/PRINTF/ landing from the tree. b=94480 r=pavlov sr=darin
git-svn-id: svn://10.0.0.236/trunk@106647 18797224-902f-48f8-a5cc-f745e15eee43
2001-10-30 06:33:52 +00:00
dbaron%fas.harvard.edu
9029efb2b0 Replace static constructor of EmptyEnumeratorImpl with new/delete. b=68092 r=jag sr=waterson
git-svn-id: svn://10.0.0.236/trunk@106644 18797224-902f-48f8-a5cc-f745e15eee43
2001-10-30 06:10:21 +00:00
neeti%netscape.com
4543813726 Fix for bug 106585 - crash in XPCOMM.DLL during shutdown when mail-news window was open, r=shaver, sr=dougt
git-svn-id: svn://10.0.0.236/trunk@106284 18797224-902f-48f8-a5cc-f745e15eee43
2001-10-25 21:03:35 +00:00
dougt%netscape.com
fa2d0b7e98 99163 - removing nsObserverService.h includes. Also fixing 106090, extra methods on nsObserverService. r=shaver@mozilla.org, sr=jband@netscape.com
git-svn-id: svn://10.0.0.236/trunk@105973 18797224-902f-48f8-a5cc-f745e15eee43
2001-10-22 22:01:27 +00:00
dbaron%fas.harvard.edu
85c206679a Reduce the performance cost of (threadsafely) refcounting many atoms by creating a second implementation of nsIAtom (derived from the first) that does not refcount and gets destroyed at XPCOM shutdown. Normal atoms are converted to permanent ones without loss of pointer identity when a permanent atom is requested and a normal one already exists. b=92141 r=waterson sr=brendan
git-svn-id: svn://10.0.0.236/trunk@105889 18797224-902f-48f8-a5cc-f745e15eee43
2001-10-20 23:19:07 +00:00
dougt%netscape.com
cf60fc042e nsIObserver and nsIObserverService API freeze. r=rpotts@netscape.com, alecf@netscape.com. bug 99163
git-svn-id: svn://10.0.0.236/trunk@105800 18797224-902f-48f8-a5cc-f745e15eee43
2001-10-19 20:52:59 +00:00
dougt%netscape.com
7afa8ce1d2 Allows a QI from nsIServiceManager to nsIServiceManagerObsolete. b=105136, r=beard, sr=darin
git-svn-id: svn://10.0.0.236/trunk@105560 18797224-902f-48f8-a5cc-f745e15eee43
2001-10-16 23:39:20 +00:00
dougt%netscape.com
47cea5ecc3 Fixing bustage caused yesterday. b=105102, r=neeti
git-svn-id: svn://10.0.0.236/trunk@105526 18797224-902f-48f8-a5cc-f745e15eee43
2001-10-16 21:00:39 +00:00
dougt%netscape.com
1db6eaec11 fixing bustage caused by last checkin
git-svn-id: svn://10.0.0.236/trunk@105462 18797224-902f-48f8-a5cc-f745e15eee43
2001-10-16 04:08:42 +00:00