gerv%gerv.net
13afb6d0f9
Relicensing Round 1, Take 2. Most C-like NPL files -> NPL/GPL/LGPL. Bug 98089.
...
git-svn-id: svn://10.0.0.236/trunk@104119 18797224-902f-48f8-a5cc-f745e15eee43
2001-09-28 20:14:13 +00:00
dougt%netscape.com
6abd1d51a4
Merge ServiceManager and ComponentManager. Bug 96457. r=dp@netscape.com, sr=wat
...
erson@netscape.com
git-svn-id: svn://10.0.0.236/trunk@102449 18797224-902f-48f8-a5cc-f745e15eee43
2001-09-06 21:13:11 +00:00
jaggernaut%netscape.com
2b3b3b2586
Bug 86734: Remove NS_WITH_SERVICE. r=dbaron, rs=scc, a=asa
...
git-svn-id: svn://10.0.0.236/trunk@99906 18797224-902f-48f8-a5cc-f745e15eee43
2001-07-25 07:54:28 +00:00
rpotts%netscape.com
6496d65bc9
bug #88678 (r=jst, r=dougt) The manipulation of nsProxyEventObjects is not threadsafe.
...
git-svn-id: svn://10.0.0.236/trunk@99342 18797224-902f-48f8-a5cc-f745e15eee43
2001-07-16 21:26:04 +00:00
dmose%netscape.com
e253dbb57e
helper function to make code that gets nsISupports proxies more readable: NS_GetProxyForObject (bug 74792). r=brendan@mozilla.org, sr=waterson@netscape.com
...
git-svn-id: svn://10.0.0.236/trunk@92235 18797224-902f-48f8-a5cc-f745e15eee43
2001-04-13 22:13:04 +00:00
dougt%netscape.com
62963fd66f
Adding check for null. r=dveditz/sr=nullcheck
...
git-svn-id: svn://10.0.0.236/trunk@88260 18797224-902f-48f8-a5cc-f745e15eee43
2001-03-01 02:20:37 +00:00
rayw%netscape.com
d9228441a4
Bug 37275, Changing value of all progids, and changing everywhere a progid
...
is mentioned to mention a contractid, including in identifiers.
r=warren
git-svn-id: svn://10.0.0.236/trunk@79036 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-13 23:57:52 +00:00
dougt%netscape.com
07084b32e8
1. remove extra monitors (47825)
...
2. add method to determine if manager has been shutdown (44680)
3. Add nsCOMPtr to avoid leak (44680, 43244)
r=valeski@netscape.com
git-svn-id: svn://10.0.0.236/trunk@75719 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-07 20:50:25 +00:00
dougt%netscape.com
bf15c34b53
I IDL-ifying the nsProxyObjectManager.
...
I have updated all users that I found
grepping the source tree.
r=valeski@netscape.com
a=waterson@netscape.com
b=43131
Also checking in changes to the window's embed test which is NOT
hooked up to the build system.
git-svn-id: svn://10.0.0.236/trunk@73129 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-24 00:03:10 +00:00
dougt%netscape.com
600b867627
Changes from snizinsk@us.ibm.com
...
visualage fixes to xpcom for OS/2.
git-svn-id: svn://10.0.0.236/trunk@69302 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-12 01:09:58 +00:00
waterson%netscape.com
6f3568569c
Get rid of operator==(nsCOMPtr, int) usage because it fries gcc-2.7.2.3's mind with new string stuff. r=scc
...
git-svn-id: svn://10.0.0.236/trunk@67372 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-27 04:44:56 +00:00
cls%seawood.org
892351c1b5
Removing unused dependency upon nsappShellCIDs.h. Bug #24515 . r=shaver
...
git-svn-id: svn://10.0.0.236/trunk@66925 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-23 16:08:55 +00:00
warren%netscape.com
d100457780
Bug 21556: Making linux be thread-safe. Making tons of classes implement threadsafe AddRef/Release. a=jar
...
git-svn-id: svn://10.0.0.236/trunk@62243 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-05 21:26:01 +00:00
dougt%netscape.com
a7629baafd
Remove double hash lookup.
...
Added extra add ref to cache
r=jband (submitted by him)
git-svn-id: svn://10.0.0.236/trunk@60213 18797224-902f-48f8-a5cc-f745e15eee43
2000-02-09 08:08:20 +00:00
dougt%netscape.com
43916a6230
locking nsProxyObject before calling XPT_InvokeByIndex()
...
locking maps for entire GetNewOrUsedClass() process.
locking maps while trying to Find an IID off of a Root.
locking when removing from RealObjectToProxyObjectMap
I am hoping that this will fix some of the SMP problems, namely 21556.
r=mccabe.
git-svn-id: svn://10.0.0.236/trunk@57484 18797224-902f-48f8-a5cc-f745e15eee43
2000-01-12 01:26:11 +00:00
dp%netscape.com
694b0720be
NS_GET_IID(). Thanks to patch from pp@ludasdesign.com r=dp@netscape.com
...
git-svn-id: svn://10.0.0.236/trunk@54828 18797224-902f-48f8-a5cc-f745e15eee43
1999-12-01 00:21:53 +00:00
dougt%netscape.com
69329e38fe
Fix for 18078. R=mstoltz,warren
...
git-svn-id: svn://10.0.0.236/trunk@54638 18797224-902f-48f8-a5cc-f745e15eee43
1999-11-30 00:14:55 +00:00
jdunn%netscape.com
92a2da4944
newline required at eof for HPUX
...
git-svn-id: svn://10.0.0.236/trunk@54350 18797224-902f-48f8-a5cc-f745e15eee43
1999-11-24 00:43:50 +00:00
dougt%netscape.com
587185d7ca
1) #ifdefing out dll entry points from nsProxyObjectManager which should not
...
be used
2) Fix crashing bug in nsProxiedService when a CI fails. Converted this to
use nsCOMPtrs
3) Fixing bug 18109. This involved changing what information about hash values
we use.
Tested FTP dir and file, and IMAP.
git-svn-id: svn://10.0.0.236/trunk@54267 18797224-902f-48f8-a5cc-f745e15eee43
1999-11-23 08:53:44 +00:00
dougt%netscape.com
ff6b97fb15
checking back in changes which were backed out. Added workaround to bug
...
which scc pointed out.
git-svn-id: svn://10.0.0.236/trunk@53643 18797224-902f-48f8-a5cc-f745e15eee43
1999-11-16 07:44:18 +00:00
scc%netscape.com
731d3896e8
backing it out until doug and I can resolve the types issues
...
git-svn-id: svn://10.0.0.236/trunk@52975 18797224-902f-48f8-a5cc-f745e15eee43
1999-11-09 00:27:05 +00:00
scc%netscape.com
e8d7bbbd9e
dougt's changes from earlier in the week. He was unable to leave them
...
in at that time because he didn't have my |nsCOMPtr| fixes. Those went
in last night. So, on brendans suggestion, I'm reinstating dougt's
previous checkin.
git-svn-id: svn://10.0.0.236/trunk@52972 18797224-902f-48f8-a5cc-f745e15eee43
1999-11-08 22:58:14 +00:00
dmose%mozilla.org
0efb7c174c
updated xPL license boilerplate to v1.1, a=chofmann@netscape.com,r=endico@mozilla.org
...
git-svn-id: svn://10.0.0.236/trunk@52910 18797224-902f-48f8-a5cc-f745e15eee43
1999-11-06 03:43:54 +00:00
dougt%netscape.com
1cf333f618
Backing out changes due to nsCOMPtr build problems.
...
git-svn-id: svn://10.0.0.236/trunk@52840 18797224-902f-48f8-a5cc-f745e15eee43
1999-11-05 03:32:33 +00:00
dougt%netscape.com
8d74ce705f
Changed ownership module inside xpcom/proxy to remove cached objects passed their owner's lifespan.
...
Removed out of band callback in xpcom/proxy
Fixed webshell leak due to xpcom/proxy. (17009)
Just about everything is now a comptr, god save us. :-)
r=jband, a=brendan.
git-svn-id: svn://10.0.0.236/trunk@52836 18797224-902f-48f8-a5cc-f745e15eee43
1999-11-05 02:21:46 +00:00
valeski%netscape.com
42d0478ba8
removing early xpcom proxy release change from earlier in the weekend.
...
git-svn-id: svn://10.0.0.236/trunk@52407 18797224-902f-48f8-a5cc-f745e15eee43
1999-11-01 20:37:13 +00:00
beard%netscape.com
20f6524e69
Fix proxied objects leak. r=sfraser, bug=15380
...
git-svn-id: svn://10.0.0.236/trunk@52300 18797224-902f-48f8-a5cc-f745e15eee43
1999-10-30 01:17:24 +00:00
dp%netscape.com
5f7aa39be5
bug#16742 Fixing delete on nsISupports. Thanks for patch from <heikki@citec.fi> Plus using IMPL_ and DECL_ macros and removing operating on refcnt directly. r=dp
...
git-svn-id: svn://10.0.0.236/trunk@51674 18797224-902f-48f8-a5cc-f745e15eee43
1999-10-24 04:41:17 +00:00
dougt%netscape.com
48fd2584d2
removing an extra release (16832)
...
Now doing a QI when getting a proxy so that the IID matches the |in| real
object.
r=jud
git-svn-id: svn://10.0.0.236/trunk@51276 18797224-902f-48f8-a5cc-f745e15eee43
1999-10-20 20:04:20 +00:00
dougt%netscape.com
0377b9291c
Fix for bug 16818. xpcom proxy does not handle classes with two or more
...
interfaces correctly. What happens is the real object is addref
incorrectly and will never be deleted.
r=jud
git-svn-id: svn://10.0.0.236/trunk@51198 18797224-902f-48f8-a5cc-f745e15eee43
1999-10-19 22:35:54 +00:00
danm%netscape.com
1dff151de6
patch nsEventQueue leak in GetProxyObject r:hyatt@netscape.com
...
git-svn-id: svn://10.0.0.236/trunk@50987 18797224-902f-48f8-a5cc-f745e15eee43
1999-10-18 15:01:40 +00:00
dougt%netscape.com
8344cba9ee
Added a nested event loop instead of blocking during sync calls. Partial fix
...
for bug 13724. (I still must remove ifdef's for the autoproxy code.)
r=brendan@meer.net .
git-svn-id: svn://10.0.0.236/trunk@50483 18797224-902f-48f8-a5cc-f745e15eee43
1999-10-12 22:29:43 +00:00
dougt%netscape.com
9d9481b9d6
Bug Fixes to xpcom/proxy. Thanks jband for debuging this with me!
...
git-svn-id: svn://10.0.0.236/trunk@44177 18797224-902f-48f8-a5cc-f745e15eee43
1999-08-24 00:30:55 +00:00
scc%netscape.com
56d5ad0b43
got rid of |NS_IMPL_ISUPPORTS|, where possible, in favor of |NS_IMPL_ISUPPORTS0| or ...1 according to the specific use; got rid of |NS_DEFINE_IID| where possible, or where it should have been |NS_DEFINE_CID|; fixed bad implementations of |QueryInterface|, where possible. Built, tested apprunner, reviewed the changes with hyatt (since he was around to look) before checking in
...
git-svn-id: svn://10.0.0.236/trunk@44139 18797224-902f-48f8-a5cc-f745e15eee43
1999-08-23 10:14:16 +00:00
leaf%mozilla.org
67b41a6864
Backing out dougt
...
git-svn-id: svn://10.0.0.236/trunk@43536 18797224-902f-48f8-a5cc-f745e15eee43
1999-08-19 02:34:33 +00:00
dougt%netscape.com
9d342b98ae
Removing ProxyType so that I can do masking
...
Added new proxy type so that we bypass the Current Thread check.
git-svn-id: svn://10.0.0.236/trunk@43487 18797224-902f-48f8-a5cc-f745e15eee43
1999-08-18 09:21:47 +00:00
dougt%netscape.com
e2b1e60979
Fix for bug 10997 submitted by rginda@ix.netcom.com.
...
git-svn-id: svn://10.0.0.236/trunk@41721 18797224-902f-48f8-a5cc-f745e15eee43
1999-07-31 17:36:18 +00:00
valeski%netscape.com
8986daacf7
added the nsIProxyCreateInstance.idl file to the xpidl auto gen macros. added smarts to proxy object mgr to determine whether or not the proxy obj is on the same thread as the caller (did this checkin for doug)
...
git-svn-id: svn://10.0.0.236/trunk@36629 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-23 23:32:43 +00:00
danm%netscape.com
fb18842156
moved GetPrimordialThread from nsAppShellService to nsThread, as suggested by warren
...
git-svn-id: svn://10.0.0.236/trunk@35060 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-13 03:30:38 +00:00
dougt%netscape.com
2323fc89fd
simplify, simplify, simplify. Changes submitted by brendan@mozilla.org.
...
git-svn-id: svn://10.0.0.236/trunk@34863 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-11 21:56:12 +00:00
dougt%netscape.com
c1ef30a561
Adding default UI thread posting if user passes nsnull as the destQ
...
git-svn-id: svn://10.0.0.236/trunk@34756 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-11 05:49:11 +00:00
valeski%netscape.com
e41bbebd46
api change to nsIProxy* interfaces. You can no longer pass in straight PLEventQueues, you now need to pass in nsIEventQueue interfaces (see mozilla/xpcom/threads)
...
git-svn-id: svn://10.0.0.236/trunk@33830 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-04 22:46:20 +00:00
dougt%netscape.com
1c9d2fef90
Adding "Fire And Forget" async method calling.
...
Added Create() function for the generic factory.
Made ProxyObject into an nsISupports Object for refcounting.
Fixed proxytest to work in the new xpcom2 world.
git-svn-id: svn://10.0.0.236/trunk@33166 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-28 22:15:20 +00:00
dougt%netscape.com
5ba4026869
Changes and bug fixes suggested by brendan.
...
git-svn-id: svn://10.0.0.236/trunk@32979 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-27 21:25:43 +00:00
dougt%netscape.com
a6145ac97a
Got linux to compile.
...
A few errors fix when handling IID.
git-svn-id: svn://10.0.0.236/trunk@30779 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-07 22:09:44 +00:00
dougt%netscape.com
a539b0b3d7
Landing xpcom proxies.
...
git-svn-id: svn://10.0.0.236/trunk@30725 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-07 20:01:37 +00:00