dbradley%netscape.com
4c972e2fbe
Bug 119382 - attribute nsIIDPtr IID considered harmful - This patch makes it an error to declare an attribute named IID or a method named getIID. r=jband, sr=jst
...
git-svn-id: svn://10.0.0.236/trunk@114932 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-19 14:48:00 +00:00
jst%netscape.com
b9772d48fe
Fixing bug 120899. Changing the NS_WARN_IF_FALSE() macro so that it can't be mis-used in optimized builds. This change makes the macro not usable in expressions that are supposed to be evaluated in release code since the macro now expands to nothing in non-debug builds. Also eliminate NS_VALIDATE which is equally mis-usable. r=dbaron@fas.harvard.edu, sr=brendan@mozilla.org
...
git-svn-id: svn://10.0.0.236/trunk@112678 18797224-902f-48f8-a5cc-f745e15eee43
2002-01-24 09:20:51 +00:00
gerv%gerv.net
13afb6d0f9
Relicensing Round 1, Take 2. Most C-like NPL files -> NPL/GPL/LGPL. Bug 98089.
...
git-svn-id: svn://10.0.0.236/trunk@104119 18797224-902f-48f8-a5cc-f745e15eee43
2001-09-28 20:14:13 +00:00
dougt%netscape.com
6abd1d51a4
Merge ServiceManager and ComponentManager. Bug 96457. r=dp@netscape.com, sr=wat
...
erson@netscape.com
git-svn-id: svn://10.0.0.236/trunk@102449 18797224-902f-48f8-a5cc-f745e15eee43
2001-09-06 21:13:11 +00:00
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
6e8d19ed26
Attempting to fix 74057, although not likely. See bug for details.
...
If you are asserting after this patch is applied, please contact dougt@netscape.com .
r=gagan@netscape.com
sr=waterson@netscape.com
git-svn-id: svn://10.0.0.236/trunk@92258 18797224-902f-48f8-a5cc-f745e15eee43
2001-04-14 00:34:06 +00:00
alecf%netscape.com
13743894ed
fix for #45797 - fix NS_IMPL_ISUPPORTS consumers
...
r=dveditz a=self
git-svn-id: svn://10.0.0.236/trunk@82722 18797224-902f-48f8-a5cc-f745e15eee43
2000-11-17 03:41:41 +00:00
warren%netscape.com
a8b9664a8c
Bug 47207. Backing out logging/PRINTF changes until we can fix stopwatch.h, introduce double parens, etc.
...
git-svn-id: svn://10.0.0.236/trunk@81967 18797224-902f-48f8-a5cc-f745e15eee43
2000-10-28 22:17:53 +00:00
warren%netscape.com
c6b67eceeb
Bug 47207. Changing printf to PRINTF to use new logging facility. r=valeski,sr=waterson
...
git-svn-id: svn://10.0.0.236/trunk@81885 18797224-902f-48f8-a5cc-f745e15eee43
2000-10-27 22:43:51 +00:00
dougt%netscape.com
07084b32e8
1. remove extra monitors (47825)
...
2. add method to determine if manager has been shutdown (44680)
3. Add nsCOMPtr to avoid leak (44680, 43244)
r=valeski@netscape.com
git-svn-id: svn://10.0.0.236/trunk@75719 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-07 20:50:25 +00:00
dougt%netscape.com
93e9cb0462
44665
...
submitted by dbaron@fas.harvard.edu
a=waterson@netscape.com
git-svn-id: svn://10.0.0.236/trunk@73777 18797224-902f-48f8-a5cc-f745e15eee43
2000-07-06 20:56:24 +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
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
jband%netscape.com
cdc534310e
Prepare for semantic change to nsIInterfaceInfo::GetParent (will set out param to null if no parent rather than return an nsresult error).
...
git-svn-id: svn://10.0.0.236/trunk@64316 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-28 03:57:35 +00:00
warren%netscape.com
d100457780
Bug 21556: Making linux be thread-safe. Making tons of classes implement threadsafe AddRef/Release. a=jar
...
git-svn-id: svn://10.0.0.236/trunk@62243 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-05 21:26:01 +00:00
dougt%netscape.com
a7629baafd
Remove double hash lookup.
...
Added extra add ref to cache
r=jband (submitted by him)
git-svn-id: svn://10.0.0.236/trunk@60213 18797224-902f-48f8-a5cc-f745e15eee43
2000-02-09 08:08:20 +00:00
dougt%netscape.com
d405faed9a
Fix for bug 26420. r=scc@netscape.com
...
git-svn-id: svn://10.0.0.236/trunk@59805 18797224-902f-48f8-a5cc-f745e15eee43
2000-02-04 23:14:27 +00:00
dougt%netscape.com
01dd259b16
Hashtable miss fix. Wrong operator used. submitted by warren.
...
git-svn-id: svn://10.0.0.236/trunk@59301 18797224-902f-48f8-a5cc-f745e15eee43
2000-01-31 23:10:55 +00:00
dougt%netscape.com
8a69f26ba1
fixes bug 24122. submitted by beard.
...
git-svn-id: svn://10.0.0.236/trunk@57977 18797224-902f-48f8-a5cc-f745e15eee43
2000-01-16 23:30:33 +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
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
waterson%netscape.com
d896882605
Remove vestigial addref that was leaking proxy objects. r=dougt
...
git-svn-id: svn://10.0.0.236/trunk@54325 18797224-902f-48f8-a5cc-f745e15eee43
1999-11-23 22:05:44 +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
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
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
a2d0be4d64
|nsISupports::GetIID()| --> |nsCOMTypeInfo<nsISupports>::GetIID()|
...
git-svn-id: svn://10.0.0.236/trunk@37444 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-29 21:01:31 +00:00
dougt%netscape.com
dd310396c9
Fixing some releasing object bugs.
...
git-svn-id: svn://10.0.0.236/trunk@34718 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-11 00:35:39 +00:00
dougt%netscape.com
0de862590b
Adding Autoproxification.
...
git-svn-id: svn://10.0.0.236/trunk@34629 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-10 20:24:15 +00:00
valeski%netscape.com
e41bbebd46
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)
...
git-svn-id: svn://10.0.0.236/trunk@33830 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-04 22:46:20 +00:00
dougt%netscape.com
9a2a180d5b
Adding a few more functions to nsIEventQueue.
...
Moving proxy to use nsIEventQueue instead of PLEvents direct.
git-svn-id: svn://10.0.0.236/trunk@33255 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-29 22:50:25 +00:00
dougt%netscape.com
1c9d2fef90
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.
git-svn-id: svn://10.0.0.236/trunk@33166 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-28 22:15:20 +00:00
dougt%netscape.com
5ba4026869
Changes and bug fixes suggested by brendan.
...
git-svn-id: svn://10.0.0.236/trunk@32979 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-27 21:25:43 +00:00
bruce%cybersight.com
d84fb01ece
Add newline at end of file for native unix compilers.
...
git-svn-id: svn://10.0.0.236/trunk@31192 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-12 00:39:14 +00:00
dougt%netscape.com
a539b0b3d7
Landing xpcom proxies.
...
git-svn-id: svn://10.0.0.236/trunk@30725 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-07 20:01:37 +00:00