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

1044 Коммитов

Автор SHA1 Сообщение Дата
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
dp%netscape.com d56049e04f One more point where load fail is detected. Adding error message 1999-03-26 18:49:46 +00:00
dp%netscape.com e421ba61c2 Showing a error message when lib loading fails. 1999-03-26 18:23:04 +00:00
danm%netscape.com 9d90b52b72 removing glowcode. a:jband 1999-03-26 02:37:22 +00:00
ftang%netscape.com 5fc6e9fb4c take out wrong assertion, we should do QueryInterface to both entry->mService and service with the sand IID and them compare them . approved by warren 1999-03-26 00:49:06 +00:00
mccabe%netscape.com 4450173143 Move xptinfo, xptcall from export phase (erroneously copied from libxpt Makefile.in) to libs and back out previous temporary fix.
Finishing checkin.  Hopefully all is OK.
1999-03-25 10:35:19 +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
dp%netscape.com b29c40cc38 Updated tasks 1999-03-25 09:20:05 +00:00
jband%netscape.com 2ab10ac204 backout building of libxpt on Unix 1999-03-25 09:17:02 +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
warren%netscape.com 1d640288fd Hushed up stupid warnings on Windows. 1999-03-25 07:29:29 +00:00
jband%netscape.com e839b9739f add libxpt to the build on win32 1999-03-25 03:38:39 +00:00
jband%netscape.com 1b72836b93 use nspr type 1999-03-25 03:37:40 +00:00
jband%netscape.com 843e4d0212 added support for namespace attribute of interface 1999-03-25 03:24:32 +00:00
sspitzer%netscape.com 1797b45114 removed aErrorCode from the comment.
aErrorCode is no longer a parameter to Read()
1999-03-25 03:00:04 +00:00
rickg%netscape.com dd619c3450 any fix for entities 1999-03-25 01:27:27 +00:00
jdunn%netscape.com 93e4488a2d backing out changes, because the tree was closed - doh 1999-03-24 21:55:53 +00:00
jdunn%netscape.com 26bcb3a653 Fix compiler errors on AIX
Approved by mcmullen@netscape.com
1999-03-24 21:38:44 +00:00
sfraser%netscape.com c9dfe1ee12 Fix for 4224 -- Mac crash on startup in registry code. sfraser & dp, approved sar. 1999-03-24 19:55:38 +00:00
dp%netscape.com 64050cd482 Changing symbol name of nsRegistry_GetFactory -> NS_RegistryGetFactory 1999-03-24 00:48:55 +00:00
warren%netscape.com fc4196f07a Added ProgID versions of RegisterService and UnregisterService. 1999-03-24 00:40:29 +00:00
warren%netscape.com 4de9f8f9af Fixed NS_RegistryGetFactory breakage. 1999-03-24 00:38:27 +00:00
dp%netscape.com b900869c23 InitXPCOM() : For a defined initialization sequence of xpcom global objects and components. 1999-03-23 23:28:32 +00:00
waterson%netscape.com d914f058e8 Made the nsCStringKey class NS_COM so that it could be exported across DLLs. 1999-03-23 23:12:35 +00:00
dp%netscape.com d91f32f0f5 Adding PROGID and CLASSNAME to the header.
Adding GetIID()
1999-03-23 23:00:45 +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
scc%netscape.com a3aecb2482 inlining the work of |StartAssigment| reduces |nsCOMPtr| overhead on windows. 1999-03-23 20:35:49 +00:00
dp%netscape.com 50d21bf2f1 Changed Nick's email address 1999-03-23 20:11:36 +00:00
rickg%netscape.com 61a70a0c96 removed linux warnings 1999-03-23 08:47:54 +00:00
dp%netscape.com 549d8873d5 registry added to faq 1999-03-23 08:04:18 +00:00
rickg%netscape.com eb7f160063 added recycler to nsString2 1999-03-23 07:33:10 +00:00
dp%netscape.com aa1e78587a XPCOM Code FAQ. Initial version. 1999-03-23 07:27:30 +00:00
rickg%netscape.com a313d5394a fixed bug in nsString; added recycler to nsString2 1999-03-23 07:26:27 +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
dp%netscape.com f9701e6d63 Updated new tasks 1999-03-23 02:06:31 +00:00
dp%netscape.com 4067ee93ea Updated new tasks 1999-03-23 01:59:35 +00:00
dp%netscape.com b111f58db1 Todo list for xpcom. Initial version 1999-03-23 01:53:31 +00:00
waterson%netscape.com ac209c730f Initial revision. Not currently in the build. 1999-03-23 01:46:44 +00:00
waterson%netscape.com 58442e8477 Fixed some syntax errors that I found when I actually tried to compile. 1999-03-23 01:46:12 +00:00
waterson%netscape.com 86604a8b50 Added an Init() method to allow the creator to specify an alternate
character size for the internal representation.
1999-03-23 01:29:16 +00:00
waterson%netscape.com 7c8125c3cc Added nsIString interface. 1999-03-23 00:43:54 +00:00
rickg%netscape.com 0ab7547cf9 removed unsightly warnings from string classes 1999-03-23 00:28:36 +00:00
rickg%netscape.com bf82500ce5 fixed link error 1999-03-22 22:26:17 +00:00
rickg%netscape.com b9efb47ef0 fixed nsString2 build problem 1999-03-22 22:03:14 +00:00
dcone%netscape.com 9722af1758 fixed small mac bug 1999-03-22 21:52:57 +00:00
dcone%netscape.com 5107ff368a Fixed small mac bug 1999-03-22 21:52:39 +00:00
bienvenu%netscape.com 46d901db87 fix problem with SetLeafName r+a=mcmullen 1999-03-22 19:15:30 +00:00
rickg%netscape.com f601e29751 landing nsString2 1999-03-22 09:54:46 +00:00
rickg%netscape.com e26a3d2825 prep work to land nsString2 1999-03-22 08:29:26 +00:00
dp%netscape.com 13372716ec Patch for unsigned vs signed warnings. Thanks to <bruce@cybersight.com> 1999-03-21 19:26:32 +00:00
pavlov%pavlov.net 422db61565 add a cast to fix build problems on the ports tinderboxes. 1999-03-21 15:42:44 +00:00
dougt%netscape.com 8929a4a930 Fixing unix breakage. 1999-03-21 06:57:56 +00:00
dougt%netscape.com aae2baf3ab Now adjusting the nsFileSpec after a Move().
Also fixing a bug with Rename().  Now it should successfully take
partial pathnames on Unix and Windows.
1999-03-21 06:22:45 +00:00
alecf%netscape.com 5ad7970d08 oops, back out my old patch - caused more harm than good 1999-03-20 02:41:27 +00:00
alecf%netscape.com 8f120bbb86 fix newline and end of file problem 1999-03-20 02:34:54 +00:00
alecf%netscape.com c9eb80041f there is no header file on unix that actually includes this path. wierd. 1999-03-20 02:34:31 +00:00
mcmullen%netscape.com 1e294da835 FIxing another unix problem. 1999-03-20 01:13:35 +00:00
mcmullen%netscape.com 7e8e0f5edf Fix unix bustage. 1999-03-20 00:13:08 +00:00
mcmullen%netscape.com fb1366b389 Bugs #3997, 3934 1999-03-19 23:09:39 +00:00
warren%netscape.com 87ef6a89de Backed out nsUnicharKey -- couldn't get it to build with -pedantic linux. 1999-03-19 10:27:41 +00:00
warren%netscape.com a6fb69b832 Attempt to fix pendantic breakage. 1999-03-19 09:46:09 +00:00
warren%netscape.com 27f47bf2ac Added nsUnicharKey for nsHashtables. 1999-03-19 09:02:43 +00:00
rickg%netscape.com 063da77aca removed static vars 1999-03-19 08:47:20 +00:00
warren%netscape.com 2d6d7aa600 Fix for broken linux compiler. 1999-03-19 06:18:08 +00:00
rpotts%netscape.com 2de3a1dc1e 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 a1de56ad0d Added nsHashtable::Exists. Renamed nsProgIDKey to nsCStringKey (what it is). 1999-03-19 05:51:49 +00:00
warren%netscape.com f169d7579e Added NS_WITH_SERVICE1 macro. 1999-03-19 05:48:49 +00:00
warren%netscape.com e2ae834619 Added missing flush. 1999-03-19 05:42:20 +00:00
jband%netscape.com 42c71b1afc fail gracefully on badly formed uuid 1999-03-19 04:54:47 +00:00
mcafee%netscape.com a162c08245 Solaris needs prototype for PR_GetEnv(). 1999-03-18 22:41:24 +00:00
mcafee%netscape.com 45222c3ee8 Switch to PR_GetEnv(), warn once if MOZILLA_FIVE_HOME is not set. 1999-03-18 22:38:25 +00:00
leaf%mozilla.org 4ad9f70d5d Landing nspr library name change, and plevent function call change. 1999-03-17 21:32:03 +00:00
mcmullen%netscape.com 40c246f552 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 f40fa2de73 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 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 c7d0c3e048 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 a6e22fd8aa more to fix assumption that interfaces don't have the pointer bit set 1999-03-13 09:09:26 +00:00
dp%netscape.com 3bd88c9bdf 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 e4f00591a3 Fix a parameter type. 1999-03-13 07:07:33 +00:00
mcmullen%netscape.com 6fcc5b6293 Upgrades, bugfixes (including nsFilePath no longer hex escaped). Features (including DiskSpaceAvailable) 1999-03-13 06:38:57 +00:00
jband%netscape.com 2e3f289396 support float and double in headers and typelibs 1999-03-13 01:43:19 +00:00
jband%netscape.com 95c5de89a9 made in params const, added some comments 1999-03-13 01:34:37 +00:00
jband%netscape.com 318cbab4df fix assumption that interfaces don't have the poointer bit set 1999-03-13 01:31:48 +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
rjc%netscape.com 3041149e82 Export nsComponentManager::AutoRegister 1999-03-12 23:47:17 +00:00
mcmullen%netscape.com 981da23e83 Fixed crashing bug on solaris. Added support for mac documents directory. 1999-03-12 22:15:02 +00:00
mcmullen%netscape.com c9be804cc0 Added mac documents directory. 1999-03-12 22:14:08 +00:00
dp%netscape.com bfad54a2ee Descriptor Leak fixed. Thanks to bruce@cybersight.com 1999-03-12 19:49:31 +00:00
ramiro%netscape.com 8ce50ad7cf Make it possible to prefix mozilla dlls that conflict with system dlls. 1999-03-12 12:43:04 +00:00
dp%netscape.com 82188ec99d Using nsHashtable and nsProgIDKey for dll hashing 1999-03-12 11:25:17 +00:00
dp%netscape.com cc70ac201a using nsHashtable for dllStore. 1999-03-12 11:23:49 +00:00
dp%netscape.com 38a1ba3588 Forcing XPCOM registry recreation 1999-03-12 08:53:45 +00:00
dp%netscape.com a7a1e56945 PC: Disabling autoregistration at initialization. It will be done by the app. 1999-03-12 08:52:56 +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
dp%netscape.com 63ec363dda Unix: Autoregistration disabled at initialization. This should be done by app. 1999-03-12 00:05:54 +00:00
dp%netscape.com 72ea641bee Unix: Adding MOZILLA_FIVE_HOME 1999-03-11 21:31:16 +00:00
warren%netscape.com 9198ea0da6 tweak 1999-03-11 11:01:16 +00:00
warren%netscape.com 27d6390ab4 Exporting symbols for the mac. 1999-03-11 10:47:54 +00:00
warren%netscape.com d046a90e99 Added union and intersection enumerators. 1999-03-11 09:56:59 +00:00
jband%netscape.com 4788fda605 strings are TD_PSTRING | XPT_TDP_POINTER 1999-03-11 08:01:02 +00:00
dp%netscape.com e11be739ca creating ~/.mozilla under unix if not already there. 1999-03-11 07:44:23 +00:00
jband%netscape.com 0ed6b5c0ec interfaces are pointers and getters return retvals 1999-03-11 07:12:18 +00:00
jband%netscape.com 41b9e6001a get xptinfo building on Win32 again 1999-03-11 02:21:23 +00:00
coop%netscape.com c6c0714f4f NOT YET PART OF SEAMONKEY:
* added improved error message for IID collision.
1999-03-11 02:15:53 +00:00
coop%netscape.com bec672cfc0 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 1f0706e2d1 Removing unused variable. 1999-03-10 23:30:25 +00:00
warren%netscape.com 15c5137cf6 Added progID version of GetService. Fixed up nsService to not be a template. 1999-03-10 22:53:17 +00:00
dp%netscape.com f6148529ea Adding error messages when loading fails. 1999-03-10 22:07:34 +00:00
mcmullen%netscape.com 80f1f01149 Fixed bustage with typo. 1999-03-10 21:41:43 +00:00
shaver%netscape.com 4e97c87ca2 generate meaningful annotation 1999-03-10 21:09:01 +00:00
mcmullen%netscape.com 2bfcde5aaa Added tests for size and mod date. 1999-03-10 21:03:53 +00:00
mcmullen%netscape.com 0e3fcaece6 Added GetModDate and GetFileSize. Fixed a crash with a strcmp of null. 1999-03-10 21:02:58 +00:00
mcmullen%netscape.com 21ca81038c Added output streamers for int and unsigned int. 1999-03-10 20:56:38 +00:00
coop%netscape.com 8d12155d19 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 3d1e8b68ac 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 3c25f1eef4 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 2fffe8836f Solaris needs newline at EOF. 1999-03-10 10:57:05 +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
dp%netscape.com c64e0b5054 changing to correct indent style and tabs. Beautify... 1999-03-10 09:53:25 +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
dp%netscape.com c3220b48e7 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 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
jband%netscape.com 1c6e06ce7b 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 0bf57d8673 Change PATH_MAX to MAXPATHLEN to compile on Solaris. 1999-03-10 07:21:09 +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
waterson%netscape.com 56510eb5cb Added OS_CurrentProcessDirectory test. 1999-03-10 06:08:06 +00:00
waterson%netscape.com 1eaee30e85 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 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
mcmullen%netscape.com a8038ec488 Change assignment operator not to create dirs. 1999-03-10 02:50:16 +00:00
alecf%netscape.com e303c71db4 export nsID.idl to get native types 1999-03-10 01:13:27 +00:00
alecf%netscape.com 4870da1dcf purify fixes from bruce@cybersight.com - free memory the right way 1999-03-10 00:32:44 +00:00
mcmullen%netscape.com 734ffedf47 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 5a4c5d7eac 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 026b7af0c0 #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 c2192b4a62 registry version to 0.40 for component manager change 1999-03-09 21:31:33 +00:00
shaver%netscape.com be86a9ee70 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 eb2ce0674f 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 d4297744f4 Include problem. 1999-03-09 14:44:24 +00:00
warren%netscape.com a6656a9445 Implemented virtuals in cpp file to try to avoid linux pedantic error. 1999-03-09 14:09:11 +00:00
warren%netscape.com 44568143d6 Backed out the nsService template stuff. 1999-03-09 11:49:41 +00:00
warren%netscape.com 088146892f Commented out template because linux isn't happy with it. 1999-03-09 11:12:23 +00:00
warren%netscape.com 9b1eaba4d3 Fixed exports for nsRepository -> nsComponentManager 1999-03-09 10:51:12 +00:00