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

927 Коммитов

Автор SHA1 Сообщение Дата
warren%netscape.com 5b82065f09 Added nsUnicharKey for nsHashtables. 1999-03-19 09:02:43 +00:00
rickg%netscape.com ac8a03b6c1 removed static vars 1999-03-19 08:47:20 +00:00
warren%netscape.com a4fb233916 Fix for broken linux compiler. 1999-03-19 06:18:08 +00:00
rpotts%netscape.com 13204dc51d fix for crash in bug #2991... We still need to figure out why the EventQueue is not being returned properly on the Mac. 1999-03-19 05:54:17 +00:00
warren%netscape.com 6656b2284f Added nsHashtable::Exists. Renamed nsProgIDKey to nsCStringKey (what it is). 1999-03-19 05:51:49 +00:00
warren%netscape.com 8190c412bc Added NS_WITH_SERVICE1 macro. 1999-03-19 05:48:49 +00:00
warren%netscape.com a7c5dd071b Added missing flush. 1999-03-19 05:42:20 +00:00
jband%netscape.com 6d4eb25402 fail gracefully on badly formed uuid 1999-03-19 04:54:47 +00:00
mcafee%netscape.com 0ab3fe8ca1 Solaris needs prototype for PR_GetEnv(). 1999-03-18 22:41:24 +00:00
mcafee%netscape.com 94137691ac Switch to PR_GetEnv(), warn once if MOZILLA_FIVE_HOME is not set. 1999-03-18 22:38:25 +00:00
leaf%mozilla.org 0a0f5ac00f Landing nspr library name change, and plevent function call change. 1999-03-17 21:32:03 +00:00
mcmullen%netscape.com 296a662cd4 Fixes for bugs #3779,#2784. Member initialization of nsFileURL for windows compiler, escaping of url when made from path or spec, add file:// on macintosh when making a url from a spec. [bugs introduced when, for dp, I changed nsFilePath not to escape]. a=chofmann. 1999-03-16 19:12:51 +00:00
dp%netscape.com bdd6913861 Forcing xpcom registry recreation after moving appcores.dll from bin/components to bin/ since mailnew links with it 1999-03-16 01:33:46 +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 e36d4deb4b added octet for unsigned 8bit, made float and double work, added a Win32 batfile to build against the right MS runtime dll, added hacked temporary support for nsID expresed as nsIIDRef, added GOTO support for iid_is being native rather than an interface type; i.e. for QueryInterface style sig where a void* is used as the out type 1999-03-14 02:59:43 +00:00
jband%netscape.com 7c7d649979 more to fix assumption that interfaces don't have the pointer bit set 1999-03-13 09:09:26 +00:00
dp%netscape.com 86620360ae Removing unix hack of translation ./libabc.so to libabc.so to prevent multiple loads. This wont be required as we load all dlls absolutely 1999-03-13 08:09:54 +00:00
mcmullen%netscape.com a06c02057b Fix a parameter type. 1999-03-13 07:07:33 +00:00
mcmullen%netscape.com 3bb07d2871 Upgrades, bugfixes (including nsFilePath no longer hex escaped). Features (including DiskSpaceAvailable) 1999-03-13 06:38:57 +00:00
jband%netscape.com a15fbddb0e support float and double in headers and typelibs 1999-03-13 01:43:19 +00:00
jband%netscape.com 2631c143c9 made in params const, added some comments 1999-03-13 01:34:37 +00:00
jband%netscape.com 0e63be40cb fix assumption that interfaces don't have the poointer bit set 1999-03-13 01:31:48 +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
rjc%netscape.com 31892c21d1 Export nsComponentManager::AutoRegister 1999-03-12 23:47:17 +00:00
mcmullen%netscape.com 088a3ba59a Fixed crashing bug on solaris. Added support for mac documents directory. 1999-03-12 22:15:02 +00:00
mcmullen%netscape.com f9e9f1030d Added mac documents directory. 1999-03-12 22:14:08 +00:00
dp%netscape.com 4a0762723e Descriptor Leak fixed. Thanks to bruce@cybersight.com 1999-03-12 19:49:31 +00:00
ramiro%netscape.com 846235af9b Make it possible to prefix mozilla dlls that conflict with system dlls. 1999-03-12 12:43:04 +00:00
dp%netscape.com 2381e84b6d Using nsHashtable and nsProgIDKey for dll hashing 1999-03-12 11:25:17 +00:00
dp%netscape.com 84607889b9 using nsHashtable for dllStore. 1999-03-12 11:23:49 +00:00
dp%netscape.com 841ac2eeee Forcing XPCOM registry recreation 1999-03-12 08:53:45 +00:00
dp%netscape.com 13097f8d48 PC: Disabling autoregistration at initialization. It will be done by the app. 1999-03-12 08:52:56 +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
dp%netscape.com b5b0768068 Unix: Autoregistration disabled at initialization. This should be done by app. 1999-03-12 00:05:54 +00:00
dp%netscape.com aba76740b8 Unix: Adding MOZILLA_FIVE_HOME 1999-03-11 21:31:16 +00:00
warren%netscape.com f5b0e48292 tweak 1999-03-11 11:01:16 +00:00
warren%netscape.com 1ca883bda7 Exporting symbols for the mac. 1999-03-11 10:47:54 +00:00
warren%netscape.com 5f5aba4d61 Added union and intersection enumerators. 1999-03-11 09:56:59 +00:00
jband%netscape.com 293ce3d801 strings are TD_PSTRING | XPT_TDP_POINTER 1999-03-11 08:01:02 +00:00
dp%netscape.com e4d775b1e6 creating ~/.mozilla under unix if not already there. 1999-03-11 07:44:23 +00:00
jband%netscape.com 38a8cd5adb interfaces are pointers and getters return retvals 1999-03-11 07:12:18 +00:00
jband%netscape.com d438675ce9 get xptinfo building on Win32 again 1999-03-11 02:21:23 +00:00
coop%netscape.com d2776c64fb NOT YET PART OF SEAMONKEY:
* added improved error message for IID collision.
1999-03-11 02:15:53 +00:00
coop%netscape.com 8abd4c05be NOT YET PART OF SEAMONKEY:
* one character fix (D'oh!) to make InterfaceTypeDescriptor indices update properly.
1999-03-10 23:41:04 +00:00
dp%netscape.com 492cf01667 Removing unused variable. 1999-03-10 23:30:25 +00:00
warren%netscape.com b537db91f8 Added progID version of GetService. Fixed up nsService to not be a template. 1999-03-10 22:53:17 +00:00
dp%netscape.com 3fad618644 Adding error messages when loading fails. 1999-03-10 22:07:34 +00:00
mcmullen%netscape.com c83b5e5810 Fixed bustage with typo. 1999-03-10 21:41:43 +00:00
shaver%netscape.com 1221b21a69 generate meaningful annotation 1999-03-10 21:09:01 +00:00
mcmullen%netscape.com edd291e578 Added tests for size and mod date. 1999-03-10 21:03:53 +00:00
mcmullen%netscape.com eb40f15d6f Added GetModDate and GetFileSize. Fixed a crash with a strcmp of null. 1999-03-10 21:02:58 +00:00
mcmullen%netscape.com 4dbdbee851 Added output streamers for int and unsigned int. 1999-03-10 20:56:38 +00:00
coop%netscape.com 61070aeb1f 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.
1999-03-10 20:40:17 +00:00
dougt%netscape.com b68b584c5b 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.
1999-03-10 20:07:10 +00:00
coop%netscape.com 379db48a95 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.
1999-03-10 19:44:36 +00:00
mcafee%netscape.com 000b5164e8 Solaris needs newline at EOF. 1999-03-10 10:57:05 +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
dp%netscape.com 76d050c5d7 changing to correct indent style and tabs. Beautify... 1999-03-10 09:53:25 +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
dp%netscape.com 7eb59f3dda 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
1999-03-10 09:16:28 +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
jband%netscape.com e338836195 was using the same iid for 2 interfaces - synced nsIShutdownListener iid with the iid from the .h file 1999-03-10 08:02:23 +00:00
waterson%netscape.com 652441cf06 Change PATH_MAX to MAXPATHLEN to compile on Solaris. 1999-03-10 07:21:09 +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
waterson%netscape.com 433ca28660 Added OS_CurrentProcessDirectory test. 1999-03-10 06:08:06 +00:00
waterson%netscape.com 928cc7249f Added OS_CurrentProcessDirectory implementation. Thanks to RJC for Mac. Unix is still bogus: uses getcwd(). 1999-03-10 06:07:21 +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
mcmullen%netscape.com eab093f4d5 Change assignment operator not to create dirs. 1999-03-10 02:50:16 +00:00
alecf%netscape.com 41626e9533 export nsID.idl to get native types 1999-03-10 01:13:27 +00:00
alecf%netscape.com 770326593d purify fixes from bruce@cybersight.com - free memory the right way 1999-03-10 00:32:44 +00:00
mcmullen%netscape.com 615dbada53 Turning on dougt's special system directory stuff, and adding it to the Macintosh build. Fixed spurious leading slash on getting leaf name (win and unix). Adding dougt's equality test operator, too. Adding dougt's test code for all the above. 1999-03-09 22:33:36 +00:00
akkana%netscape.com 98c2a5c446 fixing merge problem of windows not looking for components in components directory - dp & akkana 1999-03-09 22:18:32 +00:00
shaver%netscape.com 9a39a6e839 #include "nsID.idl" to get the nsID/nsIID/nsCID defines in other IDL, not just C++ 1999-03-09 21:50:55 +00:00
dp%netscape.com ac18aec366 registry version to 0.40 for component manager change 1999-03-09 21:31:33 +00:00
shaver%netscape.com 0564d92d66 Handle nsID, nsIID and nsCID via a custom string-compare hack. (Ugly, but we
need 0.6.3 for a better fix, and this'll do for now.)
When sorting IDEs, sort entries with identical IIDs by namespace::name.
1999-03-09 19:59:42 +00:00
ramiro%netscape.com 7e12a4b568 Use the macro on all platforms. Thanks to pierre for helping me make sure
it doesnt break the mac.  I verified that it works on unix and windows.
1999-03-09 19:19:02 +00:00
warren%netscape.com 49a46fdfe9 Include problem. 1999-03-09 14:44:24 +00:00
warren%netscape.com 3406dc1047 Implemented virtuals in cpp file to try to avoid linux pedantic error. 1999-03-09 14:09:11 +00:00
warren%netscape.com bdcaa63028 Backed out the nsService template stuff. 1999-03-09 11:49:41 +00:00
warren%netscape.com db05d0cffa Commented out template because linux isn't happy with it. 1999-03-09 11:12:23 +00:00
warren%netscape.com 22907e4a56 Fixed exports for nsRepository -> nsComponentManager 1999-03-09 10:51:12 +00:00
warren%netscape.com 273a5f362a Fixed path separator. 1999-03-09 10:20:01 +00:00
warren%netscape.com 1a48a551dd Trying a hack to see if I can make linux happy. 1999-03-09 10:15:54 +00:00
warren%netscape.com 84ee98f95d Workaround for sun386i breakage. 1999-03-09 10:07:02 +00:00
warren%netscape.com 9e9b6f5893 Added nsComponentManager.cpp 1999-03-09 09:47:12 +00:00
warren%netscape.com c50687b845 nsRepository -> nsIComponentManager changes. 1999-03-09 09:44:27 +00:00
shaver%netscape.com b8bfa0940a turn off more debugging noise and prepare for 0.6.2's forward handling 1999-03-09 08:23:00 +00:00
mccabe%netscape.com 48f53abe7a Chop xptinfo from the list of sub-Makes built by libxpt during coding
thrash.
1999-03-09 04:10:30 +00:00
coop%netscape.com 8f18c39394 NOT YET PART OF SEAMONKEY:
* initial pass at handling the update of interface indices.
1999-03-09 02:51:22 +00:00
brendan%netscape.com 28d612e522 Must use defined XP_UNIX, not XP_UNIX, as #elif condition. 1999-03-09 02:46:23 +00:00
alecf%netscape.com e48b3faaa6 patches from cmanske@netscape.com - use NS_IMETHODIMP* macros instead of declaring nsrefcnt/etc directly 1999-03-08 21:34:16 +00:00
shaver%netscape.com a913fc8d8c ignore generated files 1999-03-08 21:27:03 +00:00
shaver%netscape.com 8a80ca4f10 Turn off debugging noise for myself.
Parse IIDs, and handle the unspecified case (= 0).
Sort IDE block like a good boy (all hail qsort).
Follow typedefs to make the right thing happen.
Hide [notxpcom] methods, and don't munge their signatures with _retval, etc.
1999-03-08 21:22:29 +00:00
coop%netscape.com e7e101fcc1 NOT YET PART OF SEAMONKEY:
* linker now sorts based on IIDs
* xpt_dump no longer complains about md->result if it is of the correct retval type
1999-03-08 21:13:58 +00:00
shaver%netscape.com fcc5df1473 display method flags, handle bogus indices 1999-03-08 21:11:08 +00:00
dp%netscape.com 2adfc1bd23 Using Raw registry interface so that component urls and filename can be stored without transformation of / and = 1999-03-08 20:40:32 +00:00
shaver%netscape.com bc2cbd6fe5 Make params include the name of the interface referenced. 1999-03-08 20:33:35 +00:00
coop%netscape.com faab5fe4e4 NOT YET PART OF SEAMONKEY:
* changing references to interfaces (within structs) to be indices rather than pointers
* updated xpt_dump and xpt_link code to reflect above change
1999-03-08 19:47:09 +00:00