75 Commits

Author SHA1 Message Date
kipp%netscape.com
e18af2d0ee Cleanup moz-decl-counter usage and fix NS_LOG_ADDREF usage
git-svn-id: svn://10.0.0.236/trunk@50239 18797224-902f-48f8-a5cc-f745e15eee43
1999-10-08 20:41:19 +00:00
warren%netscape.com
c9fbdb8075 Fixed AddRef/Release problems to eliminate negative refcounts in Bloaty.
git-svn-id: svn://10.0.0.236/trunk@50188 18797224-902f-48f8-a5cc-f745e15eee43
1999-10-08 01:49:06 +00:00
mscott%netscape.com
dea623bfa3 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).


git-svn-id: svn://10.0.0.236/trunk@50166 18797224-902f-48f8-a5cc-f745e15eee43
1999-10-07 23:25:36 +00:00
dougt%netscape.com
3e9e75feec 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.


git-svn-id: svn://10.0.0.236/trunk@49967 18797224-902f-48f8-a5cc-f745e15eee43
1999-10-06 08:17:04 +00:00
briano%netscape.com
253e052ddb Fix for BSDI 3.0, specifically, but should help other platforms with shared library difficulties.
git-svn-id: svn://10.0.0.236/trunk@49228 18797224-902f-48f8-a5cc-f745e15eee43
1999-09-28 19:15:20 +00:00
jband%netscape.com
63a2567d8b 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.
git-svn-id: svn://10.0.0.236/trunk@48841 18797224-902f-48f8-a5cc-f745e15eee43
1999-09-22 07:53:07 +00:00
jband%netscape.com
f6186afc2f - 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


git-svn-id: svn://10.0.0.236/trunk@48304 18797224-902f-48f8-a5cc-f745e15eee43
1999-09-20 02:50:28 +00:00
briano%netscape.com
945d83af9f General cleanup.
git-svn-id: svn://10.0.0.236/trunk@48156 18797224-902f-48f8-a5cc-f745e15eee43
1999-09-18 02:12:56 +00:00
dougt%netscape.com
9533c14465 commenting out the autoproxy header def. Missed this file.
git-svn-id: svn://10.0.0.236/trunk@47294 18797224-902f-48f8-a5cc-f745e15eee43
1999-09-14 06:12:22 +00:00
dougt%netscape.com
e6215bccda commenting out autoproxifcation of parameter so that mscott can continue his
work.   AutoProxication is broke.


git-svn-id: svn://10.0.0.236/trunk@47285 18797224-902f-48f8-a5cc-f745e15eee43
1999-09-14 05:24:11 +00:00
dougt%netscape.com
06f20955b6 bug fix for 13321. (hardly a fix, more of a hack).
git-svn-id: svn://10.0.0.236/trunk@46430 18797224-902f-48f8-a5cc-f745e15eee43
1999-09-08 22:52:11 +00:00
dougt%netscape.com
baeab23036 Changes nsIAtom iterface to return a shared (non-allocated) wstring when
GetUnicode() is called.  (thanks waterson, jband)

Also fixing 12237.  (thanks jband).


git-svn-id: svn://10.0.0.236/trunk@45945 18797224-902f-48f8-a5cc-f745e15eee43
1999-09-03 22:21:29 +00:00
sspitzer%netscape.com
d477f04e12 add newline to end of file to please certain UNIX compilers.
git-svn-id: svn://10.0.0.236/trunk@45876 18797224-902f-48f8-a5cc-f745e15eee43
1999-09-03 10:43:00 +00:00
beard%netscape.com
bb8a3ad96b added nsProxiedService.h to fix build bustage
git-svn-id: svn://10.0.0.236/trunk@45545 18797224-902f-48f8-a5cc-f745e15eee43
1999-09-01 22:50:49 +00:00
dougt%netscape.com
967dcf36b8 changing a debug string to output the correct param number
resetting error code if caller does not have an eventQ.  Temp hack.


git-svn-id: svn://10.0.0.236/trunk@45485 18797224-902f-48f8-a5cc-f745e15eee43
1999-09-01 20:04:22 +00:00
cyeh%netscape.com
c6342ee432 Remove IGNORE_MANIFEST=1. It doesn't do anything and it confuses people.
git-svn-id: svn://10.0.0.236/trunk@45379 18797224-902f-48f8-a5cc-f745e15eee43
1999-09-01 00:54:34 +00:00
dougt%netscape.com
3b5a35b6c8 Bug fix for 12603. I am not sure if this totally cleans up all the memory
leaks but it definitely hits a major one.


git-svn-id: svn://10.0.0.236/trunk@45258 18797224-902f-48f8-a5cc-f745e15eee43
1999-08-31 01:59:09 +00:00
ramiro%netscape.com
cb934ee5cc Cleanup linking of libimg.
git-svn-id: svn://10.0.0.236/trunk@44493 18797224-902f-48f8-a5cc-f745e15eee43
1999-08-25 13:37:11 +00:00
dougt%netscape.com
3b26d6eb64 Fixing auto-proxy so that in params are proxied back to the caller.
git-svn-id: svn://10.0.0.236/trunk@44436 18797224-902f-48f8-a5cc-f745e15eee43
1999-08-25 02:34:29 +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
56d5ad0b43 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
git-svn-id: svn://10.0.0.236/trunk@44139 18797224-902f-48f8-a5cc-f745e15eee43
1999-08-23 10:14:16 +00:00
bienvenu%netscape.com
072a7317d9 back out scc's change, and my attempted fix
git-svn-id: svn://10.0.0.236/trunk@44088 18797224-902f-48f8-a5cc-f745e15eee43
1999-08-22 22:06:53 +00:00
bienvenu%netscape.com
714dd624cc attempt to fix build bustage
git-svn-id: svn://10.0.0.236/trunk@44087 18797224-902f-48f8-a5cc-f745e15eee43
1999-08-22 21:44:45 +00:00
scc%netscape.com
7c0b0cb314 Added |GetIID|
git-svn-id: svn://10.0.0.236/trunk@44086 18797224-902f-48f8-a5cc-f745e15eee43
1999-08-22 20:54:08 +00:00
jband%netscape.com
a14de7a2e8 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.
git-svn-id: svn://10.0.0.236/trunk@43580 18797224-902f-48f8-a5cc-f745e15eee43
1999-08-19 10:12:30 +00:00
leaf%mozilla.org
67b41a6864 Backing out dougt
git-svn-id: svn://10.0.0.236/trunk@43536 18797224-902f-48f8-a5cc-f745e15eee43
1999-08-19 02:34:33 +00:00
dougt%netscape.com
9d342b98ae Removing ProxyType so that I can do masking
Added new proxy type so that we bypass the Current Thread check.


git-svn-id: svn://10.0.0.236/trunk@43487 18797224-902f-48f8-a5cc-f745e15eee43
1999-08-18 09:21:47 +00:00
mccabe%netscape.com
1999447bdb 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.


git-svn-id: svn://10.0.0.236/trunk@42960 18797224-902f-48f8-a5cc-f745e15eee43
1999-08-10 12:18:01 +00:00
dougt%netscape.com
e2b1e60979 Fix for bug 10997 submitted by rginda@ix.netcom.com.
git-svn-id: svn://10.0.0.236/trunk@41721 18797224-902f-48f8-a5cc-f745e15eee43
1999-07-31 17:36:18 +00:00
briano%netscape.com
2087356d68 Trivial elimination of some pointless macros as discussed in bug 8568. Approved by leaf@mozilla.org.
git-svn-id: svn://10.0.0.236/trunk@41509 18797224-902f-48f8-a5cc-f745e15eee43
1999-07-29 01:18:12 +00:00
dougt%netscape.com
aa6a854245 Fix to address memory allocation problems - Bug #8227
git-svn-id: svn://10.0.0.236/trunk@40013 18797224-902f-48f8-a5cc-f745e15eee43
1999-07-18 19:13:27 +00:00
dveditz%netscape.com
42ac9292d1 fixing MSVC++5.0 bustage
git-svn-id: svn://10.0.0.236/trunk@39772 18797224-902f-48f8-a5cc-f745e15eee43
1999-07-16 22:22:13 +00:00
dougt%netscape.com
a061bba191 Fixing Bug 9976.
git-svn-id: svn://10.0.0.236/trunk@39719 18797224-902f-48f8-a5cc-f745e15eee43
1999-07-16 18:15:14 +00:00
briano%netscape.com
767bc8f828 Modification to make it build on BSDI.
git-svn-id: svn://10.0.0.236/trunk@39594 18797224-902f-48f8-a5cc-f745e15eee43
1999-07-16 00:25:40 +00:00
dveditz%netscape.com
4a69d1d866 nakefile cleanups
git-svn-id: svn://10.0.0.236/trunk@38066 18797224-902f-48f8-a5cc-f745e15eee43
1999-07-02 13:42:17 +00:00
dp%netscape.com
e564eb594c Adding nsProxiedService.h to export.
git-svn-id: svn://10.0.0.236/trunk@37888 18797224-902f-48f8-a5cc-f745e15eee43
1999-07-01 22:14:15 +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
scc%netscape.com
9ea8cebe57 Added |GetIID()|
git-svn-id: svn://10.0.0.236/trunk@37432 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-29 20:28:56 +00:00
dp%netscape.com
f80e1fb56c First version
git-svn-id: svn://10.0.0.236/trunk@37285 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-28 23:41:02 +00:00
mcafee%netscape.com
d300973ab3 Fixing linux bustage.
git-svn-id: svn://10.0.0.236/trunk@36630 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-23 23:38:48 +00:00
valeski%netscape.com
8986daacf7 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)
git-svn-id: svn://10.0.0.236/trunk@36629 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-23 23:32:43 +00:00
dp%netscape.com
e7840a0ada Using default autoregistration.
git-svn-id: svn://10.0.0.236/trunk@35573 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-16 00:29:34 +00:00
danm%netscape.com
fb18842156 moved GetPrimordialThread from nsAppShellService to nsThread, as suggested by warren
git-svn-id: svn://10.0.0.236/trunk@35060 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-13 03:30:38 +00:00
dougt%netscape.com
2323fc89fd simplify, simplify, simplify. Changes submitted by brendan@mozilla.org.
git-svn-id: svn://10.0.0.236/trunk@34863 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-11 21:56:12 +00:00
dougt%netscape.com
c1ef30a561 Adding default UI thread posting if user passes nsnull as the destQ
git-svn-id: svn://10.0.0.236/trunk@34756 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-11 05:49:11 +00:00
dougt%netscape.com
42762abad9 Updates the project to use the new xpcom 2.
git-svn-id: svn://10.0.0.236/trunk@34721 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-11 00:37:35 +00:00
dougt%netscape.com
f8dddcae9c First Checked In.
git-svn-id: svn://10.0.0.236/trunk@34720 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-11 00:37:05 +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