Commit Graph

216 Commits

Author SHA1 Message Date
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
cls%seawood.org
bf5fb48486 Replaced NO_SHARED_LIB & NO_STATIC_LIB with BUILD_SHARED_LIBS, BUILD_STATIC_LIBS, FORCE_STATIC_LIB & FORCE_SHARED_LIB. Added FORCE_USE_PIC.
Changes allow us to have a finer control over which parts of the tree are built with PIC.  Part of the static build branch landing.
Bug #46775 r=mcafee a=leaf
2001-06-18 22:10:38 +00:00
cls%seawood.org
d62bacf705 Remove unneeded LOST_SYM_LIBS defines. 2001-04-30 01:13:22 +00:00
cls%seawood.org
083f73e3c6 CConverting line-endings to fix cement bustage. Extra ^Ms are A Bad Thing(tm). 2001-04-14 02:45:59 +00:00
dougt%netscape.com
48b4fc668c More Assertions and checks for null similar to the last checkin. r=me 2001-04-14 02:01:37 +00:00
dougt%netscape.com
52b85e64e9 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
2001-04-14 00:34:06 +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
dougt%netscape.com
97fd732b36 Adding check for null. r=dveditz/sr=nullcheck 2001-03-01 02:20:37 +00:00
disttsc%bart.nl
a6f2f5861a Mass REQUIRES update to synch up with string lib and xul changes in an attempt to fix senna bustage. r=jst, sr=cls 2001-02-22 09:35:51 +00:00
waterson%netscape.com
d45984c551 Bug 65146. Fix deadlock potential in proxy code; remove unncessary locks from nsPipe2. r=darin,dougt; sr=brendan 2001-02-12 23:33:11 +00:00
cls%seawood.org
434edd6f33 Oops. Fixing bustage introduced by previous checkin. I forgot that XPIDL_MODULE is sometimes set by MODULE. r=blizzard Bug 59454 2000-11-21 00:18:46 +00:00
cls%seawood.org
66a18fcbbf Resurrect REQUIRES so that we have some sort of means to track intermodule dependencies. Bug #59454 r=blizzard@mozilla.org 2000-11-20 07:16:06 +00:00
alecf%netscape.com
0934a8bda2 fix for #45797 - fix NS_IMPL_ISUPPORTS consumers
r=dveditz a=self
2000-11-17 03:41:41 +00:00
warren%netscape.com
cd56c0575b Bug 47207. Backing out logging/PRINTF changes until we can fix stopwatch.h, introduce double parens, etc. 2000-10-28 22:17:53 +00:00
warren%netscape.com
9a6d92a433 Bug 47207. Changing printf to PRINTF to use new logging facility. r=valeski,sr=waterson 2000-10-27 22:43:51 +00:00
dougt%netscape.com
aeee5aad67 Fixes 64 bit address conversion in proxy. Also fixes proxing char parameters. p=jband, r=dougt, a=brendan. 52200, 26560. 2000-10-08 18:19:28 +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
45850deaf6 Bug 51445. r=beard@netscape.com 2000-09-07 20:28:00 +00:00
dbaron%fas.harvard.edu
75784d00bd Fix leak stats by calling NS_LOG_RELEASE for every release. Debug code only. r=dougt 2000-08-28 23:23:32 +00:00
dougt%netscape.com
6e5dd7aa53 b=49593. r=bruce@cubik.org (Bruce Mitchener). 2000-08-21 22:51:10 +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
283ecd2375 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
2000-08-07 20:50:25 +00:00
dougt%netscape.com
4b58b28542 44665
submitted by dbaron@fas.harvard.edu
a=waterson@netscape.com
2000-07-06 20:56:24 +00:00
dougt%netscape.com
789492867e Mike Kaply <mkaply@us.ibm.com> pointed out a malloc(0) bug as well as a free(null).
a=brendan@mozilla.org
2000-07-06 00:22:17 +00:00
cls%seawood.org
1f3b6d75ab Removed obsolete REQUIRES variable from every Makefile.in/makefile.win 2000-06-30 08:08:04 +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
pavlov%netscape.com
6d72d15bf9 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 2000-06-05 21:53:25 +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
dougt%netscape.com
4e5362dc52 Changes from snizinsk@us.ibm.com
visualage fixes to xpcom for OS/2.
2000-05-12 01:09:58 +00:00
cls%seawood.org
5be082e304 More OS/2 Makefile changes. Bug #34106 Batch 13 2000-05-11 14:15:34 +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
mkaply%us.ibm.com
152f6f29e4 # 34082
r= dougt@netscape.com
OS/2 bring up continues - Adding PR_CALLBACKs for VisualAge Compiler
2000-05-02 22:38:04 +00:00
waterson%netscape.com
00eb3e5b8c Get rid of operator==(nsCOMPtr, int) usage because it fries gcc-2.7.2.3's mind with new string stuff. r=scc 2000-04-27 04:44:56 +00:00
cls%seawood.org
178e2f8d7a Removing unused dependency upon nsappShellCIDs.h. Bug #24515. r=shaver 2000-04-23 16:08:55 +00:00
cls%seawood.org
f6740baa20 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 2000-04-04 04:46:38 +00:00
jim_nance%yahoo.com
dc0e139673 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
2000-03-30 03:21:26 +00:00
jband%netscape.com
71d63dc676 Prepare for semantic change to nsIInterfaceInfo::GetParent (will set out param to null if no parent rather than return an nsresult error). 2000-03-28 03:57:35 +00:00
warren%netscape.com
c0497e31be Bug 21556: Making linux be thread-safe. Making tons of classes implement threadsafe AddRef/Release. a=jar 2000-03-05 21:26:01 +00:00
cls%seawood.org
192e307283 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.
2000-03-02 13:29:03 +00:00
cls%seawood.org
18d8f2f08c Use EXPORT_XPT_API define when building libraries. Needed for mingw32. 2000-03-02 12:27:58 +00:00
dougt%netscape.com
565d93720f Removing nested eventQ. bug 29474. a=jar 2000-03-02 04:38:33 +00:00
rpotts%netscape.com
d298d0f902 bug #21556. Made Addref/Release on nsProxyObject threadsafe. 2000-02-27 05:12:25 +00:00
dougt%netscape.com
359cd1e026 Remove double hash lookup.
Added extra add ref to cache
r=jband (submitted by him)
2000-02-09 08:08:20 +00:00
scc%netscape.com
73802d6f2e Pro5 update 2000-02-07 23:06:04 +00:00
dougt%netscape.com
7734ccb1d7 Fix for bug 26420. r=scc@netscape.com 2000-02-04 23:14:27 +00:00
dougt%netscape.com
9a70a79c48 removing unneeded lock. 2000-02-03 02:37:51 +00:00
scc%netscape.com
6366d6d779 Fixed access paths for upcoming switch to Pro5, see bug #25949. r=pinkerton 2000-02-01 00:49:16 +00:00
dougt%netscape.com
ddffe2bc5c Hashtable miss fix. Wrong operator used. submitted by warren. 2000-01-31 23:10:55 +00:00
dougt%netscape.com
461b6ae270 changing flags from DEBUG_dougt to DEBUG_xpcom_proxy.
r=dveditz
2000-01-28 23:51:00 +00:00
dougt%netscape.com
781a91974d fixes bug 24122. submitted by beard. 2000-01-16 23:30:33 +00:00
dougt%netscape.com
4090a10b2b Making event handler callbacks static.
removing lock during XPT invoke

suggested by jband.  bug 18110.
2000-01-14 05:03:29 +00:00
jst%citec.fi
eeccc4859d 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. 2000-01-14 00:06:57 +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
bryner%uiuc.edu
717cbdd7e2 Fix a warning. r=mcafee. 1999-12-28 20:26:56 +00:00
sspitzer%netscape.com
fbd97e9856 fix warnings. 1999-12-28 19:37:29 +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
aa23a77403 NS_GET_IID(). Thanks to patch from pp@ludasdesign.com r=dp@netscape.com 1999-12-01 00:21:53 +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
warren%netscape.com
96ec037ac6 Eliminated the libs build pass. 1999-11-28 03:05:01 +00:00
jdunn%netscape.com
7f5eee53ff newline required at eof for HPUX 1999-11-24 00:43:50 +00:00
waterson%netscape.com
de0d2dcb1a Remove vestigial addref that was leaking proxy objects. r=dougt 1999-11-23 22:05:44 +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
jdunn%netscape.com
ece28f466a 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
1999-11-17 01:01:22 +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
valeski%netscape.com
105bf31e01 removing early xpcom proxy release change from earlier in the weekend. 1999-11-01 20:37:13 +00:00
beard%netscape.com
0f2e6ac1be Fix proxied objects leak. r=sfraser, bug=15380 1999-10-30 01:17:24 +00:00
dougt%netscape.com
fab83a93ba 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
ca8525eddf 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
b17616fba6 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
744adae302 Fixed warnings. 1999-10-23 03:16:27 +00:00
valeski%netscape.com
25a47745c1 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
eed901ef67 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
375bb0d8cd 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
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
danm%netscape.com
df8b57314c patch nsEventQueue leak in GetProxyObject r:hyatt@netscape.com 1999-10-18 15:01:40 +00:00
mgleeson1%netscape.com
a6f284c62c r=dougt need eol for port boxes 1999-10-13 00:50:31 +00:00
dougt%netscape.com
7292b039e6 adding default constructor (mac compiler blues) 1999-10-12 22:47:50 +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
kipp%netscape.com
65f6ba5343 Cleanup moz-decl-counter usage and fix NS_LOG_ADDREF usage 1999-10-08 20:41:19 +00:00
warren%netscape.com
8c71c45537 Fixed AddRef/Release problems to eliminate negative refcounts in Bloaty. 1999-10-08 01:49:06 +00:00
mscott%netscape.com
6f6cc8ed7e 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
735f646940 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
6ad833aac3 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
16c9977e38 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
04c77e4064 - 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
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
dougt%netscape.com
3b59449bf3 commenting out autoproxifcation of parameter so that mscott can continue his
work.   AutoProxication is broke.
1999-09-14 05:24:11 +00:00