Commit Graph

31 Commits

Author SHA1 Message Date
dmose%mozilla.org
0efb7c174c updated xPL license boilerplate to v1.1, a=chofmann@netscape.com,r=endico@mozilla.org
git-svn-id: svn://10.0.0.236/trunk@52910 18797224-902f-48f8-a5cc-f745e15eee43
1999-11-06 03:43:54 +00:00
kipp%netscape.com
9825c95a9e Button up some shutdown memory leaks
git-svn-id: svn://10.0.0.236/trunk@49495 18797224-902f-48f8-a5cc-f745e15eee43
1999-09-30 21:43:35 +00:00
jband%netscape.com
26a4c69f38 round out the isDependent test and change an || to a switch
git-svn-id: svn://10.0.0.236/trunk@48336 18797224-902f-48f8-a5cc-f745e15eee43
1999-09-20 07:30:04 +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
jband%netscape.com
b9d4c03546 add arrays to xpidl and typelibs. got rid of vararg support scheme
git-svn-id: svn://10.0.0.236/trunk@46934 18797224-902f-48f8-a5cc-f745e15eee43
1999-09-11 05:20:39 +00:00
shaver%netscape.com
708e94e89e convert to CreateInstanceFromProgID
git-svn-id: svn://10.0.0.236/trunk@46048 18797224-902f-48f8-a5cc-f745e15eee43
1999-09-05 06:27:42 +00:00
jband%netscape.com
e1161ebb6d fix for bug 12237 - add a flag in typelib to indicate methods thatare not xpcom compliant. Stealing bit that was originally intended for varargs
git-svn-id: svn://10.0.0.236/trunk@45576 18797224-902f-48f8-a5cc-f745e15eee43
1999-09-02 00:01:08 +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
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
jband%netscape.com
5630b79f6c adding enumeration of CLSIDs and ProgIDs using code from Robert Ginda <rginda@ix.netcom.com>
git-svn-id: svn://10.0.0.236/trunk@42738 18797224-902f-48f8-a5cc-f745e15eee43
1999-08-09 05:02:25 +00:00
jband%netscape.com
4137ac2579 adding modifications to support enumeration of interfaces from Robert Ginda <rginda@ix.netcom.com>
git-svn-id: svn://10.0.0.236/trunk@42114 18797224-902f-48f8-a5cc-f745e15eee43
1999-08-04 06:13:05 +00:00
dp%netscape.com
befa259a88 Landing xpcom20/21 branch.
git-svn-id: svn://10.0.0.236/trunk@32644 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-26 01:38:36 +00:00
beard%netscape.com
9e08ba67ef First Checked In.
git-svn-id: svn://10.0.0.236/trunk@27068 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-10 23:52:55 +00:00
jband%netscape.com
39f03647d4 making the overloaded assignment operator sig better match the usage in hopes that the ambiguous error on Sun will go away
git-svn-id: svn://10.0.0.236/trunk@26998 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-10 08:17:05 +00:00
jband%netscape.com
ac0dc254d1 added overloaded asingment operator to quiet pedantice warning
git-svn-id: svn://10.0.0.236/trunk@26970 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-10 06:09:54 +00:00
jband%netscape.com
e609adb924 Added support for [scriptable] flag in interface descriptor. Added [noscript]. xpconnect now checks for the [scriptable] flag.
git-svn-id: svn://10.0.0.236/trunk@26574 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-06 22:42:10 +00:00
jband%netscape.com
7eb2f758f8 add support for 'shared' flag in typelibs. This is available for use to indicate pointer type 'out' params which will not follow the xpcom rules of transfering ownership - i.e. they want to share a pointer rather than cloning the underlying data for the caller to delete when finished
git-svn-id: svn://10.0.0.236/trunk@25409 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-28 21:48:34 +00:00
jband%netscape.com
68fa3ac6bf removing export of removed file
git-svn-id: svn://10.0.0.236/trunk@25325 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-27 08:36:20 +00:00
mccabe%netscape.com
7c0d9806a3 Consolidated xpt_cpp.h with xptinfo.h; removed xpt_cpp.h. Also
modified uses...


git-svn-id: svn://10.0.0.236/trunk@25323 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-27 08:02:15 +00:00
warren%netscape.com
4e8eccdd05 Added GetMethodInfoForName
git-svn-id: svn://10.0.0.236/trunk@25095 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-25 07:30:47 +00:00
jband%netscape.com
afdb94aa37 initial checking of xptcall code. This module allows arbitrary invocation of xpcom methods and also allows an object to impersonate an object of an arbitrary xpcom class. This code is used for XPConnect and will also be used for a scriptable interface to RDF. The build scheme for libxpt, xptinfo, and xpconnect may be a bit screwy on some platforms until this settles down. Luckily, none of these modules are part of the client build yet and very few people should even notice the change
git-svn-id: svn://10.0.0.236/trunk@24777 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-23 02:23:29 +00:00
mccabe%netscape.com
9062024e28 Another reworking of the loader -
- added a forward declaration of nsIInterfaceInfoManager to xptinfo.h

- reworked and cleaned up most aspects of the loader; typelib files now get associated typelib records, which have arrays of pointers to shared interface records; no hashtable lookup is necessary to resolve index pointers from params, etc to nsInterfaceInfo objects.

- moved to two hashtables in nsInterfaceInfoManager, mapping from name->interface record and iid->interface record.  Still unclear if I handle the different-iid, same-name case correctly.


git-svn-id: svn://10.0.0.236/trunk@24166 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-15 05:50:11 +00:00
jband%netscape.com
9ed30011df made in params const, added some comments
git-svn-id: svn://10.0.0.236/trunk@24029 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-13 01:34:37 +00:00
mccabe%netscape.com
d7ffc955ca Not part of seamonkey.
Removed awkward nsXPTParamInfo::GetInterface and friend, and als removed supporting nsXPTParamInfo.cpp file.  Replace by nsIInterfaceInfo::GetInfoForParam and friend.

Made the constructor for nsInterfaceInfo private, with nsInterfaceInfoManager as a friend class.


git-svn-id: svn://10.0.0.236/trunk@23899 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-12 06:49:01 +00:00
jband%netscape.com
2e6dec8b20 get xptinfo building on Win32 again
git-svn-id: svn://10.0.0.236/trunk@23651 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-11 02:21:23 +00:00
mccabe%netscape.com
1c4dd83cdc Not yet part of the Monkey.
- Added magic comments to make the LXR browsing experience more pleasant.

- introduced the nsInterfaceRecord class (formerly less formally interface_record).

- changed the XPTInterfaceDirectoryEntry pointer in InterfaceInfoes into nsInterfaceRecord pointers, removing the need for a hash just to go from entries to records to support nsXPTParamInfo::GetInterface.

- made the destructor for InterfaceInfo objects remove null the pointer in the corresponding reference.


git-svn-id: svn://10.0.0.236/trunk@23521 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-10 09:30:48 +00:00
mccabe%netscape.com
0b0b45888d Not part of seamonkey.
API change - changed nsXPTParamInfo from taking an InterfaceDirectoryEntry* (which really isn't part of the API I want to expose) to taking an nsIInterfaceInfo*, which is.


git-svn-id: svn://10.0.0.236/trunk@23499 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-10 06:06:19 +00:00
mccabe%netscape.com
2c5a38de3e Not yet part of Seamonkey.
Progress on the nsInterfaceInfoManager typelib loader for xpconnect.
Now has complete (I think) functionality, though the implementation is
still probably rusty.

I punted on defining a directory for .xpt files at this point; the
implementation looks at the value of the XPTDIR environment variable
for this value.

Note that the nsXPTParaminfo interface (public/xpt_cpp) has changed
(possibly temporarily) to take an 'entry' parameter.


git-svn-id: svn://10.0.0.236/trunk@23485 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-10 04:26:15 +00:00
jband%netscape.com
9da670ea9b makefile fixups to get xptinfo working on Win32. Added xptinfo.h for public dll declarations
git-svn-id: svn://10.0.0.236/trunk@22545 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-02 07:59:53 +00:00
mccabe%netscape.com
0217662ca2 Not yet part of the seamonkey build.
Moved nsInterfaceInfoManager files from the libxpt directory (where
they would have precipitated an unpleasant circular dependency between
xpidl and nsISupports.h) into a new subdirectory.

Added corresponding entries to allmakefiles.sh.

nsInterfaceInfoManager is intended to abstract the loading and
management of typelib information generated by xpidl, for use by
xpconnect.


git-svn-id: svn://10.0.0.236/trunk@22533 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-02 05:21:31 +00:00