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

228 Коммитов

Автор SHA1 Сообщение Дата
slamm%netscape.com 5c39a7277d Fix build warnings. 1999-09-16 00:15:30 +00:00
cls%seawood.org ab47371342 Renamed function arguments to avoid warnings about shadowing member variables 1999-09-12 12:08:56 +00:00
jband%netscape.com f673b4fa59 add arrays to xpidl and typelibs. got rid of vararg support scheme 1999-09-11 05:20:39 +00:00
shaver%netscape.com 53277f4711 convert to CreateInstanceFromProgID 1999-09-05 06:27:42 +00:00
jband%netscape.com 3e92b65804 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 cc2825cbe0 Remove IGNORE_MANIFEST=1. It doesn't do anything and it confuses people. 1999-09-01 00:54:34 +00:00
scc%netscape.com 0454213f91 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
jband%netscape.com 3854fff49d 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
waterson%netscape.com 8b2cc3fbdc Bug 11667. Fix unsigned/signed mismatch. 1999-08-12 08:49:44 +00:00
jband%netscape.com 3f75ebc9ff adding enumeration of CLSIDs and ProgIDs using code from Robert Ginda <rginda@ix.netcom.com> 1999-08-09 05:02:25 +00:00
mccabe%netscape.com c3567729e0 Fix lxr-visible file description comments. 1999-08-07 09:45:12 +00:00
mccabe%netscape.com e5300a345a Fixes for 'warning: unsigned value < 0 is always 0' warnings. 1999-08-07 09:32:45 +00:00
jband%netscape.com acdcdf2c30 adding modifications to support enumeration of interfaces from Robert Ginda <rginda@ix.netcom.com> 1999-08-04 06:13:05 +00:00
sfraser%netscape.com 5e4da3ca9e Change ResolveAlias to ResolveSymlink. dougt should have done this. 1999-07-27 23:05:53 +00:00
dougt%netscape.com 69178099d5 Fix for bug 10177 and 10041. 1999-07-26 22:09:42 +00:00
mccabe%netscape.com 1eae811c1a Warning fix. 1999-07-22 10:48:05 +00:00
jband%netscape.com d475118c2a fix for bug 10033 - failing to resolve at runtime interfaces that were forward declared in one xpt file and resolved in another xpt file. r: mccabe 1999-07-17 03:10:31 +00:00
briano%netscape.com f89cb1f1c7 Workaround for platforms that don't have --whole-archive (or equivalents). 1999-07-14 22:58:39 +00:00
dveditz%netscape.com 4c4f269dd4 nakefile cleanups 1999-07-02 13:42:17 +00:00
dp%netscape.com 4bb9484d17 Removing old RegisterComponent calls as these are inbuilt into XPCOM 1999-07-02 03:50:44 +00:00
jband%netscape.com 9475c8846a doing my part for bug 8227 1999-06-29 21:15:31 +00:00
briano%netscape.com e9e302b454 Handle the (Unix) platform-specific DLL naming conventions properly. 1999-06-04 22:17:30 +00:00
warren%netscape.com 447b069ddb IDLized stream interfaces. Required rename of overloaded Write method (now WriteFrom). 1999-06-03 21:50:47 +00:00
waterson%netscape.com 6d180f5576 Replace NS_IS_ERROR() with NS_FAILED(): NS_IS_ERROR() is buggy and redundant. 1999-06-03 20:25:15 +00:00
beard%netscape.com d3f67634af added prlog.h, prprf.h since since xpt_xdr.h no longer includes nspr headers. 1999-05-26 23:20:22 +00:00
dp%netscape.com 84180c0ec1 reversing previous change 'cause I added the missing to xpcom/build/dlldeps.cpp
and things work.
1999-05-26 04:43:01 +00:00
dp%netscape.com 01f8b2f7c8 I dont have a clue why I need this. If I dont add the xptinfo.lib
to the link line, I get a undefined for _XPTI_GetInterfaceInfoManager

Some windows dude should fix this.
1999-05-26 04:16:23 +00:00
dp%netscape.com 0443b20e33 Landing xpcom20/21 branch. 1999-05-26 01:38:36 +00:00
dp%netscape.com f5c797c733 Rolling over from initial XPCOM 2.0 changes 1999-05-18 09:19:05 +00:00
mcafee%netscape.com 1e9ab980a4 Class nsprPath has been renamed to nsNSPRPath; straggler references were being converted with a typedef, this was confusing Solaris, so I'm converting all nsprPath references to the new name, hope that's Ok. 1999-05-10 05:34:26 +00:00
waterson%netscape.com 0dd20272b3 Don't set record->typelibRecord until we know that we're actually indexifying the typelib in which the interface lives. 1999-05-04 03:45:55 +00:00
waterson%netscape.com 4511d6651c Use nsFileSpec and nsDirectoryIterator to make the implementation fully XP. 1999-04-27 17:49:14 +00:00
bruce%cybersight.com 489d86fc3a Fix an array bounds write when writing to this->interfaceRecords[size] in the nsTypelibRecord constructor. 1999-04-27 04:06:33 +00:00
bruce%cybersight.com 9aadf8d5c3 Fix build bustage for this. 1999-04-27 03:14:57 +00:00
waterson%netscape.com 82ef7736c3 Whoops. Don't force linkage: build ordering problem. 1999-04-26 23:59:44 +00:00
waterson%netscape.com 7c46b25533 Add linker directives to ensure all the libs we need get loaded. 1999-04-26 23:30:59 +00:00
waterson%netscape.com 8d0ba7fab2 Use nsSpecialSystemFileSpec on Unix to get components dir. 1999-04-26 23:30:40 +00:00
jband%netscape.com b6050d0bd1 ifdef'ing out a much more likely cause for the Mac bustage 1999-04-26 05:50:12 +00:00
jband%netscape.com f30475caf2 changing a member name in hopes that this has something to do with the Mac bustage. I can't see what else might be wrong. Pure voodoo! 1999-04-26 05:40:18 +00:00
jband%netscape.com fa205903de Make xptinfo fail more gracefully. Fix a couple of warnings. Get rid of XPTDIR env var hack for XP_PC (other platforms coming soon) 1999-04-26 04:23:29 +00:00
mccabe%netscape.com 19c68fb53b Backed out my previous checkin.
I realized that:
- we build on more than one build system.
- I'm too tired to fix it.
1999-04-23 09:20:36 +00:00
mccabe%netscape.com ab6924a6b7 Removed the XPTDIR environment variable requirement; the xpt typelib directory is now constructed by adding 'components' to the executable directory. This adds an -lraptorbase requirement to linking against xptinfo. 1999-04-23 09:10:09 +00:00
beard%netscape.com 2c5a4a4edf First Checked In. 1999-04-10 23:52:55 +00:00
jband%netscape.com 4e0b123607 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 3d06b7f693 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 259385fc15 added overloaded asingment operator to quiet pedantice warning 1999-04-10 06:09:54 +00:00
jband%netscape.com 993ff933a8 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 b0859a052d fixed typo so no extra .pdb files get left behind 1999-04-06 00:10:10 +00:00
jband%netscape.com 5c93ff48e3 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 4da9d22388 XP_MAC doesn't have <sys/stat.h>, <stat.h> instead. 1999-04-04 01:51:00 +00:00
briano%netscape.com a28357faea Only descend into tests if ENABLE_TESTS is set. 1999-03-31 22:58:07 +00:00
jband%netscape.com 7933eabf5f 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 9b05e417fe removing export of removed file 1999-03-27 08:36:20 +00:00
mccabe%netscape.com 34f8d2da5f 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 a8dd8e8500 removing misplaced semi-colonsthat break some platforms 1999-03-27 01:53:40 +00:00
danm%netscape.com 17cffb116d removing glowcode. a:jband 1999-03-26 02:37:22 +00:00
mccabe%netscape.com c17ac10f7c 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 0a13a0e73d 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 0bc66ee504 Adding libxpt and xpconnect to the build. 1999-03-25 07:50:11 +00:00
warren%netscape.com 17ad42464c Added GetMethodInfoForName 1999-03-25 07:30:47 +00:00
jband%netscape.com fdea92e7c5 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 0a0f5ac00f Landing nspr library name change, and plevent function call change. 1999-03-17 21:32:03 +00:00
mccabe%netscape.com 4bde4a29d1 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 2631c143c9 made in params const, added some comments 1999-03-13 01:34:37 +00:00
mccabe%netscape.com 666a5c28c9 Fixed a place where I was missing an NS_RELEASE, thanks jband. 1999-03-13 00:56:47 +00:00
mccabe%netscape.com 519a1ba0fa 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 d438675ce9 get xptinfo building on Win32 again 1999-03-11 02:21:23 +00:00
mccabe%netscape.com 6b98fefab2 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 287b033f8f 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 fbb61946dc 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 9a7e3f4ae7 Not part of seamonkey.
Fixed bustage due to improper use of DEBUG_somehacker.
1999-03-10 06:59:53 +00:00
jband%netscape.com f9b86c3014 making it compile on Win32 1999-03-10 06:36:03 +00:00
mccabe%netscape.com 6a16062360 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 33190c2591 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 a913fc8d8c ignore generated files 1999-03-08 21:27:03 +00:00
jband%netscape.com 8165a55acc 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 5625b110db Not yet part of Seamonkey.
Changed from using malloc to (much less, but still slightly) hacked
nsIAllocator service.
1999-03-02 05:38:27 +00:00
mccabe%netscape.com 5f572e6d7e 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