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

720 Коммитов

Автор SHA1 Сообщение Дата
shaver%netscape.com 129bed8df3 handle new and old libIDL, [notxpcom], #ifdef XPIDL_JS_STUBS 1999-02-23 15:28:58 +00:00
warren%netscape.com 8cd2fc34bc Added nsSupportsArrayEnumerator.cpp 1999-02-23 08:11:43 +00:00
warren%netscape.com 3642da81a5 Cleaned up nsICollection and nsIEnumerator. Broke out nsIBidirectionalEnumerator. Added ISupportsArray enumerator. Cleaned nsISupportsArray. 1999-02-23 08:10:24 +00:00
warren%netscape.com 242f5389ac Added nsSupportsArrayEnumerator 1999-02-23 08:04:28 +00:00
warren%netscape.com 93e7f6b3a6 Fixed NS_INIT_REFCNT problem. 1999-02-23 04:37:31 +00:00
mcmullen%netscape.com 6817465add Update 1999-02-23 03:32:00 +00:00
mscott%netscape.com 75ce123dcc Implement operator= for nsFilePath when given an nsFilePath. a=mcmullen... 1999-02-23 03:10:29 +00:00
alecf%netscape.com 698d924382 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 ec00b19244 add a space in between the new native type and the old one. 1999-02-23 02:38:16 +00:00
alecf%netscape.com 39ef829008 update IDL interfaces and add some new ones 1999-02-23 02:19:53 +00:00
mcmullen%netscape.com db86517473 Remove the illegal semicolon after extern "C" {} 1999-02-22 22:25:10 +00:00
brendan%netscape.com 920aee0dfe - 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 42895cb757 Took another one for nsIFile. 1999-02-22 00:15:46 +00:00
alecf%netscape.com e2c1d114e5 add nsIFactory to IDL export list 1999-02-20 03:12:19 +00:00
alecf%netscape.com baf47ee27a update IDL files to be closer to real headers 1999-02-20 03:11:52 +00:00
beard%netscape.com e60e1e2d6f XP_MAC: using __comobject as magic base class for all XPCOM objects. 1999-02-20 02:22:18 +00:00
mcmullen%netscape.com bccebae5a9 Took 2 for nsIFileOutputStream and nsIFileInputStream 1999-02-20 01:45:30 +00:00
sfraser%netscape.com c2b6483df5 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 5b60ff0a62 Fix goofs caught by alecf in GetJSObject generation. 1999-02-20 00:10:22 +00:00
mjudge%netscape.com 3756cba288 changing nsIEnumerator to use NS_IMETHOD not virtual nsresult 1999-02-19 23:43:20 +00:00
sfraser%netscape.com 61e6d44318 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 6f250617ab get xpidl building again on Win32 1999-02-19 21:39:41 +00:00
brade%netscape.com b3b4f0d2c0 add prototype to reduce warnings on Macintosh compiler 1999-02-19 16:13:47 +00:00
mcafee%netscape.com ea80d83573 Solaris: adding do_QueryInterface() wrapper per scc's carpool. 1999-02-19 13:14:26 +00:00
warren%netscape.com f570b0846d Added NS_DECL_ISUPPORTS_INHERITED and NS_IMPL_ISUPPORTS_INHERITED. 1999-02-19 06:33:33 +00:00
rickg%netscape.com 5396424248 small mod to handle hex conversion better 1999-02-19 06:32:40 +00:00
alecf%netscape.com 047c57e250 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 5d3608afc9 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 fd6b85b9a7 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 36d35faa8f make these libraries build during the export phase 1999-02-18 22:36:27 +00:00
mcafee%netscape.com 99b1533740 Adding support for Solaris native compiler. a=scc 1999-02-18 22:34:15 +00:00
coop%netscape.com 340caebc15 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 0ec63ad5ad 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 4a35e28e1e Finish Get and SetProperty, simplify InitJSClass via globalObject. 1999-02-18 19:59:11 +00:00
mcmullen%netscape.com 1f01ecc906 Reserved a range for file i/o errors. 1999-02-18 18:58:25 +00:00
shaver%netscape.com 4b46863128 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 5f986c1b54 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 0b56643b69 Forgot to ifdef USE_REGISTRY which was breaking the MAC. 1999-02-18 17:18:06 +00:00
ebina%netscape.com b1e95cdde7 Add public functions RegisterComponent, UnregisterComponent, and ProgIDToCLSID 1999-02-18 16:58:22 +00:00
jband%netscape.com d3e06b0f12 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 ac9d149744 Fixed wrapper management to be self-contained, requiring no extra interfaces. 1999-02-18 03:10:40 +00:00
shaver%netscape.com 2511329d80 binary files are required (thanks, jband). also fix typo 1999-02-18 02:53:08 +00:00
rjc%netscape.com 7edaa53680 Small fix for path separators. 1999-02-18 01:43:22 +00:00
mcmullen%netscape.com 08350f58b5 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 a2bc4ae0d7 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 eda401b85b 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 2753cc7cdd Fix XPCom on Mac so that autoregistration of .shlb files work. 1999-02-18 00:24:38 +00:00
warren%netscape.com b761e1c51f Added constructor for strings. 1999-02-18 00:12:08 +00:00
brendan%netscape.com a7bb333ffb Cope with void return. 1999-02-17 22:45:12 +00:00
brendan%netscape.com faf2e46268 More stub work checkpointing; expand tabs. 1999-02-17 22:13:32 +00:00
warren%netscape.com a4e60f2de6 Added missing definition of nsFilePath::nsFilePath(const nsFilePath&) 1999-02-17 18:20:27 +00:00
coop%netscape.com b79755973f NOT YET PART OF SEAMONKEY:
* replaces reference to unistd.h by stdlib.h
1999-02-17 17:36:01 +00:00
jband%netscape.com 7be417bb2e get this code compiling in win32 1999-02-17 07:05:36 +00:00
brendan%netscape.com 9e3aa5f56d Second checkpoint. 1999-02-17 05:56:30 +00:00
scc%netscape.com 3314d8fda0 added methods of |nsCOMPtr| 1999-02-17 05:00:24 +00:00
scc%netscape.com 85abdef8c2 missing '&' found, returned to rightful home 1999-02-17 03:12:03 +00:00
danm%netscape.com 7f7e24bfd0 activate exception handling for tests: TestCOMPtr uses them 1999-02-17 02:18:40 +00:00
mjudge%netscape.com 0887ceeaff checking for nsCOMPtr change 1999-02-17 01:59:01 +00:00
scc%netscape.com d4ae494464 updated to new interface for nsCOMPtr 1999-02-17 01:58:25 +00:00
scc%netscape.com db79afbc84 First Checked In. 1999-02-17 01:57:07 +00:00
mcafee%netscape.com cca02d3e64 Adding nsCOMPtr.cpp for nsCOMPtr carpool 1999-02-17 01:55:00 +00:00
brendan%netscape.com a4ae6f94b8 Checkpoint xpidl -m stub work. 1999-02-17 01:17:52 +00:00
dp%netscape.com 138e0d4a61 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 44992d0a27 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 e2e2dfc7e9 removed bug from deque, and added replaceChar call to string 1999-02-16 06:47:00 +00:00
brendan%netscape.com e53469bc76 prep for -m stub; misc code cleanups. 1999-02-16 05:10:40 +00:00
shaver%netscape.com 0c87cb56ec make includes work right; support `-\' as stdin for input file 1999-02-16 03:47:24 +00:00
troy%netscape.com 7ebee8ef4e Fixed some more memory leaks 1999-02-14 18:02:38 +00:00
jfrancis%netscape.com 2df51fb879 grabbed an id for nsContentSubtreeIterator_CID 1999-02-14 06:47:43 +00:00
troy%netscape.com 03a4fe9d44 Fixed some memory leaks 1999-02-14 05:44:39 +00:00
troy%netscape.com 7d913dc65b 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 3daac89caa Fixed some memory leaks 1999-02-14 05:34:07 +00:00
troy%netscape.com fd8dea9b65 Added NS_RELEASE of nsIUnicharInputStream interface in Load() 1999-02-14 05:20:34 +00:00
mcmullen%netscape.com 4bdd400ec0 Added nsIRegistry.h 1999-02-13 03:47:00 +00:00
mcmullen%netscape.com 93819732c1 First Checked In. 1999-02-13 00:58:54 +00:00
jfrancis%netscape.com 36ce5457b4 backing out attempted fix of enumerator interface 1999-02-12 08:17:55 +00:00
jfrancis%netscape.com ee23bdbc8e scattered NS_IMETHOD liberally through interface 1999-02-12 07:01:06 +00:00
jfrancis%netscape.com 18a68abc87 grabbed a couple id's for contentIterator iid and cid 1999-02-12 04:34:36 +00:00
beard%netscape.com 280377b201 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 c22aaca9fa Reserve a couple of IIDs for caret 1999-02-11 23:46:02 +00:00
sfraser%netscape.com 063c313612 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
sfraser%netscape.com 53038aad55 Fix a bug in 1999-02-11 06:22:03 +00:00
alecf%netscape.com b95b1c988e export nsIAllocator on Unix for XPConnect 1999-02-11 04:41:08 +00:00
scc%netscape.com 9e7895bae7 Activate browser so you get the colorized source 1999-02-11 01:35:54 +00:00
scc%netscape.com f020767dfc Added |nsresult nsCOMPtr::assignment_error() const;| which returns the error, if any, from the most recent operation (constructor or assignment operator) that implicitly calls |QueryInterface|. This did not increase the size of an |nsCOMPtr|. 1999-02-11 01:34:07 +00:00
sar%netscape.com eecbed5e4c Turn of "modification date caching" so that dependencies are sure to work. 1999-02-11 00:04:46 +00:00
law%netscape.com 48857f7cbd moz->ns 1999-02-10 23:27:09 +00:00
erik%netscape.com f2ac3bc7ac Forgot to say "public" in "class nsPropertiesFactory : nsIFactory".
This caused it to fail on Linux, but not on Windows. Go figure. Sigh.
1999-02-10 22:51:01 +00:00
law%netscape.com 945c60ebf5 Cleaned up i/f, XPCOM-wise 1999-02-10 19:47:56 +00:00
coop%netscape.com b0aeee1bf1 NOT YET PART OF SEAMONKEY:
* changed type descriptor tag defines into one big enum
* made corresponding changes to xpt_dump
1999-02-10 17:44:05 +00:00
alecf%netscape.com 9a4cc65f9d add a few more string cases to fix compilers who complain about ambiguous overloading 1999-02-10 08:22:47 +00:00
dp%netscape.com 1310389704 Adding libreg as xpcom depends on it 1999-02-10 02:01:50 +00:00
dp%netscape.com ae016f7fab CFLAGS->DEFINES 1999-02-09 22:48:00 +00:00
dp%netscape.com 6e75705bdd Commenting CreateInstance2(). 1999-02-09 21:32:13 +00:00
dp%netscape.com 6b61800db4 Removing wrong delete. 1999-02-09 21:21:30 +00:00
dp%netscape.com 156285c767 Commenting FACTORY2 1999-02-09 21:06:34 +00:00
dp%netscape.com 647eabe0fe Major repository upgrade to use a presistent regitry. We use libreg/ directly (NR_*() functions) for now. 1999-02-09 20:31:24 +00:00
dp%netscape.com 185d38ac18 Added new constructor that takes lastmodtime and size 1999-02-09 20:30:34 +00:00
dp%netscape.com 895672f73e variable id changes + commenting CreateInstance2() 1999-02-09 20:29:46 +00:00
dp%netscape.com bf72179afc Hierarchy change for filemodifieddata and size 1999-02-09 20:28:54 +00:00
shaver%netscape.com a91d4ad6d2 fix #define for generated headers 1999-02-09 15:30:31 +00:00
bienvenu%netscape.com e2222e8806 back out linebreak defines 1999-02-09 05:06:35 +00:00
bienvenu%netscape.com 3b8a2a39bc add platform specific linebreak defines 1999-02-09 04:43:58 +00:00
warren%netscape.com 35ff4508e3 Added NS_ERROR_MODULE_MAILNEWS 1999-02-09 04:28:17 +00:00
warren%netscape.com 279c55d99d Added CR LF defines for general use. 1999-02-09 04:19:58 +00:00
coop%netscape.com b67985862a NOT YET PART OF SEAMONKEY:
* added function XPT_GetInterfaceIndexByName
* replaced remaining occurences of 'namespace' with 'name_space' to keep C++ happy
* added xpt_dump display for param types (in/out/retval)
* changed xpt_dump handling for wchar_t strings
* use shaver's print_IID function when displaying type descriptors
* removed DoAnnotations (not used)
1999-02-09 00:14:38 +00:00
waterson%netscape.com 0c8af86d02 Fix strncmp() routines to handle unsigned integers properly. r=linss, a=sar. 1999-02-08 22:01:08 +00:00
jband%netscape.com 51a75b5de2 NOT PART OF SEAMONKEY - a bunch of fixes to get it building on win32 1999-02-08 21:47:35 +00:00
shaver%netscape.com f856bd0e7e move includes outside #ifdef for precompiled-header love, also PR_EXTERN_C 1999-02-08 19:48:48 +00:00
kipp%netscape.com 2c1296df1f Disable auto-registration of dll's for unix for now 1999-02-08 19:16:29 +00:00
ftang%netscape.com f696de06e0 change upper and lower case operation to call unicharutil for the nonASCII case 1999-02-08 18:57:21 +00:00
shaver%netscape.com 34bbed0ee7 Windows make goop 1999-02-08 18:34:54 +00:00
shaver%netscape.com 878a361634 Fixed native handling.
IDL-in-comments works again.
Quell some warnings (now -Wall happy!).
1999-02-08 17:47:44 +00:00
shaver%netscape.com 0794ace0b2 Added XPT_InterfaceDescriptorAddMethods to grow the method table.
Removed unused XPT_ALLOC macro.
Move XPT_SetDataOffset calls into XPT_DoHeader so that the API consumer doesn't
need to know about header sizing and IDE layout guck.
Handle NULL namespaces and interface_directory bits snd idents better.
Made xpt_dump show the the IID for interfaces.
1999-02-08 16:30:22 +00:00
mcafee%netscape.com ea6f465213 ignore genereated files 1999-02-08 08:26:34 +00:00
mcafee%netscape.com 672720e720 Wrap tests in ENABLE_TESTS ifdef 1999-02-07 11:58:29 +00:00
dp%netscape.com 60a5140c2d library no longer a member of FactoryEntry. Removed windows specific code for operating on windows registry. 1999-02-06 23:45:19 +00:00
dp%netscape.com d2fe4b5dc9 Beauty is the essence of life 1999-02-06 23:23:58 +00:00
dp%netscape.com 027179d0cd PRTime is 64 bit. Cant use ==. Using LL_EQ macro. 1999-02-06 21:24:52 +00:00
dp%netscape.com 47a2110af5 satisfy mac compiler 1999-02-06 21:19:11 +00:00
dp%netscape.com d5592767ba Fixing ptr==int comparisons to satify linux compilers 1999-02-06 20:53:42 +00:00
dp%netscape.com 781207cfe0 Auto registration of xpcom components 1999-02-06 20:43:10 +00:00
dp%netscape.com adc2870e9b Auto registration of xpcom components. 1999-02-06 20:39:40 +00:00
dp%netscape.com d67ec8f4b4 Fixing warnings on order of default initialization 1999-02-06 20:27:16 +00:00
dp%netscape.com fc49a80841 Adding default pathlist 1999-02-06 20:26:15 +00:00
mcafee%netscape.com 2aec2ef479 Adding tests to match Win32 1999-02-06 11:50:14 +00:00
mcafee%netscape.com d995082b5f Adding TestID.cpp, removing unused rules, more portable link line 1999-02-06 08:19:16 +00:00
warren%netscape.com 37a41235c9 Added assertion 1999-02-06 04:22:43 +00:00
warren%netscape.com d0574a9735 Added strtok implementation. 1999-02-06 04:18:15 +00:00
warren%netscape.com 7d4a63e139 Added nsVoidKey and nsISupportsKey. 1999-02-06 04:01:23 +00:00
warren%netscape.com d59ad30013 Fixed unsigned problems. 1999-02-06 03:56:36 +00:00
warren%netscape.com 8493a187aa Added strncmp, made lengths be unsigned. 1999-02-06 03:56:17 +00:00
erik%netscape.com 8d6a842091 Moved nsPropertiesFactory constructor from .h to .cpp file 1999-02-05 21:06:07 +00:00
dp%netscape.com 6c655137e4 Fixing mRefCnt not being initialized for nsPropertiesFactory 1999-02-05 06:05:51 +00:00
alecf%netscape.com 37f6e883e0 fix slight typo in macro 1999-02-05 05:33:53 +00:00
alecf%netscape.com 2ff4ba41fd Update macros to include string type, and add documentation/example 1999-02-05 01:39:12 +00:00
waterson%netscape.com eb5acecc63 Fixed comments that were referring to monitors. 1999-02-04 23:20:30 +00:00
mcmullen%netscape.com 066da0cfa8 Improved the readline() comment, as it was not quite clear. 1999-02-04 19:25:59 +00:00
coop%netscape.com 4a94bde961 NOT YET PART OF SEAMONKEY:
* added support for non-verbose mode as default for typelib dumper.
1999-02-04 03:16:07 +00:00
waterson%netscape.com be4af13847 Initial revision. 1999-02-04 00:40:22 +00:00
waterson%netscape.com 01610bdaeb Added headers that nsAutoLock needs. 1999-02-04 00:39:49 +00:00
coop%netscape.com 49961011bc NOT YET PART OF SEAMONKEY:
* add command-line flag for verbose mode, which will soon not be the default
* now outputs to stdout
* added output for int64, uint64, and wchar
1999-02-04 00:31:59 +00:00
waterson%netscape.com a1cee51422 Added operator new() and operator delete() to ensure that nobody tries to create one of these beasts on the free store. 1999-02-04 00:25:56 +00:00
shaver%netscape.com a92a40fef4 New back-end switching for whiter teeth and fresher breath.
De-const-ipate in params.  (Maybe strings should still be const?  I await the
outcome of The Great String Debate.)
1999-02-03 23:55:33 +00:00
waterson%netscape.com e232c67d81 Initial revision. 1999-02-03 22:44:14 +00:00
shaver%netscape.com dda8be52bc (NOT YET PART OF SEAMONKEY)
Update to use 16-bit IDE indices (one-based) instead of header-pool offsets.
Removed debugging cruft.
Added prototypes to get rid of warnings.
Fix many dumb mistakes WRT allocation and index checking.
1999-02-03 21:37:25 +00:00
pinkerton%netscape.com 071a233d80 add nsHashtable::Reset to exports. 1999-02-03 21:23:36 +00:00
vidur%netscape.com ef9770e5a1 Added a Reset method to nsHashtable 1999-02-03 19:35:11 +00:00
cata%netscape.com eccefa0fdb Hacky Unicode converters implementation replaced with the real xpcom thing. 1999-02-03 18:55:10 +00:00
dp%netscape.com dcf56a87cd Fixing linux orange tree. 1999-02-03 18:49:04 +00:00