Commit Graph

1028 Commits

Author SHA1 Message Date
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
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