Commit Graph

291 Commits

Author SHA1 Message Date
valeski@netscape.com
2d8f5056fc removing early xpcom proxy release change from earlier in the weekend. 1999-11-01 20:37:13 +00:00
beard@netscape.com
ba5a23dbfe Fix proxied objects leak. r=sfraser, bug=15380 1999-10-30 01:17:24 +00:00
dougt@netscape.com
5e4ba3178a People will not like to see my debugging info about object retention. Remov
ing #define.
1999-10-26 21:44:02 +00:00
dougt@netscape.com
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
dp@netscape.com
b52c5549b1 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 1999-10-24 04:41:17 +00:00
warren@netscape.com
13b20b06d3 Fixed warnings. 1999-10-23 03:16:27 +00:00
valeski@netscape.com
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
dougt@netscape.com
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
mscott@netscape.com
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
dougt@netscape.com
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
danm@netscape.com
ad3a6d615b patch nsEventQueue leak in GetProxyObject r:hyatt@netscape.com 1999-10-18 15:01:40 +00:00
mgleeson1@netscape.com
a9ea5efd9a r=dougt need eol for port boxes 1999-10-13 00:50:31 +00:00
dougt@netscape.com
220fca93fd adding default constructor (mac compiler blues) 1999-10-12 22:47:50 +00:00
dougt@netscape.com
1a8dd5e10a adding default constructor (mac compilers blues) 1999-10-12 22:46:49 +00:00
dougt@netscape.com
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.)
r=brendan@meer.net.
1999-10-12 22:29:43 +00:00
kipp@netscape.com
ea36a75c90 Cleanup moz-decl-counter usage and fix NS_LOG_ADDREF usage 1999-10-08 20:41:19 +00:00
warren@netscape.com
525b59f80b Fixed AddRef/Release problems to eliminate negative refcounts in Bloaty. 1999-10-08 01:49:06 +00:00
mscott@netscape.com
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
dougt@netscape.com
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
briano@netscape.com
6535492980 Fix for BSDI 3.0, specifically, but should help other platforms with shared library difficulties. 1999-09-28 19:15:20 +00:00
jband@netscape.com
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
jband@netscape.com
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
briano@netscape.com
0be0023bcc General cleanup. 1999-09-18 02:12:56 +00:00
dougt@netscape.com
6513fd0f02 commenting out the autoproxy header def. Missed this file. 1999-09-14 06:12:22 +00:00
dougt@netscape.com
2f78a16e4b commenting out autoproxifcation of parameter so that mscott can continue his
work.   AutoProxication is broke.
1999-09-14 05:24:11 +00:00
dougt@netscape.com
8ad97ea723 bug fix for 13321. (hardly a fix, more of a hack). 1999-09-08 22:52:11 +00:00
dougt@netscape.com
76cfbd51dc Changes nsIAtom iterface to return a shared (non-allocated) wstring when
GetUnicode() is called.  (thanks waterson, jband)

Also fixing 12237.  (thanks jband).
1999-09-03 22:21:29 +00:00
sspitzer@netscape.com
a886190153 add newline to end of file to please certain UNIX compilers. 1999-09-03 10:43:00 +00:00
beard@netscape.com
a8b59f4361 added nsProxiedService.h to fix build bustage 1999-09-01 22:50:49 +00:00
dougt@netscape.com
a6a2ecbc2c changing a debug string to output the correct param number
resetting error code if caller does not have an eventQ.  Temp hack.
1999-09-01 20:04:22 +00:00
cyeh@netscape.com
cf7c4851ae Remove IGNORE_MANIFEST=1. It doesn't do anything and it confuses people. 1999-09-01 00:54:34 +00:00
dougt@netscape.com
a83c11e1be Bug fix for 12603. I am not sure if this totally cleans up all the memory
leaks but it definitely hits a major one.
1999-08-31 01:59:09 +00:00
ramiro@netscape.com
eac9647c63 Cleanup linking of libimg. 1999-08-25 13:37:11 +00:00
dougt@netscape.com
6105cc440f Fixing auto-proxy so that in params are proxied back to the caller. 1999-08-25 02:34:29 +00:00
dougt@netscape.com
87751b550b Bug Fixes to xpcom/proxy. Thanks jband for debuging this with me! 1999-08-24 00:30:55 +00:00
scc@netscape.com
6f62a47cac 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 1999-08-23 10:14:16 +00:00
bienvenu@netscape.com
57352a3f24 back out scc's change, and my attempted fix 1999-08-22 22:06:53 +00:00
bienvenu@netscape.com
0cb79fb3c6 attempt to fix build bustage 1999-08-22 21:44:45 +00:00
scc@netscape.com
05bb524f0a Added |GetIID| 1999-08-22 20:54:08 +00:00
jband@netscape.com
3bddc539eb Fixing xptinfo bug with getting information about the type of an interface pointer parameter of a method when the method is inherited from another interface in another typelib file. The api needs to also pass along the method index in order to convey enough information to always give the right answer. Got that? :) Fixing users of this modified api also. 1999-08-19 10:12:30 +00:00
leaf@mozilla.org
03ab2258d0 Backing out dougt 1999-08-19 02:34:33 +00:00
dougt@netscape.com
57419a56fb Removing ProxyType so that I can do masking
Added new proxy type so that we bypass the Current Thread check.
1999-08-18 09:21:47 +00:00
mccabe@netscape.com
2399f2b095 Changes to the xpidl compiler -
Error if an interface is declared [scriptable], but contains methods that can't be scripted because they refer to native-declared types, unless the method is declared [noscript].

This change is intended to make it easier to determine when an interface is not scriptable, and to make it easier to see what changes need to be made to make it scriptable.

As many of the .idl files in the tree defined [scriptable] interfaces that contained non-scriptable methods, I've sprinkled [noscript] throughout.  As the interfaces weren't scriptable anyway, this shouldn't change their visibility to javascript.
1999-08-10 12:18:01 +00:00
dougt@netscape.com
22e4d3823b Fix for bug 10997 submitted by rginda@ix.netcom.com. 1999-07-31 17:36:18 +00:00
briano@netscape.com
1e444cc3e9 Trivial elimination of some pointless macros as discussed in bug 8568. Approved by leaf@mozilla.org. 1999-07-29 01:18:12 +00:00
dougt@netscape.com
c41e7440ac Fix to address memory allocation problems - Bug #8227 1999-07-18 19:13:27 +00:00
dveditz@netscape.com
e28b54eaff fixing MSVC++5.0 bustage 1999-07-16 22:22:13 +00:00
dougt@netscape.com
3789879794 Fixing Bug 9976. 1999-07-16 18:15:14 +00:00
briano@netscape.com
bbafdd4350 Modification to make it build on BSDI. 1999-07-16 00:25:40 +00:00
dveditz@netscape.com
0a73a2c84c nakefile cleanups 1999-07-02 13:42:17 +00:00