Commit Graph
115 Commits
Author SHA1 Message Date
[email protected] 8ab218ca68 fixes bug 24122. submitted by beard. 2000-01-16 23:30:33 +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] 7195b25788 Fix a warning. r=mcafee. 1999-12-28 20:26:56 +00:00
[email protected] 1f1ca61aac fix warnings. 1999-12-28 19:37:29 +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] 132a85cf91 NS_GET_IID(). Thanks to patch from [email protected] [email protected] 1999-11-30 23:44:59 +00:00
[email protected] a388f10bbb Fix for 18078. R=mstoltz,warren 1999-11-30 00:14:55 +00:00
[email protected] a03f1a7799 Eliminated the libs build pass. 1999-11-28 03:05:01 +00:00
[email protected] 9300f3541b newline required at eof for HPUX 1999-11-24 00:43:50 +00:00
[email protected] 10320a7c5a Remove vestigial addref that was leaking proxy objects. r=dougt 1999-11-23 22:05:44 +00:00
[email protected] 8f11bf7f73 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.
1999-11-23 08:53:44 +00:00
[email protected] f9a31daf3a fixing HPUX 10.20's which was having problem with this definition since
it was creating an unresolved symbol "static_iid"

r= [email protected]
# 19021
1999-11-17 01:01:22 +00:00
[email protected] fcd25ef4a0 fixing build bustage. Further discussion is needed 1999-11-16 08:50:25 +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] 5df8d53b38 Eliminating use of nsService class in preparation for making services
usable with COMPtrs.
1999-11-03 05:41:43 +00:00
[email protected] 2d8f5056fc removing early xpcom proxy release change from earlier in the weekend. 1999-11-01 20:37:13 +00:00
[email protected] ba5a23dbfe Fix proxied objects leak. r=sfraser, bug=15380 1999-10-30 01:17:24 +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] b52c5549b1 bug#16742 Fixing delete on nsISupports. Thanks for patch from <[email protected]> Plus using IMPL_ and DECL_ macros and removing operating on refcnt directly. r=dp 1999-10-24 04:41:17 +00:00
[email protected] 13b20b06d3 Fixed warnings. 1999-10-23 03:16:27 +00:00
[email protected] 3ae7bcbf4d 17039, r=dougt. Releasing QI'd proxy object was causing a crash. this is a temp work around. 1999-10-22 04:07:53 +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
[email protected] ad3a6d615b patch nsEventQueue leak in GetProxyObject r:[email protected] 1999-10-18 15:01:40 +00:00
[email protected] a9ea5efd9a r=dougt need eol for port boxes 1999-10-13 00:50:31 +00:00
[email protected] 220fca93fd adding default constructor (mac compiler blues) 1999-10-12 22:47:50 +00:00
[email protected] 1a8dd5e10a adding default constructor (mac compilers blues) 1999-10-12 22:46:49 +00:00
[email protected] 627bfdc4d8 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.)
[email protected].
1999-10-12 22:29:43 +00:00
[email protected] ea36a75c90 Cleanup moz-decl-counter usage and fix NS_LOG_ADDREF usage 1999-10-08 20:41:19 +00:00
[email protected] 525b59f80b Fixed AddRef/Release problems to eliminate negative refcounts in Bloaty. 1999-10-08 01:49:06 +00:00
[email protected] 6603b0782e Bug #15615 --> when the proxy code is processing an event, we can't be holding onto the event queue's monitor. Because
you could run into the scenario where in processing the event, the thread blocks waiting for an event from another thread.
That thread tries to post the event to the orginal thread's event Queue but can't enter the queue's monitor.
r=warren (or reviewed by me depending on your point of view since we figured it out together).
1999-10-07 23:25:36 +00:00
[email protected] e6b6b3c2f3 Fix for 11812. Reordered the clean up so that deletion of the "real" object
happens after NS_RELEASE of the proxy object.  This is a test program.

reviewed by gagan.
1999-10-06 08:17:04 +00:00
[email protected] 6535492980 Fix for BSDI 3.0, specifically, but should help other platforms with shared library difficulties. 1999-09-28 19:15:20 +00:00
[email protected] 4ac4841da1 avoid uninitialized memory reads by copying only the significant part of the union when initializing an nsXPTCVariant from a nsXPTCMiniVariant using nice encapsulated inline method. 1999-09-22 07:53:07 +00:00
[email protected] 012d01aa26 - Changed the interface for getting the interface_is argnum.
- Merged the typelib types for array and array_with_length.
- Added typelib types for string_with_size and wstring_with_size
1999-09-20 02:50:28 +00:00
[email protected] 0be0023bcc General cleanup. 1999-09-18 02:12:56 +00:00
[email protected] 6513fd0f02 commenting out the autoproxy header def. Missed this file. 1999-09-14 06:12:22 +00:00
[email protected] 2f78a16e4b commenting out autoproxifcation of parameter so that mscott can continue his
work.   AutoProxication is broke.
1999-09-14 05:24:11 +00:00
[email protected] 8ad97ea723 bug fix for 13321. (hardly a fix, more of a hack). 1999-09-08 22:52:11 +00:00