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

52 Коммитов

Автор SHA1 Сообщение Дата
beard%netscape.com 3deac81d43 renamed XPTC_InvokeByIndex to _XPTC_InvokeByIndex, to avoid having to have a .exp file for libxpt. #pragma export is used in xptcinvoke_mac.cpp to export XPTC_InvokeByIndex. 1999-04-11 00:31:13 +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 5b6af6f244 convert fprintf calls to TRACE macros so they can be more easily turned on and off 1999-04-10 06:11:55 +00:00
jband%netscape.com fd8376fcba added overloaded asingment operator to quiet pedantice warning 1999-04-10 06:09:54 +00:00
rogerl%netscape.com 20c87baa91 # NOT A PART OF SEAMONKEY
New.
1999-04-08 16:54:17 +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 01475d8a25 fixed typo so no extra .pdb files get left behind 1999-04-06 00:10:10 +00:00
jband%netscape.com 25cf140c82 prepare makefiles for building libxpt and xpidl before xpcom/public and xpcom/src. Fix warnings and errors in libxpt exposed in Mac port 1999-04-04 03:09:12 +00:00
beard%netscape.com 8004230b40 XP_MAC doesn't have <sys/stat.h>, <stat.h> instead. 1999-04-04 01:51:00 +00:00
jband%netscape.com 462a32f671 fixed typo in doc 1999-04-02 19:51:05 +00:00
jband%netscape.com 7efd72beb7 added porting guide and README docs 1999-04-02 06:15:09 +00:00
rogerl%netscape.com 0378d86caf fixed .global label. 1999-04-02 01:07:59 +00:00
rogerl%netscape.com 58d0a91ecc New. (And, as yet, unbuilt & untested) 1999-04-02 00:47:17 +00:00
briano%netscape.com a0880a3146 Only descend into tests if ENABLE_TESTS is set. 1999-03-31 22:58:07 +00:00
briano%netscape.com e6c0eba0bb Only descend into the tests directory if ENABLE_TESTS is set. 1999-03-30 03:07:23 +00:00
jband%netscape.com a2dfafc766 fix incorrect title comment (copied from another file) 1999-03-29 04:35:35 +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
jband%netscape.com 1fe94e3b3f removing (yet another!) misplaced semi-colon 1999-03-27 06:20:40 +00:00
jband%netscape.com 4d4fa94952 removing misplaced semi-colonsthat break some platforms 1999-03-27 01:53:40 +00:00
mcafee%netscape.com 43d656ab19 Ignore generated files. 1999-03-27 00:08:06 +00:00
briano%netscape.com 8394a60939 Fixed the bug that was assuming Linux==x86 (only). 1999-03-26 23:06:38 +00:00
danm%netscape.com 9d90b52b72 removing glowcode. a:jband 1999-03-26 02:37:22 +00:00
mccabe%netscape.com 4d4e61a4dd Move xptinfo, xptcall from export phase (erroneously copied from libxpt Makefile.in) to libs and back out previous tree patch. 1999-03-25 10:28:39 +00:00
jband%netscape.com e0c20dd684 fix build bustage due to use of nscore.h before it is exported - I don't understand why this stuff is being compiled in the export phase. We can that later. 1999-03-25 09:05:28 +00:00
mccabe%netscape.com 0d46aaa627 Adding libxpt and xpconnect to the build. 1999-03-25 07:50:11 +00:00
warren%netscape.com 9ed31cf894 Added GetMethodInfoForName 1999-03-25 07:30:47 +00:00
jband%netscape.com 1b72836b93 use nspr type 1999-03-25 03:37:40 +00:00
jband%netscape.com 9a923d2130 add implementation files for unsupported platforms to allow clean build on all platforms even though we'll have failure at runtime on unsupported platforms 1999-03-23 22:16:14 +00:00
jband%netscape.com 9adc279405 fix test Makefile.in 1999-03-23 07:19:15 +00:00
jband%netscape.com de37f0faf5 fix test Makefile.in 1999-03-23 07:16:53 +00:00
jband%netscape.com 95bae7cba5 fix filename 1999-03-23 07:04:52 +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
leaf%mozilla.org 4ad9f70d5d Landing nspr library name change, and plevent function call change. 1999-03-17 21:32:03 +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 1f415231ec Fixed a place where I was missing an NS_RELEASE, thanks jband. 1999-03-13 00:56:47 +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 b625b6aa37 Added tests of getting info assoc'd with params to TestInterfaceInfo.cpp, which uncovered an off-by-one problem due to magic typelib offsets for nsXPTParamInfo. Which makes me wonder if we shouldn't have just said #define XPT_INDEX_NO_PARENT 0xFFFF. 1999-03-10 10:36:13 +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 c95fc2f4b8 Not part of seamonkey.
Added a comment saying preconditions the tests actually needs to
succeed.  (also simplified these some.)
1999-03-10 08:22:17 +00:00
mccabe%netscape.com 4f6e0a7c6e Not part of seamonkey.
Fixed bustage due to improper use of DEBUG_somehacker.
1999-03-10 06:59:53 +00:00
jband%netscape.com 122488c723 making it compile on Win32 1999-03-10 06:36:03 +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