Commit Graph

789 Commits

Author SHA1 Message Date
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
akkana%netscape.com
e76add6d0e Add nsISelectionMgr 1999-02-25 03:08:09 +00:00
dp%netscape.com
d9e69e8597 Last updated date changed 1999-02-24 20:31:50 +00:00
dp%netscape.com
250fb6e3bb additional guidelines 1999-02-24 20:29:51 +00:00
dp%netscape.com
6059d294be Added progid spec 1999-02-24 20:24:27 +00:00
alecf%netscape.com
ad633f93cb fix BSD/OS 3.1 bustage 1999-02-24 18:23:26 +00:00
pinkerton%netscape.com
e018021bc2 First Checked In. 1999-02-24 17:35:40 +00:00
warren%netscape.com
884a33e482 Added export/import declaration (temporarily). 1999-02-24 09:55:44 +00:00
warren%netscape.com
7befcf9e6f Updated IIDs 1999-02-24 09:31:34 +00:00
warren%netscape.com
99ca4284f1 Made nsISupportsArray inherit from nsICollection. 1999-02-24 09:31:15 +00:00
warren%netscape.com
19fa548b5c Added idl 1999-02-24 08:46:00 +00:00
warren%netscape.com
00b68c2df2 Added nsConjoiningEnumerator.cpp 1999-02-24 08:01:33 +00:00
warren%netscape.com
650ed02faf Added NS_NewConjoiningEnumerator 1999-02-24 07:58:06 +00:00
alecf%netscape.com
5d552b3ccf update to use new nsCID type 1999-02-24 02:07:28 +00:00
alecf%netscape.com
345e4bdde6 AddRef and Release return nsrefcnt's 1999-02-24 02:06:50 +00:00
alecf%netscape.com
efa97e945a fix nsID definition (thanks to shaver for the right combination) to use pointers 1999-02-24 02:06:27 +00:00
peterl%netscape.com
d5cbc69ca0 Fixed bustage in Clear caused by PRInt32 to PRUint32 conversion 1999-02-23 23:31:49 +00:00
alecf%netscape.com
10d847cfbc update to make ns*ID's work 1999-02-23 19:58:41 +00:00
alecf%netscape.com
5428094f00 update uuid's to match real definitions 1999-02-23 19:36:23 +00:00
alecf%netscape.com
88f29d5194 fix compilation problem on generated code where we had two variables named "result"
prepare to handle [nonxpcom] object return values
1999-02-23 19:30:53 +00:00
vidur%netscape.com
0436b7ef10 Added nsIStyleSheetLinkingElement interface 1999-02-23 19:18:34 +00:00
alecf%netscape.com
6084275b22 update now that uuid()s work again 1999-02-23 18:51:30 +00:00
coop%netscape.com
0c1ab19c56 NOT YET PART OF SEAMONKEY:
* fixed casting problem in calls to Do8
1999-02-23 16:17:37 +00:00
shaver%netscape.com
207c08e698 handle new and old libIDL, [notxpcom], #ifdef XPIDL_JS_STUBS 1999-02-23 15:28:58 +00:00
warren%netscape.com
95670ebabc Added nsSupportsArrayEnumerator.cpp 1999-02-23 08:11:43 +00:00
warren%netscape.com
01dd4f0ed6 Cleaned up nsICollection and nsIEnumerator. Broke out nsIBidirectionalEnumerator. Added ISupportsArray enumerator. Cleaned nsISupportsArray. 1999-02-23 08:10:24 +00:00
warren%netscape.com
a4ae2cd79f Added nsSupportsArrayEnumerator 1999-02-23 08:04:28 +00:00
warren%netscape.com
f4e90ed3fd Fixed NS_INIT_REFCNT problem. 1999-02-23 04:37:31 +00:00
mcmullen%netscape.com
3649ed5b84 Update 1999-02-23 03:32:00 +00:00
mscott%netscape.com
04019f6070 Implement operator= for nsFilePath when given an nsFilePath. a=mcmullen... 1999-02-23 03:10:29 +00:00
alecf%netscape.com
8ef606dbd7 fix cases where native method wasn't being called on XPIDL void functions.
Add cases for methods with and without parameters, and with and without return types.
1999-02-23 02:39:31 +00:00
alecf%netscape.com
f911166782 add a space in between the new native type and the old one. 1999-02-23 02:38:16 +00:00
alecf%netscape.com
b4478fcc51 update IDL interfaces and add some new ones 1999-02-23 02:19:53 +00:00
mcmullen%netscape.com
23ae585495 Remove the illegal semicolon after extern "C" {} 1999-02-22 22:25:10 +00:00
brendan%netscape.com
4a71eaefa6 - Use write rather than dump consistently (dump has unfortunate connotations).
- Avoid gratuitous extra newlines in foo.h compiled from foo.idl.
- Use do-while, not for or while, guarded by if that tests the loop condition.
- Use NS_EXPORT to qualify static InitJSClass and GetJSObject method.
- Turn enum declarations within interfaces into JS class constant numbers.
- Defend against null return from JS_GetPrivate (prototype and user-constructed
  objects have no private data).
1999-02-22 00:24:34 +00:00
mcmullen%netscape.com
ff14535f6e Took another one for nsIFile. 1999-02-22 00:15:46 +00:00
alecf%netscape.com
4c1de70e41 add nsIFactory to IDL export list 1999-02-20 03:12:19 +00:00
alecf%netscape.com
31a264e038 update IDL files to be closer to real headers 1999-02-20 03:11:52 +00:00
beard%netscape.com
9468c7d879 XP_MAC: using __comobject as magic base class for all XPCOM objects. 1999-02-20 02:22:18 +00:00
mcmullen%netscape.com
57768c2020 Took 2 for nsIFileOutputStream and nsIFileInputStream 1999-02-20 01:45:30 +00:00
sfraser%netscape.com
5c257742fe Backing out my previous change, to enable AutoRegister again on the Mac. sdagley checked in a change to NSPR which fixes the crash on launch. 1999-02-20 01:07:31 +00:00
brendan%netscape.com
228bfb73ef Fix goofs caught by alecf in GetJSObject generation. 1999-02-20 00:10:22 +00:00
mjudge%netscape.com
fbcb42974f changing nsIEnumerator to use NS_IMETHOD not virtual nsresult 1999-02-19 23:43:20 +00:00
sfraser%netscape.com
ed07fb174e This is a temporary fix for the Mac crash on launch; don't call AutoRegister on Mac. Approved by sar 1999-02-19 23:28:49 +00:00
jband%netscape.com
9733ee889d get xpidl building again on Win32 1999-02-19 21:39:41 +00:00
brade%netscape.com
b553b3670f add prototype to reduce warnings on Macintosh compiler 1999-02-19 16:13:47 +00:00
mcafee%netscape.com
a07d1be9bf Solaris: adding do_QueryInterface() wrapper per scc's carpool. 1999-02-19 13:14:26 +00:00
warren%netscape.com
38a1b276d2 Added NS_DECL_ISUPPORTS_INHERITED and NS_IMPL_ISUPPORTS_INHERITED. 1999-02-19 06:33:33 +00:00
rickg%netscape.com
1fe259de63 small mod to handle hex conversion better 1999-02-19 06:32:40 +00:00
alecf%netscape.com
5e26c24052 add dummy nsISupports.idl so that other IDL files can compile
(Windows makefile.win still needed - volunteers welcome!)
1999-02-19 02:04:21 +00:00
alecf%netscape.com
e266797a3b link xpidl statically against libxpt so that dist/bin doesn't need to be in your LD_LIBRARY_PATH 1999-02-18 22:59:17 +00:00
dp%netscape.com
1581c74987 Hacked to remove ./ when we PR_LoadLibrary() dlls of the type ./library.so
This improves memory a bit.
1999-02-18 22:37:35 +00:00
alecf%netscape.com
544d9d773b make these libraries build during the export phase 1999-02-18 22:36:27 +00:00
mcafee%netscape.com
9feda1b10b Adding support for Solaris native compiler. a=scc 1999-02-18 22:34:15 +00:00
coop%netscape.com
4a28ad0dc3 NOT YET PART OF SEAMONKEY:
* now close input file in all cases
* warn user about params with no in/out flag information
* more internal error checking
1999-02-18 22:29:59 +00:00
pinkerton%netscape.com
2de064a331 adding nsRepository stuff to exports. permission to fix build bustage during closed tree given by leaf. 1999-02-18 20:11:07 +00:00
brendan%netscape.com
051bbc0cff Finish Get and SetProperty, simplify InitJSClass via globalObject. 1999-02-18 19:59:11 +00:00
mcmullen%netscape.com
7e6415b643 Reserved a range for file i/o errors. 1999-02-18 18:58:25 +00:00
shaver%netscape.com
7c4aa3b23b Add dependency on libxpt and NSPR for typelib generation.
Only output |static const IID()| if we have an IID defined.
Output forward declarations.
Initial -m typelib stuff (handles methods, barely).
1999-02-18 17:43:38 +00:00
shaver%netscape.com
d96b4c6f50 fix InterfaceDescriptorAddMethods to not randomly overwrite memory, and fix
DoMethodDescriptor to not randomly overwrite md->result
1999-02-18 17:36:46 +00:00
ebina%netscape.com
e6a074a940 Forgot to ifdef USE_REGISTRY which was breaking the MAC. 1999-02-18 17:18:06 +00:00
ebina%netscape.com
b01dc22f0f Add public functions RegisterComponent, UnregisterComponent, and ProgIDToCLSID 1999-02-18 16:58:22 +00:00
jband%netscape.com
7723eec138 added macro to ease defining the static const IID() accessor to xpcom interface class declarations 1999-02-18 05:37:50 +00:00
brendan%netscape.com
51e07c6b0f Fixed wrapper management to be self-contained, requiring no extra interfaces. 1999-02-18 03:10:40 +00:00
shaver%netscape.com
7138211132 binary files are required (thanks, jband). also fix typo 1999-02-18 02:53:08 +00:00
rjc%netscape.com
429e50b781 Small fix for path separators. 1999-02-18 01:43:22 +00:00
mcmullen%netscape.com
0064c92613 Backing out previous change from the trunk, because it was supposed to have gone in on a branch. 1999-02-18 00:45:07 +00:00
shaver%netscape.com
950bd8bad9 Report read failure and short reads (should handle short reads better! RSN!).
File length is a size_t now, not an int.
1999-02-18 00:42:01 +00:00
mcmullen%netscape.com
36703ad10e Updated to match the header changes I've been making. Also, added the declaration of the persistent filespec class. 1999-02-18 00:35:39 +00:00
rjc%netscape.com
3c55ff2cfd Fix XPCom on Mac so that autoregistration of .shlb files work. 1999-02-18 00:24:38 +00:00
warren%netscape.com
41fe50242a Added constructor for strings. 1999-02-18 00:12:08 +00:00
brendan%netscape.com
8d254d72e6 Cope with void return. 1999-02-17 22:45:12 +00:00
brendan%netscape.com
ab4487d5ca More stub work checkpointing; expand tabs. 1999-02-17 22:13:32 +00:00
warren%netscape.com
78c67590e0 Added missing definition of nsFilePath::nsFilePath(const nsFilePath&) 1999-02-17 18:20:27 +00:00
coop%netscape.com
14a98b2ab8 NOT YET PART OF SEAMONKEY:
* replaces reference to unistd.h by stdlib.h
1999-02-17 17:36:01 +00:00
jband%netscape.com
40ef764595 get this code compiling in win32 1999-02-17 07:05:36 +00:00
brendan%netscape.com
ee53936825 Second checkpoint. 1999-02-17 05:56:30 +00:00
scc%netscape.com
8914901382 added methods of |nsCOMPtr| 1999-02-17 05:00:24 +00:00
scc%netscape.com
56b132f647 missing '&' found, returned to rightful home 1999-02-17 03:12:03 +00:00
danm%netscape.com
7cb36e8b11 activate exception handling for tests: TestCOMPtr uses them 1999-02-17 02:18:40 +00:00
mjudge%netscape.com
3360e21238 checking for nsCOMPtr change 1999-02-17 01:59:01 +00:00
scc%netscape.com
42e1c10096 updated to new interface for nsCOMPtr 1999-02-17 01:58:25 +00:00
scc%netscape.com
149e9ed6e5 First Checked In. 1999-02-17 01:57:07 +00:00
mcafee%netscape.com
81ad17909e Adding nsCOMPtr.cpp for nsCOMPtr carpool 1999-02-17 01:55:00 +00:00
brendan%netscape.com
e5596bb3ed Checkpoint xpidl -m stub work. 1999-02-17 01:17:52 +00:00
dp%netscape.com
e8140685fb Fixed dll not being unloaded if registrations filed. Also, returning more appropriate error messages 1999-02-16 19:34:10 +00:00
coop%netscape.com
76bdfa96b3 NOT YET PART OF SEAMONKEY:
* eliminated compiler warnings on Linux
* added extra error checking for file manipulation in SimpleTypeLib and xpt_dump
* removed erroneous comment from xpt_struct.h
1999-02-16 18:41:30 +00:00
rickg%netscape.com
71624eb818 removed bug from deque, and added replaceChar call to string 1999-02-16 06:47:00 +00:00
brendan%netscape.com
fe8a88eaf3 prep for -m stub; misc code cleanups. 1999-02-16 05:10:40 +00:00
shaver%netscape.com
c70caa7ec2 make includes work right; support `-\' as stdin for input file 1999-02-16 03:47:24 +00:00
troy%netscape.com
b0009be1b8 Fixed some more memory leaks 1999-02-14 18:02:38 +00:00
jfrancis%netscape.com
15f91384af grabbed an id for nsContentSubtreeIterator_CID 1999-02-14 06:47:43 +00:00
troy%netscape.com
8ebf774ac3 Fixed some memory leaks 1999-02-14 05:44:39 +00:00
troy%netscape.com
2161ce5972 Added missing "const" that was allowing internal pointer to Unicode
string tobe returned as a non-const value
1999-02-14 05:44:01 +00:00
troy%netscape.com
f1e3f0b4e7 Fixed some memory leaks 1999-02-14 05:34:07 +00:00
troy%netscape.com
5d53bf146e Added NS_RELEASE of nsIUnicharInputStream interface in Load() 1999-02-14 05:20:34 +00:00
mcmullen%netscape.com
12e03a04c7 Added nsIRegistry.h 1999-02-13 03:47:00 +00:00
mcmullen%netscape.com
99d4fb8f2c First Checked In. 1999-02-13 00:58:54 +00:00
jfrancis%netscape.com
fc5669f0e6 backing out attempted fix of enumerator interface 1999-02-12 08:17:55 +00:00
jfrancis%netscape.com
3f22b195b4 scattered NS_IMETHOD liberally through interface 1999-02-12 07:01:06 +00:00
jfrancis%netscape.com
0d41a75bc9 grabbed a couple id's for contentIterator iid and cid 1999-02-12 04:34:36 +00:00
beard%netscape.com
3758bddef4 Fixed += operator, which would only work if you had a file or folder called "G'day" in the input directory. 1999-02-12 00:48:35 +00:00
sfraser%netscape.com
fdf1f352dc Reserve a couple of IIDs for caret 1999-02-11 23:46:02 +00:00
sfraser%netscape.com
c2d781ea6a That last checkin should have read: fix a bug in CompressWhitespace that caused the string length to be set incorrectly, when Trim shortened the string. 1999-02-11 06:23:29 +00:00