Commit Graph

54 Commits

Author SHA1 Message Date
jaggernaut%netscape.com
e91f8a147e Bug 86734: Remove NS_WITH_SERVICE. r=dbaron, rs=scc, a=asa 2001-07-25 07:54:28 +00:00
waterson%netscape.com
b74d6e1c8b Land STATIC_BUILD_20010612_BRANCH, which supports building mozilla with components statically linked into the executable, as well as 'meta modules' that combine components into uber-DLLs. 2001-06-20 20:21:49 +00:00
dmose%netscape.com
c0f65e895b helper function to make code that gets nsISupports proxies more readable: NS_GetProxyForObject (bug 74792). r=brendan@mozilla.org, sr=waterson@netscape.com 2001-04-13 22:13:04 +00:00
rayw%netscape.com
0257791053 Bug 37275, Changing value of all progids, and changing everywhere a progid
is mentioned to mention a contractid, including in identifiers.

r=warren
2000-09-13 23:57:52 +00:00
dougt%netscape.com
6502c4d736 b=47143, r=valeski. Puts the real object release on the proper thread. 2000-08-17 05:02:37 +00:00
warren%netscape.com
84b5fd67e3 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
dougt%netscape.com
8b638a4c67 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.
2000-06-24 00:03:10 +00:00
dougt%netscape.com
62c84968cb Adding idl'ifed nsIProxyObjectManager interface file. 2000-06-23 23:34:11 +00:00
warren%netscape.com
512c8bf433 Renaming nsIAllocator to nsIMemory (and nsAllocator to nsMemory). API cleanup/freeze. Bug #18433 2000-06-03 09:46:12 +00:00
dveditz%netscape.com
7d59f7b2e6 adding convenience macro to create always-proxied services necessary when creating the proxy on the same thread for use on a new thread 2000-05-05 03:47:00 +00:00
dougt%netscape.com
565d93720f Removing nested eventQ. bug 29474. a=jar 2000-03-02 04:38:33 +00:00
dougt%netscape.com
9a70a79c48 removing unneeded lock. 2000-02-03 02:37:51 +00:00
dougt%netscape.com
0a65311418 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
dougt%netscape.com
7b6cb1119f fix for 16273. r=valeski, a=sdagley. 1999-12-22 01:47:59 +00:00
dougt%netscape.com
b322930c74 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
dp%netscape.com
95224bc055 NS_GET_IID(). Thanks to patch from pp@ludasdesign.com r=dp@netscape.com 1999-11-30 23:44:59 +00:00
dougt%netscape.com
c031e1c389 Fix for 18078. R=mstoltz,warren 1999-11-30 00:14:55 +00:00
dougt%netscape.com
1946ba44ca 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
scc%netscape.com
6794770d94 fixing build bustage. Further discussion is needed 1999-11-16 08:50:25 +00:00
dougt%netscape.com
38ffbfef40 checking back in changes which were backed out. Added workaround to bug
which scc pointed out.
1999-11-16 07:44:18 +00:00
scc%netscape.com
ab156a6e51 backing it out until doug and I can resolve the types issues 1999-11-09 00:27:05 +00:00
scc%netscape.com
a503e1a781 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
dmose%mozilla.org
142ac52eaf updated xPL license boilerplate to v1.1, a=chofmann@netscape.com,r=endico@mozilla.org 1999-11-06 03:43:54 +00:00
dougt%netscape.com
4ccf22afa1 Backing out changes due to nsCOMPtr build problems. 1999-11-05 03:32:33 +00:00
dougt%netscape.com
c6940521e4 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
dp%netscape.com
85b2ef5cce Eliminating use of nsService class in preparation for making services
usable with COMPtrs.
1999-11-03 05:41:43 +00:00
dougt%netscape.com
fd24e9df56 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
dougt%netscape.com
f4add754d8 adding default constructor (mac compilers blues) 1999-10-12 22:46:49 +00:00
dougt%netscape.com
448861e47a 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
briano%netscape.com
04e901e2a5 General cleanup. 1999-09-18 02:12:56 +00:00
dougt%netscape.com
bdb247ef97 commenting out the autoproxy header def. Missed this file. 1999-09-14 06:12:22 +00:00
sspitzer%netscape.com
b494799f9e add newline to end of file to please certain UNIX compilers. 1999-09-03 10:43:00 +00:00
beard%netscape.com
1019f15ff8 added nsProxiedService.h to fix build bustage 1999-09-01 22:50:49 +00:00
cyeh%netscape.com
9577b5cefa Remove IGNORE_MANIFEST=1. It doesn't do anything and it confuses people. 1999-09-01 00:54:34 +00:00
dougt%netscape.com
9888b699a1 Bug Fixes to xpcom/proxy. Thanks jband for debuging this with me! 1999-08-24 00:30:55 +00:00
jband%netscape.com
d63d8a18c4 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
1db206a7d7 Backing out dougt 1999-08-19 02:34:33 +00:00
dougt%netscape.com
2df3b74a7b 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
2a403483de 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
4c2fedd630 Fixing Bug 9976. 1999-07-16 18:15:14 +00:00
dp%netscape.com
fc44591bbd Adding nsProxiedService.h to export. 1999-07-01 22:14:15 +00:00
scc%netscape.com
4973918df6 Added |GetIID()| 1999-06-29 20:28:56 +00:00
dp%netscape.com
7e8931209a First version 1999-06-28 23:41:02 +00:00
mcafee%netscape.com
b3a1346f84 Fixing linux bustage. 1999-06-23 23:38:48 +00:00
valeski%netscape.com
fc504031da 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) 1999-06-23 23:32:43 +00:00
dougt%netscape.com
72bcd8f4c8 Adding Autoproxification. 1999-06-10 20:24:15 +00:00
valeski%netscape.com
e3d7ebc134 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) 1999-06-04 22:46:20 +00:00
dougt%netscape.com
1c4881668c Adding a few more functions to nsIEventQueue.
Moving proxy to use nsIEventQueue instead of PLEvents direct.
1999-05-29 22:50:25 +00:00
dougt%netscape.com
29aaa9fa9b 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.
1999-05-28 22:15:20 +00:00
dp%netscape.com
94344009c8 Landing xpcom20/21 branch. 1999-05-26 01:38:36 +00:00