Commit Graph

126 Commits

Author SHA1 Message Date
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
dougt%netscape.com
322e85f0c8 bug fix for 13321. (hardly a fix, more of a hack). 1999-09-08 22:52:11 +00:00
dougt%netscape.com
028f11d2bf 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
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
dougt%netscape.com
38ba384b59 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
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
74f259e911 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
5c9835cc68 Cleanup linking of libimg. 1999-08-25 13:37:11 +00:00
dougt%netscape.com
7f488ef0fd Fixing auto-proxy so that in params are proxied back to the caller. 1999-08-25 02:34:29 +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
scc%netscape.com
68340a37ef 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
3953782723 back out scc's change, and my attempted fix 1999-08-22 22:06:53 +00:00
bienvenu%netscape.com
c8a344100f attempt to fix build bustage 1999-08-22 21:44:45 +00:00
scc%netscape.com
7981dba18d Added |GetIID| 1999-08-22 20:54:08 +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
f070fbf1c5 Fix for bug 10997 submitted by rginda@ix.netcom.com. 1999-07-31 17:36:18 +00:00
briano%netscape.com
5ca4aa0b87 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
14c4d97272 Fix to address memory allocation problems - Bug #8227 1999-07-18 19:13:27 +00:00
dveditz%netscape.com
923128bab6 fixing MSVC++5.0 bustage 1999-07-16 22:22:13 +00:00
dougt%netscape.com
4c2fedd630 Fixing Bug 9976. 1999-07-16 18:15:14 +00:00
briano%netscape.com
80daec44b9 Modification to make it build on BSDI. 1999-07-16 00:25:40 +00:00
dveditz%netscape.com
0eb6c820cf nakefile cleanups 1999-07-02 13:42:17 +00:00
dp%netscape.com
fc44591bbd Adding nsProxiedService.h to export. 1999-07-01 22:14:15 +00:00
scc%netscape.com
f79508bc68 |nsISupports::GetIID()| --> |nsCOMTypeInfo<nsISupports>::GetIID()| 1999-06-29 21:01:31 +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
dp%netscape.com
3082cbf9af Using default autoregistration. 1999-06-16 00:29:34 +00:00
danm%netscape.com
9bf4058960 moved GetPrimordialThread from nsAppShellService to nsThread, as suggested by warren 1999-06-13 03:30:38 +00:00
dougt%netscape.com
060f2404d0 simplify, simplify, simplify. Changes submitted by brendan@mozilla.org. 1999-06-11 21:56:12 +00:00
dougt%netscape.com
374017c404 Adding default UI thread posting if user passes nsnull as the destQ 1999-06-11 05:49:11 +00:00
dougt%netscape.com
e3b14bd3cb Updates the project to use the new xpcom 2. 1999-06-11 00:37:35 +00:00
dougt%netscape.com
1b8d4b5c5a First Checked In. 1999-06-11 00:37:05 +00:00
dougt%netscape.com
70511bbc92 Fixing some releasing object bugs. 1999-06-11 00:35:39 +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
briano%netscape.com
8699ea0019 Handle the (Unix) platform-specific DLL naming conventions properly. 1999-06-04 22:17:30 +00:00
dougt%netscape.com
a05f7e413f kISupportsIID is not defined on unix, but it is on windoze... 1999-05-29 23:01:25 +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
dougt%netscape.com
aa5c8e7759 Changes and bug fixes suggested by brendan. 1999-05-27 21:25:43 +00:00
dp%netscape.com
94344009c8 Landing xpcom20/21 branch. 1999-05-26 01:38:36 +00:00
briano%netscape.com
820c1b2e55 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
4f026cd2e3 undoing previous change. It should have happened on the XPCOM20 BRANCH 1999-05-18 09:24:08 +00:00
dp%netscape.com
1a52db2035 Rolling over from initial XPCOM 2.0 changes 1999-05-18 09:19:05 +00:00
bruce%cybersight.com
3d4169cc64 Add newline at end of file for native unix compilers. 1999-05-12 00:39:14 +00:00
dougt%netscape.com
6dad35704e First Checked In. 1999-05-11 19:32:55 +00:00
dougt%netscape.com
51872b8b8e Correcting the mac load lib name. 1999-05-10 20:42:06 +00:00
dougt%netscape.com
7861bc2280 First Checked In. 1999-05-10 20:17:14 +00:00
dougt%netscape.com
52fef40b4f Copied nsITestXPCFoo from xpconnect so that I did not have to include it. 1999-05-10 20:16:45 +00:00
dougt%netscape.com
50514f6961 Getting it to compile on the mac. 1999-05-10 20:15:02 +00:00
mcafee%netscape.com
d7ab07b95d Ignore generated files. 1999-05-10 06:25:15 +00:00
mcafee%netscape.com
cb6715d19d Fixing Solaris bustage. 1999-05-10 03:47:19 +00:00
dougt%netscape.com
b0aa3ae2be 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
e635a4432b 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
92d07a5d52 fixing warning message. 1999-05-07 22:12:25 +00:00
dougt%netscape.com
eb14e1366a Got linux to compile.
A few errors fix when handling IID.
1999-05-07 22:09:44 +00:00
dougt%netscape.com
e180982c8d enabling all (of two) tests cases. 1999-05-07 20:27:02 +00:00
dougt%netscape.com
54fec57559 moving build to install stage. 1999-05-07 20:21:04 +00:00
dougt%netscape.com
cec1984150 removing unused class and reference to unused header. 1999-05-07 20:09:31 +00:00
dougt%netscape.com
935ef51654 removing stuff that is throw away. 1999-05-07 20:07:50 +00:00
dougt%netscape.com
80abf4bfa4 Landing xpcom proxies. 1999-05-07 20:01:37 +00:00