850 Commits

Author SHA1 Message Date
jband%netscape.com
8bb15255e9 support float and double in headers and typelibs
git-svn-id: svn://10.0.0.236/trunk@24030 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-13 01:43:19 +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
jband%netscape.com
d96fb8c360 fix assumption that interfaces don't have the poointer bit set
git-svn-id: svn://10.0.0.236/trunk@24028 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-13 01:31:48 +00:00
mccabe%netscape.com
b8deb21290 Fixed a place where I was missing an NS_RELEASE, thanks jband.
git-svn-id: svn://10.0.0.236/trunk@24019 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-13 00:56:47 +00:00
rjc%netscape.com
6e88ce0a1b Export nsComponentManager::AutoRegister
git-svn-id: svn://10.0.0.236/trunk@24008 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-12 23:47:17 +00:00
mcmullen%netscape.com
1acae3d8a9 Fixed crashing bug on solaris. Added support for mac documents directory.
git-svn-id: svn://10.0.0.236/trunk@23988 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-12 22:15:02 +00:00
mcmullen%netscape.com
0f5a09ef47 Added mac documents directory.
git-svn-id: svn://10.0.0.236/trunk@23987 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-12 22:14:08 +00:00
dp%netscape.com
963e08ef2a Descriptor Leak fixed. Thanks to bruce@cybersight.com
git-svn-id: svn://10.0.0.236/trunk@23960 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-12 19:49:31 +00:00
ramiro%netscape.com
db0ca36e35 Make it possible to prefix mozilla dlls that conflict with system dlls.
git-svn-id: svn://10.0.0.236/trunk@23935 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-12 12:43:04 +00:00
dp%netscape.com
9356d42ebe Using nsHashtable and nsProgIDKey for dll hashing
git-svn-id: svn://10.0.0.236/trunk@23930 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-12 11:25:17 +00:00
dp%netscape.com
2d294e429d using nsHashtable for dllStore.
git-svn-id: svn://10.0.0.236/trunk@23929 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-12 11:23:49 +00:00
dp%netscape.com
943c88fd8d Forcing XPCOM registry recreation
git-svn-id: svn://10.0.0.236/trunk@23920 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-12 08:53:45 +00:00
dp%netscape.com
189340f83f PC: Disabling autoregistration at initialization. It will be done by the app.
git-svn-id: svn://10.0.0.236/trunk@23919 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-12 08:52:56 +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
dp%netscape.com
5915fbf7df Unix: Autoregistration disabled at initialization. This should be done by app.
git-svn-id: svn://10.0.0.236/trunk@23801 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-12 00:05:54 +00:00
dp%netscape.com
6a616ea35a Unix: Adding MOZILLA_FIVE_HOME
git-svn-id: svn://10.0.0.236/trunk@23767 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-11 21:31:16 +00:00
warren%netscape.com
c0d9f68452 tweak
git-svn-id: svn://10.0.0.236/trunk@23696 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-11 11:01:16 +00:00
warren%netscape.com
e82363f5b8 Exporting symbols for the mac.
git-svn-id: svn://10.0.0.236/trunk@23695 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-11 10:47:54 +00:00
warren%netscape.com
14b5004bf2 Added union and intersection enumerators.
git-svn-id: svn://10.0.0.236/trunk@23690 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-11 09:56:59 +00:00
jband%netscape.com
bd370dabc0 strings are TD_PSTRING | XPT_TDP_POINTER
git-svn-id: svn://10.0.0.236/trunk@23685 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-11 08:01:02 +00:00
dp%netscape.com
50fc6ba44a creating ~/.mozilla under unix if not already there.
git-svn-id: svn://10.0.0.236/trunk@23682 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-11 07:44:23 +00:00
jband%netscape.com
498733635b interfaces are pointers and getters return retvals
git-svn-id: svn://10.0.0.236/trunk@23680 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-11 07:12:18 +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
coop%netscape.com
989ad5fb47 NOT YET PART OF SEAMONKEY:
* added improved error message for IID collision.


git-svn-id: svn://10.0.0.236/trunk@23650 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-11 02:15:53 +00:00
coop%netscape.com
80dfa8d3e2 NOT YET PART OF SEAMONKEY:
* one character fix (D'oh!) to make InterfaceTypeDescriptor indices update properly.


git-svn-id: svn://10.0.0.236/trunk@23605 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-10 23:41:04 +00:00
dp%netscape.com
7898673a73 Removing unused variable.
git-svn-id: svn://10.0.0.236/trunk@23603 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-10 23:30:25 +00:00
warren%netscape.com
e5d24a2696 Added progID version of GetService. Fixed up nsService to not be a template.
git-svn-id: svn://10.0.0.236/trunk@23597 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-10 22:53:17 +00:00
dp%netscape.com
c81e64e889 Adding error messages when loading fails.
git-svn-id: svn://10.0.0.236/trunk@23582 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-10 22:07:34 +00:00
mcmullen%netscape.com
6a5c89fa74 Fixed bustage with typo.
git-svn-id: svn://10.0.0.236/trunk@23576 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-10 21:41:43 +00:00
shaver%netscape.com
378256875c generate meaningful annotation
git-svn-id: svn://10.0.0.236/trunk@23567 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-10 21:09:01 +00:00
mcmullen%netscape.com
681a46c1c0 Added tests for size and mod date.
git-svn-id: svn://10.0.0.236/trunk@23566 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-10 21:03:53 +00:00
mcmullen%netscape.com
bdbf667fac Added GetModDate and GetFileSize. Fixed a crash with a strcmp of null.
git-svn-id: svn://10.0.0.236/trunk@23564 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-10 21:02:58 +00:00
mcmullen%netscape.com
19c53c8fda Added output streamers for int and unsigned int.
git-svn-id: svn://10.0.0.236/trunk@23563 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-10 20:56:38 +00:00
coop%netscape.com
4e2ef3ec92 NOT YET PART OF SEAMONKEY:
* first annotation indicates that resulting typelib was created by the linker.
* annotations from files being linked in are now preserved.


git-svn-id: svn://10.0.0.236/trunk@23561 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-10 20:40:17 +00:00
dougt%netscape.com
d643c0b6d4 No longer shifting windows nsFileSpec's mPath to uppercase.
Now comparing without regard to case instead on windows.
Windows nsSpecialSystemDirectory will have all uppercase mPaths.


git-svn-id: svn://10.0.0.236/trunk@23552 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-10 20:07:10 +00:00
coop%netscape.com
6db7aab3c3 NOT YET PART OF SEAMONKEY:
* xpt_dump now checks num_methods and num_constants before trying to walk the arrays.
* xpt_link now actually links. It even updates interfaces indices. Tested using all the idl files in mozilla/xpcom/idl.


git-svn-id: svn://10.0.0.236/trunk@23535 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-10 19:44:36 +00:00
mcafee%netscape.com
c89a455a05 Solaris needs newline at EOF.
git-svn-id: svn://10.0.0.236/trunk@23527 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-10 10:57:05 +00:00
mccabe%netscape.com
ea7137976d 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.
git-svn-id: svn://10.0.0.236/trunk@23525 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-10 10:36:13 +00:00
dp%netscape.com
4bcb926c07 changing to correct indent style and tabs. Beautify...
git-svn-id: svn://10.0.0.236/trunk@23523 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-10 09:53:25 +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
dp%netscape.com
0f679ff5e4 Recheckin because of loss during ComponentManager Merge
- Using Reg*Raw() interface to support component urls storage in registry.
 - Implemented recursive version of DeleteKey() so that Reg*Raw() interface could be used

 - Fixing memory corruption; access of deleted dll object


git-svn-id: svn://10.0.0.236/trunk@23520 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-10 09:16:28 +00:00
mccabe%netscape.com
9e433b6fbe Not part of seamonkey.
Added a comment saying preconditions the tests actually needs to
succeed.  (also simplified these some.)


git-svn-id: svn://10.0.0.236/trunk@23515 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-10 08:22:17 +00:00
jband%netscape.com
9eb814c93e was using the same iid for 2 interfaces - synced nsIShutdownListener iid with the iid from the .h file
git-svn-id: svn://10.0.0.236/trunk@23512 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-10 08:02:23 +00:00
waterson%netscape.com
f933a42a97 Change PATH_MAX to MAXPATHLEN to compile on Solaris.
git-svn-id: svn://10.0.0.236/trunk@23511 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-10 07:21:09 +00:00
mccabe%netscape.com
c4fef7da6b Not part of seamonkey.
Fixed bustage due to improper use of DEBUG_somehacker.


git-svn-id: svn://10.0.0.236/trunk@23508 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-10 06:59:53 +00:00
jband%netscape.com
c118498478 making it compile on Win32
git-svn-id: svn://10.0.0.236/trunk@23506 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-10 06:36:03 +00:00
waterson%netscape.com
195f0c9dd4 Added OS_CurrentProcessDirectory test.
git-svn-id: svn://10.0.0.236/trunk@23502 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-10 06:08:06 +00:00
waterson%netscape.com
0f472a8518 Added OS_CurrentProcessDirectory implementation. Thanks to RJC for Mac. Unix is still bogus: uses getcwd().
git-svn-id: svn://10.0.0.236/trunk@23501 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-10 06:07:21 +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