147 Commits

Author SHA1 Message Date
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
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
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
cls%seawood.org
91d683a067 Removed obsolete REQUIRES variable from every Makefile.in/makefile.win
git-svn-id: svn://10.0.0.236/trunk@73583 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-30 08:08:04 +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
dougt%netscape.com
a08152032b Adding idl'ifed nsIProxyObjectManager interface file.
git-svn-id: svn://10.0.0.236/trunk@73114 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-23 23:34:11 +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
dougt%netscape.com
600b867627 Changes from snizinsk@us.ibm.com
visualage fixes to xpcom for OS/2.


git-svn-id: svn://10.0.0.236/trunk@69302 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-12 01:09:58 +00:00
cls%seawood.org
1b2a1c66e6 More OS/2 Makefile changes. Bug #34106 Batch 13
git-svn-id: svn://10.0.0.236/trunk@69212 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-11 14:15:34 +00:00
dveditz%netscape.com
fa282d9063 adding convenience macro to create always-proxied services necessary when creating the proxy on the same thread for use on a new thread
git-svn-id: svn://10.0.0.236/trunk@68327 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-05 03:47:00 +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
waterson%netscape.com
6f3568569c Get rid of operator==(nsCOMPtr, int) usage because it fries gcc-2.7.2.3's mind with new string stuff. r=scc
git-svn-id: svn://10.0.0.236/trunk@67372 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-27 04:44:56 +00:00
cls%seawood.org
892351c1b5 Removing unused dependency upon nsappShellCIDs.h. Bug #24515. r=shaver
git-svn-id: svn://10.0.0.236/trunk@66925 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-23 16:08:55 +00:00
cls%seawood.org
a26020ddae Moved static MOZ_COMPONENT_NSPR_LIBS, MOZ_COMPONENT_XPCOM_LIBS, MOZ_COMPONENT_LIBS definitions from configure.in to config.mk. Replaced -lxpcom in Makefiles to $(XPCOM_LIBS) so that we can optionally link against -lboehm when needed. Bug #31287
git-svn-id: svn://10.0.0.236/trunk@65143 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-04 04:46:38 +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
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
cls%seawood.org
6573bbb91d Finally following warren's lead from "last year", the libs phase has been removed from the build. Directories had to be ordered and in some cases, traversed after a subsequent module was built.
Fixed the recursive makes into GtkMozilla so that they will report build failures like the other dirs.
Removed LIBS_NEQ_INSTALL variable and associated ifdefs.


git-svn-id: svn://10.0.0.236/trunk@62056 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-02 13:29:03 +00:00
cls%seawood.org
dd1641c1b8 Use EXPORT_XPT_API define when building libraries. Needed for mingw32.
git-svn-id: svn://10.0.0.236/trunk@62051 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-02 12:27:58 +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
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
scc%netscape.com
dcee2e659d Pro5 update
git-svn-id: svn://10.0.0.236/trunk@60002 18797224-902f-48f8-a5cc-f745e15eee43
2000-02-07 23:06:04 +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
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
scc%netscape.com
bb02d934b0 Fixed access paths for upcoming switch to Pro5, see bug #25949. r=pinkerton
git-svn-id: svn://10.0.0.236/trunk@59333 18797224-902f-48f8-a5cc-f745e15eee43
2000-02-01 00:49:16 +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
4d98215217 changing flags from DEBUG_dougt to DEBUG_xpcom_proxy.
r=dveditz


git-svn-id: svn://10.0.0.236/trunk@59125 18797224-902f-48f8-a5cc-f745e15eee43
2000-01-28 23:51:00 +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
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
bryner%uiuc.edu
4402af7a65 Fix a warning. r=mcafee.
git-svn-id: svn://10.0.0.236/trunk@56573 18797224-902f-48f8-a5cc-f745e15eee43
1999-12-28 20:26:56 +00:00
sspitzer%netscape.com
f7440a0d0d fix warnings.
git-svn-id: svn://10.0.0.236/trunk@56570 18797224-902f-48f8-a5cc-f745e15eee43
1999-12-28 19:37:29 +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
dp%netscape.com
777ccab296 NS_GET_IID(). Thanks to patch from pp@ludasdesign.com r=dp@netscape.com
git-svn-id: svn://10.0.0.236/trunk@54813 18797224-902f-48f8-a5cc-f745e15eee43
1999-11-30 23:44:59 +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
warren%netscape.com
eb9a891946 Eliminated the libs build pass.
git-svn-id: svn://10.0.0.236/trunk@54523 18797224-902f-48f8-a5cc-f745e15eee43
1999-11-28 03:05:01 +00:00
jdunn%netscape.com
92a2da4944 newline required at eof for HPUX
git-svn-id: svn://10.0.0.236/trunk@54350 18797224-902f-48f8-a5cc-f745e15eee43
1999-11-24 00:43:50 +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
587185d7ca 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.


git-svn-id: svn://10.0.0.236/trunk@54267 18797224-902f-48f8-a5cc-f745e15eee43
1999-11-23 08:53:44 +00:00
jdunn%netscape.com
6af106def0 fixing HPUX 10.20's which was having problem with this definition since
it was creating an unresolved symbol "static_iid"

r= dougt@netscape.com
# 19021


git-svn-id: svn://10.0.0.236/trunk@53719 18797224-902f-48f8-a5cc-f745e15eee43
1999-11-17 01:01:22 +00:00
scc%netscape.com
4bd89164cd fixing build bustage. Further discussion is needed
git-svn-id: svn://10.0.0.236/trunk@53646 18797224-902f-48f8-a5cc-f745e15eee43
1999-11-16 08:50:25 +00:00