Commit Graph

40 Commits

Author SHA1 Message Date
jband%netscape.com
7c06335f78 PRBool values should be members of the set {0,1}. r=sfraser sr=jst. see bug 80722 2001-05-15 19:09:33 +00:00
jst%netscape.com
ea706038cf Landing the XPCDOM_20010329_BRANCH branch, changes mostly done by jband@netscape.com and jst@netscape.com, also some changes done by shaver@mozilla.org, peterv@netscape.com and markh@activestate.com. r= and sr= by vidur@netscape.com, jband@netscape.com, jst@netscpae.com, danm@netscape.com, hyatt@netscape.com, shaver@mozilla.org, dbradley@netscape.com, rpotts@netscape.com. 2001-05-08 17:42:36 +00:00
jband%netscape.com
ea496b8199 add xpidl support for DOMString to fix bug 65762. r=jst sr=brendan 2001-01-26 02:32:18 +00:00
jband%netscape.com
c1564bb79e fix bug 58959 and groundwork for bug 57370. Handle interface whose name has changed correctly and add support for comparing iids without fetching. r=mccabe sr=hyatt 2000-11-30 06:55:40 +00:00
jband%netscape.com
6ba416e575 changed comment to show why compiler warning will not be fixed 2000-08-29 08:55:28 +00:00
jband%netscape.com
d5ab77d656 removing unused files 2000-04-21 00:17:56 +00:00
jband%netscape.com
2964aea322 landing typelib loading improvements. bug 30753 2000-04-20 08:52:05 +00:00
jband%netscape.com
ab61ae1c62 adding new file - not part of build 2000-03-28 05:10:05 +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
kipp%netscape.com
79afe35b3b Button up some shutdown memory leaks 1999-09-30 21:43:35 +00:00
jband%netscape.com
49b32adc11 round out the isDependent test and change an || to a switch 1999-09-20 07:30:04 +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
jband%netscape.com
a3a6462404 add arrays to xpidl and typelibs. got rid of vararg support scheme 1999-09-11 05:20:39 +00:00
shaver%netscape.com
6cecf4c569 convert to CreateInstanceFromProgID 1999-09-05 06:27:42 +00:00
jband%netscape.com
e4d792bba4 fix for bug 12237 - add a flag in typelib to indicate methods thatare not xpcom compliant. Stealing bit that was originally intended for varargs 1999-09-02 00:01:08 +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
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
jband%netscape.com
c153f122e9 adding enumeration of CLSIDs and ProgIDs using code from Robert Ginda <rginda@ix.netcom.com> 1999-08-09 05:02:25 +00:00
jband%netscape.com
d8830cee22 adding modifications to support enumeration of interfaces from Robert Ginda <rginda@ix.netcom.com> 1999-08-04 06:13:05 +00:00
dp%netscape.com
94344009c8 Landing xpcom20/21 branch. 1999-05-26 01:38:36 +00:00
beard%netscape.com
f8327c01f7 First Checked In. 1999-04-10 23:52:55 +00:00
jband%netscape.com
7b8c54ca32 making the overloaded assignment operator sig better match the usage in hopes that the ambiguous error on Sun will go away 1999-04-10 08:17:05 +00:00
jband%netscape.com
fd8376fcba added overloaded asingment operator to quiet pedantice warning 1999-04-10 06:09:54 +00:00
jband%netscape.com
52b186b884 Added support for [scriptable] flag in interface descriptor. Added [noscript]. xpconnect now checks for the [scriptable] flag. 1999-04-06 22:42:10 +00:00
jband%netscape.com
2f094e7206 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 1999-03-28 21:48:34 +00:00
jband%netscape.com
3bfd1f867e removing export of removed file 1999-03-27 08:36:20 +00:00
mccabe%netscape.com
a4aefc434d Consolidated xpt_cpp.h with xptinfo.h; removed xpt_cpp.h. Also
modified uses...
1999-03-27 08:02:15 +00:00
warren%netscape.com
9ed31cf894 Added GetMethodInfoForName 1999-03-25 07:30:47 +00:00
jband%netscape.com
4b66e49f5a 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 1999-03-23 02:23:29 +00:00
mccabe%netscape.com
44463b458c 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.
1999-03-15 05:50:11 +00:00
jband%netscape.com
95c5de89a9 made in params const, added some comments 1999-03-13 01:34:37 +00:00
mccabe%netscape.com
25ebe42e73 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.
1999-03-12 06:49:01 +00:00
jband%netscape.com
41b9e6001a get xptinfo building on Win32 again 1999-03-11 02:21:23 +00:00
mccabe%netscape.com
1a1a2d5d23 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.
1999-03-10 09:30:48 +00:00
mccabe%netscape.com
5a43e6a2dd 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.
1999-03-10 06:06:19 +00:00
mccabe%netscape.com
a7a7b4f959 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.
1999-03-10 04:26:15 +00:00
shaver%netscape.com
bf2718b64b ignore generated files 1999-03-08 21:27:03 +00:00
jband%netscape.com
aae72939cf makefile fixups to get xptinfo working on Win32. Added xptinfo.h for public dll declarations 1999-03-02 07:59:53 +00:00
mccabe%netscape.com
40181d78ce 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.
1999-03-02 05:21:31 +00:00