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
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
waterson%netscape.com
214693cd4a
Bug 65146. Fix deadlock potential in proxy code; remove unncessary locks from nsPipe2. r=darin,dougt; sr=brendan
...
git-svn-id: svn://10.0.0.236/trunk@86858 18797224-902f-48f8-a5cc-f745e15eee43
2001-02-12 23:33:11 +00:00
dougt%netscape.com
573d163e56
Fixes 64 bit address conversion in proxy. Also fixes proxing char parameters. p=jband, r=dougt, a=brendan. 52200, 26560.
...
git-svn-id: svn://10.0.0.236/trunk@80714 18797224-902f-48f8-a5cc-f745e15eee43
2000-10-08 18:19:28 +00:00
dougt%netscape.com
7a4d1d2588
Bug 51445. r=beard@netscape.com
...
git-svn-id: svn://10.0.0.236/trunk@78417 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-07 20:28:00 +00:00
dbaron%fas.harvard.edu
62dfa751bf
Fix leak stats by calling NS_LOG_RELEASE for every release. Debug code only. r=dougt
...
git-svn-id: svn://10.0.0.236/trunk@77395 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-28 23:23:32 +00:00
dougt%netscape.com
f3e3c7fdf7
b=49593. r=bruce@cubik.org (Bruce Mitchener).
...
git-svn-id: svn://10.0.0.236/trunk@76804 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-21 22:51:10 +00:00
dougt%netscape.com
6e0d004a19
b=47143, r=valeski. Puts the real object release on the proper thread.
...
git-svn-id: svn://10.0.0.236/trunk@76538 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-17 05:02:37 +00:00
warren%netscape.com
e5706a7236
Bug 46711. Removed nsAutoString travisty from nsStringKey. Introduced nsCStringKey. Made them both share the underlying string when possible. r=waterson
...
git-svn-id: svn://10.0.0.236/trunk@75975 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-10 06:19:37 +00:00
dougt%netscape.com
5c4e30eccb
Mike Kaply <mkaply@us.ibm.com> pointed out a malloc(0) bug as well as a free(null).
...
a=brendan@mozilla.org
git-svn-id: svn://10.0.0.236/trunk@73715 18797224-902f-48f8-a5cc-f745e15eee43
2000-07-06 00:22:17 +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
pavlov%netscape.com
a271419de6
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
...
git-svn-id: svn://10.0.0.236/trunk@71554 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-05 21:53:25 +00:00
warren%netscape.com
cc5d426fbe
Renaming nsIAllocator to nsIMemory (and nsAllocator to nsMemory). API cleanup/freeze. Bug #18433
...
git-svn-id: svn://10.0.0.236/trunk@71450 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-03 09:46:12 +00:00
mkaply%us.ibm.com
f32dd26a1b
# 34082
...
r= dougt@netscape.com
OS/2 bring up continues - Adding PR_CALLBACKs for VisualAge Compiler
git-svn-id: svn://10.0.0.236/trunk@67931 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-02 22:38:04 +00:00
jim_nance%yahoo.com
b1ccfbf2cb
Bug 33322 - Fix compiler warnings. Its been on n.p.m.builds for a few
...
days for module owners to comment on. r=troy@netscape.com
git-svn-id: svn://10.0.0.236/trunk@64566 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-30 03:21:26 +00:00
dougt%netscape.com
dc5c9e7463
Removing nested eventQ. bug 29474. a=jar
...
git-svn-id: svn://10.0.0.236/trunk@62029 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-02 04:38:33 +00:00
rpotts%netscape.com
c44ac0570a
bug #21556 . Made Addref/Release on nsProxyObject threadsafe.
...
git-svn-id: svn://10.0.0.236/trunk@61753 18797224-902f-48f8-a5cc-f745e15eee43
2000-02-27 05:12:25 +00:00
dougt%netscape.com
e2f9d2f9b6
removing unneeded lock.
...
git-svn-id: svn://10.0.0.236/trunk@59607 18797224-902f-48f8-a5cc-f745e15eee43
2000-02-03 02:37:51 +00:00
dougt%netscape.com
e5859bb9bc
Making event handler callbacks static.
...
removing lock during XPT invoke
suggested by jband. bug 18110.
git-svn-id: svn://10.0.0.236/trunk@57787 18797224-902f-48f8-a5cc-f745e15eee43
2000-01-14 05:03:29 +00:00
jst%citec.fi
7aaa18a483
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. r=dougt@netscape.com, a=mozbot.
...
git-svn-id: svn://10.0.0.236/trunk@57749 18797224-902f-48f8-a5cc-f745e15eee43
2000-01-14 00:06:57 +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
dougt%netscape.com
41e83422c9
fix for 16273. r=valeski, a=sdagley.
...
git-svn-id: svn://10.0.0.236/trunk@56328 18797224-902f-48f8-a5cc-f745e15eee43
1999-12-22 01:47:59 +00:00
dougt%netscape.com
3c92ff6d8a
Speeds up the product by removing calls to PR_Sleep() in favor of PR_WaitForEvent().
...
This really rocks. r=valeski, a=jar.
git-svn-id: svn://10.0.0.236/trunk@56034 18797224-902f-48f8-a5cc-f745e15eee43
1999-12-15 04:49:55 +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
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
dougt%netscape.com
d11e61e41f
People will not like to see my debugging info about object retention. Remov
...
ing #define.
git-svn-id: svn://10.0.0.236/trunk@51884 18797224-902f-48f8-a5cc-f745e15eee43
1999-10-26 21:44:02 +00:00
dougt%netscape.com
c10be2aa21
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.
git-svn-id: svn://10.0.0.236/trunk@51862 18797224-902f-48f8-a5cc-f745e15eee43
1999-10-26 19:30:50 +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
mscott%netscape.com
2f8bc8e00f
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.
git-svn-id: svn://10.0.0.236/trunk@51253 18797224-902f-48f8-a5cc-f745e15eee43
1999-10-20 08:35:36 +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
mgleeson1%netscape.com
fc95d0c6a1
r=dougt need eol for port boxes
...
git-svn-id: svn://10.0.0.236/trunk@50532 18797224-902f-48f8-a5cc-f745e15eee43
1999-10-13 00:50:31 +00:00
dougt%netscape.com
b6030ceac7
adding default constructor (mac compiler blues)
...
git-svn-id: svn://10.0.0.236/trunk@50491 18797224-902f-48f8-a5cc-f745e15eee43
1999-10-12 22:47:50 +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
mscott%netscape.com
dea623bfa3
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).
git-svn-id: svn://10.0.0.236/trunk@50166 18797224-902f-48f8-a5cc-f745e15eee43
1999-10-07 23:25:36 +00:00
jband%netscape.com
63a2567d8b
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.
...
git-svn-id: svn://10.0.0.236/trunk@48841 18797224-902f-48f8-a5cc-f745e15eee43
1999-09-22 07:53:07 +00:00
jband%netscape.com
f6186afc2f
- 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
git-svn-id: svn://10.0.0.236/trunk@48304 18797224-902f-48f8-a5cc-f745e15eee43
1999-09-20 02:50:28 +00:00
dougt%netscape.com
e6215bccda
commenting out autoproxifcation of parameter so that mscott can continue his
...
work. AutoProxication is broke.
git-svn-id: svn://10.0.0.236/trunk@47285 18797224-902f-48f8-a5cc-f745e15eee43
1999-09-14 05:24:11 +00:00
dougt%netscape.com
06f20955b6
bug fix for 13321. (hardly a fix, more of a hack).
...
git-svn-id: svn://10.0.0.236/trunk@46430 18797224-902f-48f8-a5cc-f745e15eee43
1999-09-08 22:52:11 +00:00
dougt%netscape.com
baeab23036
Changes nsIAtom iterface to return a shared (non-allocated) wstring when
...
GetUnicode() is called. (thanks waterson, jband)
Also fixing 12237. (thanks jband).
git-svn-id: svn://10.0.0.236/trunk@45945 18797224-902f-48f8-a5cc-f745e15eee43
1999-09-03 22:21:29 +00:00
dougt%netscape.com
967dcf36b8
changing a debug string to output the correct param number
...
resetting error code if caller does not have an eventQ. Temp hack.
git-svn-id: svn://10.0.0.236/trunk@45485 18797224-902f-48f8-a5cc-f745e15eee43
1999-09-01 20:04:22 +00:00
dougt%netscape.com
3b5a35b6c8
Bug fix for 12603. I am not sure if this totally cleans up all the memory
...
leaks but it definitely hits a major one.
git-svn-id: svn://10.0.0.236/trunk@45258 18797224-902f-48f8-a5cc-f745e15eee43
1999-08-31 01:59:09 +00:00
dougt%netscape.com
3b26d6eb64
Fixing auto-proxy so that in params are proxied back to the caller.
...
git-svn-id: svn://10.0.0.236/trunk@44436 18797224-902f-48f8-a5cc-f745e15eee43
1999-08-25 02:34:29 +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