Граф коммитов

287 Коммитов

Автор SHA1 Сообщение Дата
warren%netscape.com 958ed96edd Renaming nsIAllocator to nsIMemory (and nsAllocator to nsMemory). API cleanup/freeze. Bug #18433 2000-06-03 09:46:12 +00:00
dougt%netscape.com 3add1c8cc5 Changes from snizinsk@us.ibm.com
visualage fixes to xpcom for OS/2.
2000-05-12 01:09:58 +00:00
cls%seawood.org fec728bf12 More OS/2 Makefile changes. Bug #34106 Batch 13 2000-05-11 14:15:34 +00:00
dveditz%netscape.com a9050f6ecd 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 11949af38c # 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 1d9fda50da 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 128a91b6b4 Removing unused dependency upon nsappShellCIDs.h. Bug #24515. r=shaver 2000-04-23 16:08:55 +00:00
cls%seawood.org 57978e5c23 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 005e33f06e 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 5f175355aa 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 7e37f4f478 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 aeb63a9a96 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 a58c776228 Use EXPORT_XPT_API define when building libraries. Needed for mingw32. 2000-03-02 12:27:58 +00:00
dougt%netscape.com ff94f583e2 Removing nested eventQ. bug 29474. a=jar 2000-03-02 04:38:33 +00:00
rpotts%netscape.com 164f5e0e68 bug #21556. Made Addref/Release on nsProxyObject threadsafe. 2000-02-27 05:12:25 +00:00
dougt%netscape.com 54929d4f0c 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 5e041e830f Pro5 update 2000-02-07 23:06:04 +00:00
dougt%netscape.com 7c0fe51770 Fix for bug 26420. r=scc@netscape.com 2000-02-04 23:14:27 +00:00
dougt%netscape.com 67d0a7a981 removing unneeded lock. 2000-02-03 02:37:51 +00:00
scc%netscape.com 24bd24cf92 Fixed access paths for upcoming switch to Pro5, see bug #25949. r=pinkerton 2000-02-01 00:49:16 +00:00
dougt%netscape.com 3cd4f30d28 Hashtable miss fix. Wrong operator used. submitted by warren. 2000-01-31 23:10:55 +00:00
dougt%netscape.com b24bfc7df3 changing flags from DEBUG_dougt to DEBUG_xpcom_proxy.
r=dveditz
2000-01-28 23:51:00 +00:00
dougt%netscape.com fe9670e2a8 fixes bug 24122. submitted by beard. 2000-01-16 23:30:33 +00:00
dougt%netscape.com a378ec8f5d 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 488f470ab0 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 ac1bf5f7e1 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 741667c736 Fix a warning. r=mcafee. 1999-12-28 20:26:56 +00:00
sspitzer%netscape.com 1ff7f19198 fix warnings. 1999-12-28 19:37:29 +00:00
dougt%netscape.com c270279361 fix for 16273. r=valeski, a=sdagley. 1999-12-22 01:47:59 +00:00
dougt%netscape.com 771b01b02c 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 10aaba597e 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 4ad2a038c2 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 67b387409f Fix for 18078. R=mstoltz,warren 1999-11-30 00:14:55 +00:00
warren%netscape.com 4ab4ee4d4e Eliminated the libs build pass. 1999-11-28 03:05:01 +00:00
jdunn%netscape.com df18a3e659 newline required at eof for HPUX 1999-11-24 00:43:50 +00:00
waterson%netscape.com 76357226dd Remove vestigial addref that was leaking proxy objects. r=dougt 1999-11-23 22:05:44 +00:00
dougt%netscape.com 4496a9fa7a 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 d3a8bfa2a6 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 7c8b12f161 fixing build bustage. Further discussion is needed 1999-11-16 08:50:25 +00:00
dougt%netscape.com c474a4c8ab 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 a4e6a84499 backing it out until doug and I can resolve the types issues 1999-11-09 00:27:05 +00:00
scc%netscape.com ace7038d48 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 8535dda53e 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 7756c0bd6f Backing out changes due to nsCOMPtr build problems. 1999-11-05 03:32:33 +00:00
dougt%netscape.com 2ea00aa3f9 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 70d777c1d5 Eliminating use of nsService class in preparation for making services
usable with COMPtrs.
1999-11-03 05:41:43 +00:00
valeski%netscape.com 92f470a32a removing early xpcom proxy release change from earlier in the weekend. 1999-11-01 20:37:13 +00:00
beard%netscape.com 49e3e4ba38 Fix proxied objects leak. r=sfraser, bug=15380 1999-10-30 01:17:24 +00:00
dougt%netscape.com fadd4861ea 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 2ee074eef9 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 94d79e100e 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 f7bb01fae9 Fixed warnings. 1999-10-23 03:16:27 +00:00
valeski%netscape.com ecb499c7c9 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 10b97b0e41 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 427e787189 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 d5f703c051 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 3f44625ab0 patch nsEventQueue leak in GetProxyObject r:hyatt@netscape.com 1999-10-18 15:01:40 +00:00
mgleeson1%netscape.com abbeaf16fc r=dougt need eol for port boxes 1999-10-13 00:50:31 +00:00
dougt%netscape.com cc663cd3e9 adding default constructor (mac compiler blues) 1999-10-12 22:47:50 +00:00
dougt%netscape.com b1318ad8d7 adding default constructor (mac compilers blues) 1999-10-12 22:46:49 +00:00
dougt%netscape.com 16ccda5402 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 b0dcc883f8 Cleanup moz-decl-counter usage and fix NS_LOG_ADDREF usage 1999-10-08 20:41:19 +00:00
warren%netscape.com b90a06a288 Fixed AddRef/Release problems to eliminate negative refcounts in Bloaty. 1999-10-08 01:49:06 +00:00
mscott%netscape.com ace152cd18 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 62c1884532 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 ee188f7cef 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 0319411eb6 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 f3272a9547 - 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 12f9f9743e General cleanup. 1999-09-18 02:12:56 +00:00
dougt%netscape.com 51816d5958 commenting out the autoproxy header def. Missed this file. 1999-09-14 06:12:22 +00:00
dougt%netscape.com 28f12d909e commenting out autoproxifcation of parameter so that mscott can continue his
work.   AutoProxication is broke.
1999-09-14 05:24:11 +00:00
dougt%netscape.com cb780f23c4 bug fix for 13321. (hardly a fix, more of a hack). 1999-09-08 22:52:11 +00:00
dougt%netscape.com dd5c903d9e Changes nsIAtom iterface to return a shared (non-allocated) wstring when
GetUnicode() is called.  (thanks waterson, jband)

Also fixing 12237.  (thanks jband).
1999-09-03 22:21:29 +00:00
sspitzer%netscape.com 189dd57d74 add newline to end of file to please certain UNIX compilers. 1999-09-03 10:43:00 +00:00
beard%netscape.com 10a5a145ed added nsProxiedService.h to fix build bustage 1999-09-01 22:50:49 +00:00
dougt%netscape.com 30b1d5ab3c changing a debug string to output the correct param number
resetting error code if caller does not have an eventQ.  Temp hack.
1999-09-01 20:04:22 +00:00
cyeh%netscape.com cc2825cbe0 Remove IGNORE_MANIFEST=1. It doesn't do anything and it confuses people. 1999-09-01 00:54:34 +00:00
dougt%netscape.com 942ef8b6e8 Bug fix for 12603. I am not sure if this totally cleans up all the memory
leaks but it definitely hits a major one.
1999-08-31 01:59:09 +00:00
ramiro%netscape.com 8644dc2074 Cleanup linking of libimg. 1999-08-25 13:37:11 +00:00
dougt%netscape.com 72c5b6f74c Fixing auto-proxy so that in params are proxied back to the caller. 1999-08-25 02:34:29 +00:00
dougt%netscape.com 2ec88dcea6 Bug Fixes to xpcom/proxy. Thanks jband for debuging this with me! 1999-08-24 00:30:55 +00:00
scc%netscape.com 0454213f91 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 1999-08-23 10:14:16 +00:00
bienvenu%netscape.com 1a2472bcc8 back out scc's change, and my attempted fix 1999-08-22 22:06:53 +00:00
bienvenu%netscape.com d6dd860f3c attempt to fix build bustage 1999-08-22 21:44:45 +00:00
scc%netscape.com 83feff8821 Added |GetIID| 1999-08-22 20:54:08 +00:00
jband%netscape.com 3854fff49d 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 5e30086b55 Backing out dougt 1999-08-19 02:34:33 +00:00
dougt%netscape.com 07dc620ff9 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 d6e7410f31 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 0ef5bbced1 Fix for bug 10997 submitted by rginda@ix.netcom.com. 1999-07-31 17:36:18 +00:00
briano%netscape.com ea37bbc00a Trivial elimination of some pointless macros as discussed in bug 8568. Approved by leaf@mozilla.org. 1999-07-29 01:18:12 +00:00
dougt%netscape.com b6c73a4dc8 Fix to address memory allocation problems - Bug #8227 1999-07-18 19:13:27 +00:00
dveditz%netscape.com c7c003d717 fixing MSVC++5.0 bustage 1999-07-16 22:22:13 +00:00
dougt%netscape.com 460e5354c1 Fixing Bug 9976. 1999-07-16 18:15:14 +00:00
briano%netscape.com 908dd0ada9 Modification to make it build on BSDI. 1999-07-16 00:25:40 +00:00
dveditz%netscape.com 4c4f269dd4 nakefile cleanups 1999-07-02 13:42:17 +00:00
dp%netscape.com 46d2b4616a Adding nsProxiedService.h to export. 1999-07-01 22:14:15 +00:00
scc%netscape.com 54c96baa72 |nsISupports::GetIID()| --> |nsCOMTypeInfo<nsISupports>::GetIID()| 1999-06-29 21:01:31 +00:00
scc%netscape.com d049be3c31 Added |GetIID()| 1999-06-29 20:28:56 +00:00
dp%netscape.com 2c19234bc6 First version 1999-06-28 23:41:02 +00:00
mcafee%netscape.com 3341dd2e7b Fixing linux bustage. 1999-06-23 23:38:48 +00:00
valeski%netscape.com 31fbd1842d 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
dp%netscape.com 77d9670ae2 Using default autoregistration. 1999-06-16 00:29:34 +00:00
danm%netscape.com 85d2dceb67 moved GetPrimordialThread from nsAppShellService to nsThread, as suggested by warren 1999-06-13 03:30:38 +00:00
dougt%netscape.com 8ccc374240 simplify, simplify, simplify. Changes submitted by brendan@mozilla.org. 1999-06-11 21:56:12 +00:00
dougt%netscape.com daa6129e66 Adding default UI thread posting if user passes nsnull as the destQ 1999-06-11 05:49:11 +00:00
dougt%netscape.com 79808cdbe1 Updates the project to use the new xpcom 2. 1999-06-11 00:37:35 +00:00
dougt%netscape.com 1dc7781b77 First Checked In. 1999-06-11 00:37:05 +00:00
dougt%netscape.com 8d59c9f8e6 Fixing some releasing object bugs. 1999-06-11 00:35:39 +00:00
dougt%netscape.com cc0510a38e Adding Autoproxification. 1999-06-10 20:24:15 +00:00
valeski%netscape.com 6b3a8895c4 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
briano%netscape.com e9e302b454 Handle the (Unix) platform-specific DLL naming conventions properly. 1999-06-04 22:17:30 +00:00
dougt%netscape.com 9e8c2fb02f kISupportsIID is not defined on unix, but it is on windoze... 1999-05-29 23:01:25 +00:00
dougt%netscape.com 981c6e2d15 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 9970148ca8 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
dougt%netscape.com 06da7db49b Changes and bug fixes suggested by brendan. 1999-05-27 21:25:43 +00:00
dp%netscape.com 0443b20e33 Landing xpcom20/21 branch. 1999-05-26 01:38:36 +00:00
briano%netscape.com d36d2a92f8 Fixed the handling of the tests directory. Only go there if ENABLE_TESTS is defined. 1999-05-19 00:07:00 +00:00
dp%netscape.com ee48d13558 undoing previous change. It should have happened on the XPCOM20 BRANCH 1999-05-18 09:24:08 +00:00
dp%netscape.com f5c797c733 Rolling over from initial XPCOM 2.0 changes 1999-05-18 09:19:05 +00:00
bruce%cybersight.com d271f309ae Add newline at end of file for native unix compilers. 1999-05-12 00:39:14 +00:00
dougt%netscape.com c88e720721 First Checked In. 1999-05-11 19:32:55 +00:00
dougt%netscape.com a791673124 Correcting the mac load lib name. 1999-05-10 20:42:06 +00:00
dougt%netscape.com 564d31a0ac First Checked In. 1999-05-10 20:17:14 +00:00
dougt%netscape.com e8d2fecac4 Copied nsITestXPCFoo from xpconnect so that I did not have to include it. 1999-05-10 20:16:45 +00:00
dougt%netscape.com ad44cdf878 Getting it to compile on the mac. 1999-05-10 20:15:02 +00:00
mcafee%netscape.com fd89f21d7b Ignore generated files. 1999-05-10 06:25:15 +00:00
mcafee%netscape.com 3c55f56c1a Fixing Solaris bustage. 1999-05-10 03:47:19 +00:00
dougt%netscape.com 4dabc8645b idl changed without me noticing. now everything is a PRInt32 instead of a int. 1999-05-08 00:12:49 +00:00
dougt%netscape.com 83cad4cb9b when I turned on both tests cases, I did not realize that I was deleting the
testcase arguments in both.  fixing.
1999-05-07 22:25:41 +00:00
dougt%netscape.com 89417fcd5e fixing warning message. 1999-05-07 22:12:25 +00:00
dougt%netscape.com 3dd7d24e35 Got linux to compile.
A few errors fix when handling IID.
1999-05-07 22:09:44 +00:00
dougt%netscape.com 31c188408c enabling all (of two) tests cases. 1999-05-07 20:27:02 +00:00
dougt%netscape.com 3eaf7b8815 moving build to install stage. 1999-05-07 20:21:04 +00:00
dougt%netscape.com 72c87b5c9a removing unused class and reference to unused header. 1999-05-07 20:09:31 +00:00
dougt%netscape.com 67049603bc removing stuff that is throw away. 1999-05-07 20:07:50 +00:00
dougt%netscape.com c50297ec1e Landing xpcom proxies. 1999-05-07 20:01:37 +00:00