Commit Graph

1160 Commits

Author SHA1 Message Date
waterson%netscape.com
89e53b21e2 Changed RDF progids to use forward-slashes instead of pipes. 1999-03-30 01:09:24 +00:00
dp%netscape.com
fe69d7158e Adding items to todo list 1999-03-30 00:41:47 +00:00
briano%netscape.com
90d9dd6669 Fixed the 'extra token after the endif' bug that was breaking some Unix builds. 1999-03-29 23:05:49 +00:00
jband%netscape.com
7845b97d17 fixing typedef bug that I introduced with previous checkin 1999-03-29 22:33:38 +00:00
scc%netscape.com
9573eae771 fixed out-of-date preprocessor symbol, should fix AIX build 1999-03-29 22:03:50 +00:00
waterson%netscape.com
0cf17d4ce5 Landed RDF_19990326_BRANCH, scriptability changes. 1999-03-29 19:52:54 +00:00
jband%netscape.com
a2dfafc766 fix incorrect title comment (copied from another file) 1999-03-29 04:35:35 +00:00
jband%netscape.com
c5e8747649 many changes to xpidl:
- Removed '-n' from usage message.
- Added name_space (if declared) to comment in generated C++ header.
- Added [ptr], [ref], and [nsid] support for native declarations.
- Added support for [const] on 'in' params.
- Now add 'const' automatically for nsID in params.
- Added support for [shared] on 'out' params.
- Added -w warnings support for non-support of sequences.
- Removed support for enum and added -w wrning that they are ignored.
- Added support in header and typelib output for constants (short and long only).
1999-03-28 22:01:33 +00:00
jband%netscape.com
2f094e7206 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
dp%netscape.com
ec92f42b3b Adding more on service manager, component manager and progid/clsid with a hope to eliminate confusion 1999-03-27 21:35:43 +00:00
jband%netscape.com
3bfd1f867e removing export of removed file 1999-03-27 08:36:20 +00:00
mccabe%netscape.com
a4aefc434d 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
ccca3b497c fixing cases of declaration not exactly matching definition and a few other instances of extraneous 'const' on PRUnichar passed by value 1999-03-27 07:34:44 +00:00
jband%netscape.com
1fe94e3b3f removing (yet another!) misplaced semi-colon 1999-03-27 06:20:40 +00:00
warren%netscape.com
895cbeb457 Added ShutdownGlobalServiceManager 1999-03-27 02:22:33 +00:00
jband%netscape.com
4d4fa94952 removing misplaced semi-colonsthat break some platforms 1999-03-27 01:53:40 +00:00
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
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