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

1192 Коммитов

Автор SHA1 Сообщение Дата
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
warren%netscape.com f9997f752e Fixed path separator. 1999-03-09 10:20:01 +00:00
warren%netscape.com a8bace7801 Trying a hack to see if I can make linux happy. 1999-03-09 10:15:54 +00:00
warren%netscape.com f1e85d538a Workaround for sun386i breakage. 1999-03-09 10:07:02 +00:00
warren%netscape.com 75422fa57c Added nsComponentManager.cpp 1999-03-09 09:47:12 +00:00
warren%netscape.com 4b2d56fbaa nsRepository -> nsIComponentManager changes. 1999-03-09 09:44:27 +00:00
shaver%netscape.com 58164daf67 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 9ad7c135d1 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 a356faf7da 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 ec67fd947d Must use defined XP_UNIX, not XP_UNIX, as #elif condition. 1999-03-09 02:46:23 +00:00
alecf%netscape.com a1357cc961 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 bf2718b64b ignore generated files 1999-03-08 21:27:03 +00:00
shaver%netscape.com 5346cd6379 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 244b59ee4f 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 df77619c4a display method flags, handle bogus indices 1999-03-08 21:11:08 +00:00
dp%netscape.com 18ad8fba88 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 2636f0fba1 Make params include the name of the interface referenced. 1999-03-08 20:33:35 +00:00
coop%netscape.com 23aac1de6d 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
ramiro%netscape.com 8a849f863a Templates in nsXPComFactory exorcism. Part I.
Replaced the template code with a NS_DEF_FACTORY.
This is temporary.  As soon as I can verify this works on windows and
mac, ill remove the old code.
1999-03-08 09:44:16 +00:00
shaver%netscape.com d55deef772 fix remnant of 32-bit interface references 1999-03-08 03:56:14 +00:00
beard%netscape.com d5f75e7080 Added NS_DEFINE_STATIC_CID_ACCESSOR. 1999-03-07 23:56:59 +00:00
jband%netscape.com 5de5ba19b3 fix fopen mode for binary files - I'm starting to think that shaver, coop, and mccabe are doing this to me on purpose :) 1999-03-07 20:48:37 +00:00
rickg%netscape.com 98eae31a0b fixed recently introduced i18n bugs 1999-03-07 19:23:28 +00:00
shaver%netscape.com 07e853ae36 we do windows, but still wait on Mac 1999-03-07 02:37:17 +00:00
jband%netscape.com a1ccd8bd8a getting shaver's changes compiling on Win32 - (and linking - dependency on nspr was added) 1999-03-06 21:39:45 +00:00
jband%netscape.com 21119d07b8 getting shaver's changes compiling on Win32 1999-03-06 21:35:01 +00:00
shaver%netscape.com 1a05939593 updated README and fixed 3484 (make in strings const) 1999-03-06 20:59:41 +00:00
shaver%netscape.com c31d863018 Add XPT_InterfaceDescriptorAddConsts to API. 1999-03-06 19:40:34 +00:00
shaver%netscape.com 87bb504802 Compatibility with libIDL 0.6.x. (now required -- 0.5.x won't work any more)
Open absolutely-named files without include-path checking.
Always report errors (duh).
typelib generation: [iid_is()], consts, parse [uuid()], string type change
(will someone please explain our string types to me?), add float support,
handle [retval], IDL return as trailing argument (duh), attributes generate
accessor entries.
Use IDL_tree_error instead of burping at stderr.
1999-03-06 19:26:40 +00:00
dp%netscape.com 283928a5a6 Bumping nsRepository version string to force registry to be cleaned 1999-03-06 09:11:05 +00:00
dp%netscape.com 1576712e2f dist/bin/components is where all loadable components will be installed. 1999-03-06 09:04:53 +00:00
mcmullen%netscape.com 9001472b4c Fix a unix warning 1999-03-05 23:00:57 +00:00
mcmullen%netscape.com 9798175c73 Removed the offset parameter from the base stream interfaces. Implemented string streams. 1999-03-05 22:53:56 +00:00
alecf%netscape.com 8eb785a0db split up nsISupports macros into seperate files 1999-03-05 22:39:03 +00:00
alecf%netscape.com d1795b779f oops, don't include nsID.idl, it's not being exported right now 1999-03-05 22:37:35 +00:00
mcmullen%netscape.com 8c366d4625 Made a function static to remove a warning. 1999-03-05 21:35:23 +00:00
ramiro%netscape.com dac043b760 Filename was misspelled. Broke unix. Blessed by cyeh. 1999-03-05 21:29:26 +00:00
mcmullen%netscape.com da9bbfc238 First Checked In. 1999-03-05 20:55:10 +00:00
dougt%netscape.com ff5aa21d0d Added testcases for nsSpecialSystemDirectory. These cases are
currently turned off until mcmullen takes a look at them on the mac.
1999-03-05 20:21:33 +00:00
dougt%netscape.com 060b968818 adding nsSpecialSystemDirectory.cpp to windows makefile.
Fixed MakeAllDirectory bug in nsFileSpec.cpp
1999-03-05 20:20:22 +00:00
dougt%netscape.com a435f91e27 Initial Checkin 1999-03-05 20:17:47 +00:00
warren%netscape.com bd7c76dbf2 Fixed First method to return error. 1999-03-05 05:48:21 +00:00
kipp%netscape.com 8cbbd762e9 Use proper new operator 1999-03-05 04:33:57 +00:00
mcafee%netscape.com 6374afae38 Uninitialized variables 1999-03-05 04:20:54 +00:00
hyatt%netscape.com 02e16ec5f5 Fix to the RFind method of nsString. 1999-03-05 00:03:46 +00:00
rjc%netscape.com e123cebbe9 Now store pathnames as strings which prevents nr_MacAliasFromPath() from ever being called (it was being passed a Unix path when it really wanted a Mac path anyway). Also, autoregistration now looks inside the "components" directory (which is in the same folder as the program.) Also, bumped up registry version # due to change. Also, at startup, when building up list of arguments, check argv[0] against NULL as it might be (on the Mac). 1999-03-04 03:01:33 +00:00
scc%netscape.com e1b19c0104 rename |IID()| --> |GetIID()| 1999-03-03 23:03:34 +00:00
scc%netscape.com 2ec0a397ea rename |IID()| --> |GetIID()| 1999-03-03 19:48:57 +00:00
buster%netscape.com 614f00f10a added editor module (#define NS_ERROR_MODULE_EDITOR ) 1999-03-03 18:30:09 +00:00
brade%netscape.com b3ff8e7d90 remove unused local variable in #ifdef XP_MAC section 1999-03-03 15:29:56 +00:00
beard%netscape.com 19dc7e5b59 moved NS_CALLBACK to nsCom.h. 1999-03-03 04:09:33 +00:00
beard%netscape.com 12e2a6116d Added NS_CALLBACK macro for standard callback APIs 1999-03-03 04:09:11 +00:00
dp%netscape.com 1daed4fa4c Forcing registry upgrade to alpha0.30 due to autoreg beginning at ./components instead of ./ 1999-03-03 02:17:57 +00:00
dp%netscape.com 06a110237c Installing loadable components in components/ directory 1999-03-03 01:25:21 +00:00
waterson%netscape.com c361814ef3 Added ProgIDToCLSID cache. 1999-03-03 01:18:15 +00:00
alecf%netscape.com 19c3844fa8 start splitting nsISupports.h into multiple header files (blank right now until we get them into the Mac build) 1999-03-03 00:31:50 +00:00
scc%netscape.com 1cd756d76b backed out depency on nscore.h 1999-03-02 23:52:38 +00:00
scc%netscape.com eee168d553 now rely on "nscore.h" for NS_REINTERPRET_CAST instead of defining my own. now relying on autoconf system for all unixes. Some tests may need to be fixed. 1999-03-02 23:08:54 +00:00
alecf%netscape.com cb61663ab3 fix HPUX bustage - confused by too many similar constructors 1999-03-02 19:23:06 +00:00
ftang%netscape.com 9a83e5f08d add IsUpper and IsLower which work for all Unicode, reviewed and approved by kipp 1999-03-02 18:24:42 +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
mccabe%netscape.com 8c24b0a7f5 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 40181d78ce 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
brendan%netscape.com a7bea6a1d8 Deal with wstring in .idl files correctly, or at least better. 1999-03-02 03:01:39 +00:00
brendan%netscape.com b174ed2b63 Use new 'W' format with JS_ConvertArguments to get PRUnichar* out. 1999-03-02 02:51:33 +00:00
mcmullen%netscape.com f821295013 Took another one for nsIRandomAccessData. 1999-03-02 02:24:46 +00:00
alecf%netscape.com 88fe8762de fix linux -pedantic build - compiler confused by too much casting 1999-03-02 01:41:45 +00:00
cyeh%netscape.com d9f55cbdaf knod of the head to sfraser, for reminding me that you need to also initialize processInfoRec with the size of the process record. 1999-03-02 00:34:49 +00:00
cyeh%netscape.com cb747fecb4 (really cyeh) fix crashing bug in optimized builds of viewer, but i'm really suprised that this didn't crash more often. per Inside Macintosh: Processes: you must initialize the ProcessInfoRec with the address to a valid FSSpec and at least 32 bytes of memory if you want the name of the process. if you do not want the name of the process, pass in nil into ProcessInfoRec.processName. We were crashing because the value of PIR.processName was uninitialized, and we were copying the name of the application into random memory. 1999-03-02 00:03:30 +00:00
pnunn%netscape.com e546929ed9 created. -pnunn 1999-03-01 22:40:55 +00:00
law%netscape.com 94295fa9e1 Fix recursion problem 1999-03-01 19:06:27 +00:00
ramiro%netscape.com a9c99c12a8 Do the exception thing only if HAVE_CPP_EXCEPTIONS is defined. 1999-03-01 12:54:16 +00:00
mcafee%netscape.com f3ffb9a767 Adding comparisons to autoconf results. 1999-03-01 10:13:18 +00:00
ramiro%netscape.com 1bf8790f66 AIX portability fixes. (Waqar Malik <waqar@netscape.com>) 1999-03-01 06:29:14 +00:00
beard%netscape.com f8887c33ae SetDestructor 1999-02-28 19:04:47 +00:00
mcmullen%netscape.com 27844bd641 Fix Windows build errors 1999-02-28 02:51:53 +00:00
mcmullen%netscape.com 290b78c91a Fix unix build errors 1999-02-28 02:17:55 +00:00
mcmullen%netscape.com bb050ec460 Fix const problem. 1999-02-28 01:55:23 +00:00
mcmullen%netscape.com f672d26a46 Fix seek again so it resets eof. Allow ns*FileStream stack-based classes to be closed explicitly. Fix refcounting. Remove "close on destroy" kludge. 1999-02-28 01:36:48 +00:00
mcmullen%netscape.com 8a3b31e6e7 REALLY add libreg and nsRegistry to the Macintosh build. 1999-02-28 00:26:24 +00:00
mcmullen%netscape.com ad100ee7aa REALLY add nsRegistry and libreg to the Mac build. 1999-02-28 00:24:53 +00:00
dp%netscape.com ab0c11dd65 Adding nsRegistry to unix. 1999-02-27 21:49:34 +00:00
mcmullen%netscape.com d13c4f0d46 Call delete [] when new [] was used for allocation. 1999-02-27 20:39:07 +00:00
dp%netscape.com def5708745 Code cleanup. Added comments. PR_LOG() cleanup. I think I will do my haircut too... 1999-02-27 09:50:19 +00:00
dp%netscape.com 2880dab2be Clode cleanup. Abstracted registry access code that does ProgID into functions platformProgIDToCLSID() and platformCLSIDToProgID() 1999-02-27 08:58:11 +00:00
dp%netscape.com ffbd0ef6da Changed comment to indicate that Quick Registration via the quick register data structure isn't for prime time yet. 1999-02-27 08:56:21 +00:00
alecf%netscape.com 42a42d12dd put #ifdef's around the interface stub implementation output so that generated files can still
be part of the build system.
1999-02-27 03:34:39 +00:00
alecf%netscape.com 6756268744 add IID() method 1999-02-27 03:16:56 +00:00
ebina%netscape.com 4916a8febb Reflect changes to API in nsRepository.h to the Mac. 1999-02-27 02:08:50 +00:00
ebina%netscape.com 89821bbf93 Remove support for the old RegisterFactory API. 1999-02-27 02:06:54 +00:00
scc%netscape.com 67bb023757 for VC++5.0, no member using declarations (to prevent internal compiler error); to make this compile fixed type of AddRef and Release in nsDerivedSafe 1999-02-26 23:43:40 +00:00
pinkerton%netscape.com 1488619e0e added GetGlobalServiceManager for warren. permission to checkin to closed tree granted by sar. 1999-02-26 23:26:17 +00:00
scc%netscape.com fb59a99841 deprecated |dont_AddRef|, added a new form of |getter_AddRefs| to take its place. Removed all nothing of bool from the headers (should help gcc) 1999-02-26 19:50:46 +00:00
mcafee%netscape.com a51a1d23cc Switching false/true over to PR_FALSE/PR_TRUE 1999-02-26 19:47:48 +00:00
kipp%netscape.com 577dbe2134 Defined some operator new/delete macros to help us get it right 1999-02-26 19:38:53 +00:00
dp%netscape.com ede16838d2 Adding platformVersionCheck() into USE_REG ifdef 1999-02-26 19:28:42 +00:00
mcafee%netscape.com 3d6f3bbe9f Switching one last bool to PRBool. a=mcmullen 1999-02-26 19:22:43 +00:00
alecf%netscape.com 6b6c41ebc8 fix AIX bustage 1999-02-26 18:58:08 +00:00
dp%netscape.com 4d29306696 Implemented versioning of the repository hieararchy under the registry. Also changed storing longlongs to ints into the registry. 1999-02-26 18:41:37 +00:00
pinkerton%netscape.com ca28e63302 add libreg to list of linked libraries to try to get autoregistration working correctly. 1999-02-26 18:38:39 +00:00
alecf%netscape.com c5c155b7b5 add nsIEnumerator interface, and fix nsICollection interface to use long not int 1999-02-26 17:57:34 +00:00
alecf%netscape.com 51d9e33467 fix -pedantic bustage - Delete isn't const, so re-cast "this" 1999-02-26 17:56:44 +00:00
alecf%netscape.com 52ff34ffd9 fix HPUX/AIX/OSF bustage - most unices need stdlib.h to get abort() 1999-02-26 17:41:47 +00:00
troy%netscape.com 6322e224fe Per Kipp's request, added patch from Mark Harvey (Mark.Harvey@wireplay.bt.co.uk) so we
don't have an imagehlp.dll dependency unless MOZ_TRACE_XPCOM_REFCNT is defined
1999-02-26 17:39:55 +00:00
pinkerton%netscape.com f485259106 added new CreateInstance for warren to fix build bustage that never showed up on tinderbox. 1999-02-26 17:25:24 +00:00
ebina%netscape.com 38b464566c Changing RegisterFactory to use the new API. 1999-02-26 17:19:00 +00:00
pinkerton%netscape.com 682eefb16b add a new RegisterFactory method for ebina. 1999-02-26 16:50:27 +00:00
ebina%netscape.com 1b377a9c65 Changing RegisterFactory to use the new API. 1999-02-26 15:59:52 +00:00
warren%netscape.com 8bbb442e62 Fixed #endif for non-registry builds. 1999-02-26 10:55:07 +00:00
warren%netscape.com 44cae3cd3f Changes for RDF component registration using nsRepository. Also changed args to NSGetFactory and friends. 1999-02-26 10:17:14 +00:00
mcafee%netscape.com 15ff925a41 Better ifdef logic for last checkin 1999-02-26 08:44:50 +00:00
mcafee%netscape.com 883f9919fb Solaris/CC refused to compile part of this file, giving up for now. a=scc 1999-02-26 08:41:15 +00:00
rickg%netscape.com 48537437de new API on deque to set deallocator 1999-02-26 07:23:56 +00:00
rickg%netscape.com ce3f1fd855 small bug fixes and removal of global statics 1999-02-26 06:33:54 +00:00
beard%netscape.com 98702cb2df Fixing callback typedef, using new NS_CALLBACK macro which will be moved to nsCom.h when it proves itself. 1999-02-26 04:30:17 +00:00
beard%netscape.com f4ea81bdcb Now uses nsGenericFactory to provide factories for NS_ALLOCATOR_CID and NS_GENERICFACTORY_CID. 1999-02-26 04:09:51 +00:00
beard%netscape.com 6c611e122f Added nsGenericFactory.cpp 1999-02-26 04:09:07 +00:00
beard%netscape.com 7177b7546d now implements nsIGenericFactory. 1999-02-26 04:08:26 +00:00
beard%netscape.com be0e2a94ed added nsIGenericFactory.h 1999-02-26 04:06:13 +00:00
beard%netscape.com 2f1f98057b First Checked In. 1999-02-26 04:05:14 +00:00
beard%netscape.com 48f53f4563 Added CID() accessor. 1999-02-26 04:04:50 +00:00
beard%netscape.com 959fd48186 added IID() accessor. 1999-02-26 04:04:13 +00:00
mcafee%netscape.com 721a91f348 Switching unix to use PR_Abort(). 1999-02-26 03:52:37 +00:00
brendan%netscape.com 3c000de84d Fix indentation, fiddle to share common fputs string. 1999-02-26 02:48:01 +00:00
sfraser%netscape.com 3a123c982b Mac project changes -- link with MSLDropInRuntime, instead of MSLShLibRuntime, and fix link order. 1999-02-26 00:54:57 +00:00
dougt%netscape.com ec7d3e520a Remove #ifdef DEBUG 1999-02-26 00:14:57 +00:00
mccabe%netscape.com 6674e1b86b Initial checkin of typelib loading service. 1999-02-25 22:56:43 +00:00
dougt%netscape.com d66208f9ae Another fix to the build bustage. 1999-02-25 22:17:25 +00:00
dougt%netscape.com 52eff30465 This should make the tree go green. It, however, makes nsPersistentFileDescriptor broken if you pass an fsspec. 1999-02-25 22:04:50 +00:00
dougt%netscape.com 9aef7730c4 Merging branch BASE_19_FEB_99 to tip. These are extensive changes
to nsFileSpec and and nsFileStream.  See dougt@netscape.com or
John McMullen for futher information.
1999-02-25 20:49:47 +00:00
law%netscape.com e961693f3b Fixes for Mac 1999-02-25 19:24:18 +00:00
law%netscape.com 71587ec221 Add DIRS=registry to win32 build 1999-02-25 19:22:13 +00:00
law%netscape.com ce6acb6643 Adding nsRegistry to win32 build 1999-02-25 19:20:39 +00:00
law%netscape.com 04202570ee Export nsIRegistry.h 1999-02-25 19:16:00 +00:00
alecf%netscape.com aeb5e9504e add nsICollection.idl 1999-02-25 18:51:53 +00:00
alecf%netscape.com b5f4372dd4 include jsapi.h whenever we're doing stub work 1999-02-25 18:47:58 +00:00
dp%netscape.com 5f4ea1bab4 Removing strange characters 1999-02-25 18:11:58 +00:00
alecf%netscape.com 5bac967f53 forgot to capitalize a variable 1999-02-25 17:52:33 +00:00
alecf%netscape.com 37478ef172 include stdlib for HPUX 1999-02-25 17:48:25 +00:00
alecf%netscape.com e5d1ad1d90 fix HPUX bustage - HP's compiler can't do "using" or static casts 1999-02-25 17:47:54 +00:00
coop%netscape.com bca65dbd8e NOT YET PART OF SEAMONKEY:
* first pass at typelib linker
* parent_interface modification is untested
* interface offset management is unimplemented
* what to do about annotations?
1999-02-25 17:45:11 +00:00
dp%netscape.com 18637227e7 Meeting notes added 1999-02-25 17:43:02 +00:00
alecf%netscape.com 265a6ea2ce fix for BSD/OS 3.1 1999-02-25 17:26:22 +00:00
ebina%netscape.com c52ac55676 Stub in the new RegisterFactory API in preparation for removing the old one. 1999-02-25 16:07:31 +00:00
beard%netscape.com 59f6665f0b backed out my nsAllocator.cpp addition. 1999-02-25 06:17:05 +00:00
beard%netscape.com 86baca6e27 added nsAllocator.cpp to build 1999-02-25 06:15:01 +00:00
beard%netscape.com f3a2432eac removing Malloc::create. 1999-02-25 06:11:25 +00:00
mcafee%netscape.com 3572e727cf Adding nsAllocator.cpp to Unix build 1999-02-25 06:08:13 +00:00
beard%netscape.com 289f70aaba First Checked In. 1999-02-25 04:41:02 +00:00
beard%netscape.com 2959b25154 Added nsAllocator.cpp, nsGenericFactory.cpp, removed nsMalloc.cpp. 1999-02-25 04:24:21 +00:00
beard%netscape.com fe134ebace added nsIAllocator.h 1999-02-25 04:21:12 +00:00
beard%netscape.com 031d95b70c made nsAllocatorFactory publically inherit from nsIFactory. 1999-02-25 04:20:51 +00:00
beard%netscape.com ff3ef49a7f Added support for NS_ALLOCATOR_CID. 1999-02-25 04:05:50 +00:00