Commit Graph
77 Commits
Author SHA1 Message Date
[email protected] c0cd46fc51 Bug 236613: change to MPL/LGPL/GPL tri-license. 2004-04-18 14:21:17 +00:00
[email protected] e1350b6f22 Some cleanup to nsProxyObject: implement refcounting without nsISupports inheritance, inline getters, and fix a few warnings. Bug 232022, r=dougt, sr=dbaron. 2004-01-25 10:39:02 +00:00
[email protected] a49e0e55cd fixes bug 210125 "need to be able to AsyncWait for closure only" r=dougt sr=bzbarsky 2003-10-06 01:46:31 +00:00
[email protected] 8c37890522 Bug 178643: Remove uses of NS_INIT_ISUPPORTS, since it is no longer needed. r=timeless sr=jag 2003-01-08 23:19:20 +00:00
[email protected] 46ce738546 166917. Clean up xpcom SDK includes. [email protected], [email protected], [email protected] 2002-09-07 17:13:19 +00:00
[email protected] 00d8c29c64 Fixes mozilla/strings requiring unfrozen nsCRT class. patch by scc, r=dougt, sr=jag, b=136756 2002-05-15 18:55:21 +00:00
[email protected] 117ba55f3a Fix for bug 125466. r=dougt, sr=jband, a=asa. Add AString, CString, and UTF8String support to the XPCOM proxy event mechanism
VS: ----------------------------------------------------------------------
2002-03-08 21:28:37 +00:00
[email protected] 76e141021c Fail when Async Proxy methods are passed out or in-out params. bug 128560. r/[email protected],[email protected], [email protected] 2002-03-07 20:02:38 +00:00
[email protected] 32ebf7f11f 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 = [email protected]  [email protected]  [email protected]
2001-12-19 00:12:41 +00:00
[email protected] 51c37a0da1 backing out changes to 104172. [email protected] 2001-10-23 03:50:24 +00:00
[email protected] 2605bce49e Extraneous Symbol Removal. Patch by Jon Smirl [email protected]. [email protected], [email protected]. Bug 104172 , 104316 , 104420 , 104426 , 104461 , 104511 , 104527 2001-10-23 01:37:21 +00:00
[email protected] 1bdc7c1921 Merge ServiceManager and ComponentManager. Bug 96457. [email protected], sr=wat
[email protected]
2001-09-06 21:13:11 +00:00
[email protected] aac0acd243 backing out my changes due to linux orangeness 2001-09-02 17:15:16 +00:00
[email protected] 32a5ff5470 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
[email protected] 613eb4316a bug #88678 (r=jst, r=dougt) The manipulation of nsProxyEventObjects is not threadsafe. 2001-07-16 21:26:04 +00:00
[email protected] 4640f2ba7c Adding check for null. r=dveditz/sr=nullcheck 2001-03-01 02:20:37 +00:00
[email protected] 8b44a40440 Bug 65146. Fix deadlock potential in proxy code; remove unncessary locks from nsPipe2. r=darin,dougt; sr=brendan 2001-02-12 23:33:11 +00:00
[email protected] f2617efa61 Fixes 64 bit address conversion in proxy. Also fixes proxing char parameters. p=jband, r=dougt, a=brendan. 52200, 26560. 2000-10-08 18:19:28 +00:00
[email protected] 6df9774e8d Bug 51445. [email protected] 2000-09-07 20:28:00 +00:00
[email protected] 7dde805881 Fix leak stats by calling NS_LOG_RELEASE for every release. Debug code only. r=dougt 2000-08-28 23:23:32 +00:00
[email protected] 5eb1cbc0eb b=49593. [email protected] (Bruce Mitchener). 2000-08-21 22:51:10 +00:00
[email protected] 7b33460b4f b=47143, r=valeski. Puts the real object release on the proper thread. 2000-08-17 05:02:37 +00:00
[email protected] 8df9a9bce0 Bug 46711. Removed nsAutoString travisty from nsStringKey. Introduced nsCStringKey. Made them both share the underlying string when possible. r=waterson 2000-08-10 06:19:37 +00:00
[email protected] 44b2db2453 Mike Kaply <[email protected]> pointed out a malloc(0) bug as well as a free(null).
[email protected]
2000-07-06 00:22:17 +00:00
[email protected] 37da6f1230 I IDL-ifying the nsProxyObjectManager.
I have updated all users that I found
grepping the source tree.

[email protected]
[email protected]
b=43131

Also checking in changes to the window's embed test which is NOT
hooked up to the build system.
2000-06-24 00:03:10 +00:00
[email protected] c1024c52eb Fix for eventqueue objects leaking bug #20166. This also removes the hacked fix for bug #36361 and uses a real fix. Major overhaul of nsEventQueue and nsEventQueueService. r=waterson,brendan. tested on windows, linux and mac 2000-06-05 21:53:25 +00:00
[email protected] 6a06dfc026 Renaming nsIAllocator to nsIMemory (and nsAllocator to nsMemory). API cleanup/freeze. Bug #18433 2000-06-03 09:46:12 +00:00
[email protected] 25cfcb8e6a # 34082
r= [email protected]
OS/2 bring up continues - Adding PR_CALLBACKs for VisualAge Compiler
2000-05-02 22:38:04 +00:00
[email protected] 112be9f648 Bug 33322 - Fix compiler warnings. Its been on n.p.m.builds for a few
days for module owners to comment on.  [email protected]
2000-03-30 03:21:26 +00:00
[email protected] 704e12da5f Removing nested eventQ. bug 29474. a=jar 2000-03-02 04:38:33 +00:00
[email protected] f6eeeab669 bug #21556. Made Addref/Release on nsProxyObject threadsafe. 2000-02-27 05:12:25 +00:00
[email protected] 62b16e9bd0 removing unneeded lock. 2000-02-03 02:37:51 +00:00
[email protected] 41fa80700d Making event handler callbacks static.
removing lock during XPT invoke

suggested by jband.  bug 18110.
2000-01-14 05:03:29 +00:00
[email protected] b85f23e2d4 Fixing copying of wstring argument, this fixes the problem with only the first character of some status messages showing up in the browser. This fix also eliminates one string copy. [email protected], a=mozbot. 2000-01-14 00:06:57 +00:00
[email protected] 2c40a7c12d 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.
2000-01-12 01:26:11 +00:00
[email protected] db7362bc77 fix for 16273. r=valeski, a=sdagley. 1999-12-22 01:47:59 +00:00
[email protected] 0b2a0c4e51 Speeds up the product by removing calls to PR_Sleep() in favor of PR_WaitForEvent().
This really rocks.  r=valeski, a=jar.
1999-12-15 04:49:55 +00:00
[email protected] a50b5cf321 NS_GET_IID(). Thanks to patch from [email protected] [email protected] 1999-12-01 00:21:53 +00:00
[email protected] a388f10bbb Fix for 18078. R=mstoltz,warren 1999-11-30 00:14:55 +00:00
[email protected] 49f5cbbb3a checking back in changes which were backed out. Added workaround to bug
which scc pointed out.
1999-11-16 07:44:18 +00:00
[email protected] 1c9cb8ac5b backing it out until doug and I can resolve the types issues 1999-11-09 00:27:05 +00:00
[email protected] 7742fee9f6 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.
1999-11-08 22:58:14 +00:00
[email protected] 20621227af updated xPL license boilerplate to v1.1, [email protected],[email protected] 1999-11-06 03:43:54 +00:00
[email protected] f1a1d3543e Backing out changes due to nsCOMPtr build problems. 1999-11-05 03:32:33 +00:00
[email protected] 30b8a8857c 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.
1999-11-05 02:21:46 +00:00
[email protected] 5e4ba3178a People will not like to see my debugging info about object retention. Remov
ing #define.
1999-10-26 21:44:02 +00:00
[email protected] d0fcbd1ab9 1) Change ownership model internally. (17009)
2) Fixed IMAP password dialog problems by adding a PR_SLEEP() in
   nested event loop.
3) Now using a pushed event loop.

r=valeski, mscott.
1999-10-26 19:30:50 +00:00
[email protected] f6e100208d removing an extra release (16832)
Now doing a QI when getting a proxy so that the IID matches the |in| real
object.

r=jud
1999-10-20 20:04:20 +00:00
[email protected] 81c3d71537 Bug #16843 and #16832 where we were crashing when dismissing dialogs. this may not be the final
fix but in an earlier change to this file today, this class stopped addreffing an event queue member variable.
But the dtor still released a reference to the event queue that it didn't have!
The eventual fix may be to put the addref back in there but I need to talk to dougt about this.

this is real danm's fix. i'm the reviewer.
1999-10-20 08:35:36 +00:00
[email protected] 467ab7a748 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
1999-10-19 22:35:54 +00:00