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

449 Коммитов

Автор SHA1 Сообщение Дата
brade%netscape.com 748aa65c90 reduce Macintosh compiler warnings by removing extra ; 1999-01-06 18:49:37 +00:00
scc%netscape.com 03af84c93b defined NSCAP_NEED_UNUSED_VIRTUAL_IMPLEMENTATIONS for GNU 2.7 under linux. Fixed URL leading to the user manual. Noted that ramiro is working on getting all these special #defines handled by the configuration system instead. 1999-01-05 21:07:57 +00:00
rpotts%netscape.com d24a5c8c3d On windows call PL_InitializeEventsLib(...) until the new PL_event apis are available... 1999-01-05 09:44:28 +00:00
rpotts%netscape.com 2e0ca1df56 On windows only, ignore the eventQ kept by the eventQ service... Until the event Q is created with PL_CreateNativeEventQueue(...) only the main event Q can be used... 1999-01-05 05:43:53 +00:00
rpotts%netscape.com c3592ae57d Added nsXPComFactory.cpp and nsEventQueueService.cpp to the windows build 1999-01-05 05:42:38 +00:00
rpotts%netscape.com a5606ccdd6 Added new headers to the EXPORT rule... 1999-01-04 23:08:44 +00:00
ftang%netscape.com 8ad00c6ebb uncomment nsRegistery::FreeLibrary line 1999-01-04 21:52:15 +00:00
rpotts%netscape.com 8e4bc75589 Added the nsIEventQueueService IID... 1999-01-04 08:50:43 +00:00
rpotts%netscape.com ea08a6a9d0 This is the implementation of the EventQueue service... 1999-01-04 08:50:10 +00:00
rpotts%netscape.com df1a37147c This is the implementation of NS_GetFactory(...) for the xpcom DLL. 1999-01-04 08:49:49 +00:00
rpotts%netscape.com 9b80dfefd6 This is a templatized implementation of an XPCOM factory... 1999-01-04 08:44:26 +00:00
rpotts%netscape.com d54b5861d0 THis file contains the CLSIDs of components which can be created by the xpcom factory... 1999-01-04 08:43:52 +00:00
rpotts%netscape.com dd0172c911 Interface to the EventQueue Service... 1999-01-04 08:43:12 +00:00
coop%netscape.com 445151ea1c Added reference to xpidl_typelib.h 1998-12-31 22:11:39 +00:00
coop%netscape.com 5f1e87dfb3 Initial pass at declarations required for building typelib files. 1998-12-31 22:11:05 +00:00
mcmullen%netscape.com 4d29219473 Simplify the console case, so that Windows does not think it has to compile with exception handling. 1998-12-29 00:24:32 +00:00
mcmullen%netscape.com 6d0e6f09d0 Allow partial paths. 1998-12-24 00:01:32 +00:00
mcmullen%netscape.com 41dfff2b28 Made this stuff do something sensible for Macintosh. The part about logging the error is temporary. 1998-12-23 22:13:47 +00:00
vidur%netscape.com 03857886a6 Added script namespace management mechanism. This allows external native code to add symbols and constructors to the script global namespace. Added IID() static method generation to IDL generator. 1998-12-22 22:03:20 +00:00
law%netscape.com 6de1ece277 Add nsFile* to Windows build 1998-12-22 20:06:56 +00:00
law%netscape.com a7d859328e Add nsFile* to Windows build 1998-12-22 20:01:41 +00:00
troy%netscape.com f334dec10a Added comment to strdup() noting that t he caller must use delete[]
to free the memory
1998-12-22 19:01:14 +00:00
waterson%netscape.com 84d991d7bd Added RDF module. 1998-12-22 01:11:18 +00:00
scc%netscape.com 761f39f1d3 added |dont_QueryInterface| facility, re-added the NS_ADDREF macros, though conditionally 1998-12-21 23:26:39 +00:00
mcmullen%netscape.com d1599a66e6 Added an NS_BASE for windows. 1998-12-18 23:30:44 +00:00
mcmullen%netscape.com 7a7045d044 Rewrote the stream stuff to be simple, since Unix build environment cannot even handle ostream and istream. This builds and runs correctly on Linux and Macintosh now. 1998-12-18 23:06:54 +00:00
mcmullen%netscape.com 4b6f7b6aa9 First Checked In. 1998-12-18 22:38:28 +00:00
vidur%netscape.com bc035a4aa3 Added IID for nsIUnicharStreamLoader 1998-12-18 19:38:19 +00:00
shaver%netscape.com f695bdad8d invoke -> typelib 1998-12-18 17:12:07 +00:00
scc%netscape.com 34bcd6ef0b NSCAP_FEATURE_DONT_ADDREF is no longer optional, and the symbol has gone away. This facility turns out to be needed. Also catch the case when operator= is called on a dereferenced smart pointer. Fixed some documentation. 1998-12-18 03:45:44 +00:00
scc%netscape.com b53a07651f NSCAP_FEATURE_DONT_ADDREF is no longer optional, and the symbol has gone away. This facility turns out to be needed. 1998-12-18 03:44:51 +00:00
scc%netscape.com ba11eb34ad Added static IID() method. This member function will be generated automatically in the future. 1998-12-18 03:43:29 +00:00
scc%netscape.com 74dd4cc281 Fixed build bustage (bad access paths) 1998-12-17 19:47:47 +00:00
alecf%netscape.com ad42830c67 certain methods were not spitting out = 0 at the end of the header 1998-12-17 19:39:10 +00:00
mjudge%netscape.com db135b9e12 removing files from repository 1998-12-17 19:39:02 +00:00
scc%netscape.com 8b0ea58b42 enabled the dont_AddRef feature, for when functions return an already AddRefed result, e.g. |mSmartPtr = dont_AddRef(GetThing());| 1998-12-17 19:32:00 +00:00
scc%netscape.com 1b009c5957 COM_auto_ptr --> nsCOMPtr 1998-12-17 19:27:29 +00:00
mjudge%netscape.com 5528d1f34f changing auto ptr to use the new header 1998-12-17 19:25:32 +00:00
scc%netscape.com 06662f7791 First Checked In. 1998-12-17 19:21:58 +00:00
scc%netscape.com 52ad8f5326 First Checked In. 1998-12-17 19:12:45 +00:00
warren%netscape.com 0580a8e5c4 Networking changes: Reworked nsIURL, adding setters, factoring Open. Unsigned arguments for nsIStreamListener. 1998-12-16 05:40:20 +00:00
mcmullen%netscape.com c3df6e83ac Made all this build on Unix, using Macros up the wazoo 1998-12-15 22:45:09 +00:00
brade%netscape.com 087136fce6 fix compiler warning / bug: initialize index to 0 (reviewed peterl@netscape.com). 1998-12-15 22:19:04 +00:00
vidur%netscape.com fd093d0d82 Enabled asynchronous loading of SCRIPT SRC=, STYLE SRC= and LINK elements for style sheets. Changed nsIScriptContext to not be dependent on JavaScript. 1998-12-15 06:10:59 +00:00
mcafee%netscape.com 3214fc3211 Adding Unix makefile 1998-12-15 01:27:04 +00:00
shaver%netscape.com ec05dde4ba Now use MODULE instead of MODULE_NAME.
Update README for new libIDL version.
Add -o basename option and use proper output.
Eradicate some final stdout references.
Pretty printing, whee.
New |operator delete| and |IID| stuff for scc.
Support for raw codefrags (``%{ C++\n ... \n%}\n'') and more bufmgmt debugging.
Use IDL_file_set everywhere.
1998-12-14 18:47:39 +00:00
beard%netscape.com c2d89d9c06 Now includes.exp files. 1998-12-13 18:33:00 +00:00
beard%netscape.com 18984e5a80 First Checked In. 1998-12-13 05:01:04 +00:00
mcmullen%netscape.com da55cc69e0 Deal with the case of a null string. 1998-12-12 02:07:11 +00:00
law%netscape.com 6ea423fbaa Minor fix in operator= 1998-12-12 01:28:28 +00:00
scc%netscape.com a3cd464c31 VC++4.2 can't use a declaration expression as a test. Oh well. Moved declaration to outside the test. 1998-12-12 01:26:11 +00:00
law%netscape.com 72b3ae3e68 Add NS_BASE to cause export from dll on Windows 1998-12-12 01:25:32 +00:00
mcmullen%netscape.com 237f90f8df More windows stuff. 1998-12-11 23:52:31 +00:00
scc%netscape.com f8dbbcf511 wrong file checked in, checking in the real one (just in case) 1998-12-11 23:49:04 +00:00
scc%netscape.com ca4a0f65a8 Significantly upgraded functionality to automatically call QueryInterface when assigning in incompatible pointers. 1998-12-11 23:43:00 +00:00
mjudge%netscape.com e404a37aab adding iid to generated file. this is ok we need this for COM ptrs 1998-12-11 23:38:30 +00:00
mcmullen%netscape.com c35cd6f254 More windows tweaks 1998-12-11 23:05:24 +00:00
mcmullen%netscape.com e24443adb9 And again. 1998-12-11 18:17:22 +00:00
vidur%netscape.com 3a9dd64bbf Work in progress of async loading of SCRIPT and STYLE with SRC attributes. Content sinks can now return a BLOCK_PARSER return code, forcing the parser to block. nsIParser::EnableParser can be used to unblock. Also introduced nsIContentSink::SetParser. 1998-12-11 17:02:37 +00:00
kipp%netscape.com 155901efd2 Added FrameUtil IIDs 1998-12-11 15:18:39 +00:00
mcmullen%netscape.com 5ed1d35068 More tweaks. 1998-12-11 03:17:47 +00:00
peterl%netscape.com 07d8f8d031 added namespace IIDs 1998-12-11 02:29:14 +00:00
mcmullen%netscape.com 0b5d962ae9 Some more tweaks to suit various compilers and platforms. 1998-12-11 01:42:04 +00:00
kin%netscape.com 4d56c25568 Fixed off by 1 error that occurs in PopBack() when
(mOrigin + mSize) >= mCapacity.
1998-12-09 17:07:20 +00:00
shaver%netscape.com b7e56cfb2f Fixed usage-string typo.
Update to 0.5.7 IDL_tree_property_get API.
Reworked input callback for cleanliness.
Add (not-yet-working) infrastructure for %{ C %} raw blocks.
1998-12-09 13:08:29 +00:00
mcmullen%netscape.com 2d4c67ae2c Trying to make this build on unix gcc compilers, I have removed all references to std::string, using char* instead. This almost made me cry (not just because of all the work I had to do over again). 1998-12-09 08:47:30 +00:00
mcmullen%netscape.com 64ac3c15be Tried to make this a little more gcc friendly - created some NS_USING_NAMESPACE/ NS_NAMESPACE ugliness. Sigh. 1998-12-09 05:09:28 +00:00
pinkerton%netscape.com c415f8beaf fix for new universal headers. Don't use PLstringfuncs and add an inline helper to the helper namespace which does the same things. 1998-12-09 01:56:36 +00:00
law%netscape.com e89799a864 Added Windoze support 1998-12-09 01:04:53 +00:00
mcmullen%netscape.com 0fe2983dc3 Polished the interfaces, added long comments in the headers. The next step is checking by Bill Law and Steve Lamm for Win and Unix. Then it's open season. 1998-12-08 22:45:42 +00:00
mcmullen%netscape.com 4e091b7bcf First Checked In. 1998-12-08 22:43:57 +00:00
mcmullen%netscape.com 4e1f4f4572 First Checked In. 1998-12-08 02:22:54 +00:00
mcmullen%netscape.com 0fd0d405c3 First Checked In. 1998-12-08 02:15:50 +00:00
akkana%netscape.com 90d7c049da Change NULL to 0 in NS_RELEASE and NS_IF_RELEASE macros.
This is illegal C++ (at least on machines where NULL == (void*)0)
and breaks some compilers, issues warnings in others.
1998-12-07 21:57:57 +00:00
shaver%netscape.com 5e62a635e8 remove dead code, tweak whitespace 1998-12-07 20:23:37 +00:00
ramiro%netscape.com 2df5228f6a Ignore the generated makefile 1998-12-07 06:45:39 +00:00
shaver%netscape.com e02501b11c Added varargs support (produces "..." in C++ until we figure out what
nsIVarargs should look like).
IDL return value now becomes a final (but before varargs!) out parameter
_retval in C++.
Prettied up some whitespace.
1998-12-06 19:52:21 +00:00
shaver%netscape.com c567e3d343 Update usage message.
Add #include processing.
Generate #define NS_IFOO_IID_STR for kipp.
More header-generation niceties: #ifndef __nsIFoo_h__, DO NOT EDIT warning
now mentions source filename.
Generate #include in header to match #include in IDL, not by grovelling for
referenced interfaces.
(XXX: Need to polish up memory management.)
1998-12-06 18:41:44 +00:00
troy%netscape.com e88e7a9094 Added nsIPrintStatusCallback 1998-12-06 00:30:51 +00:00
ramiro%netscape.com 9de953c38c Have cvs ignore generated files. 1998-12-05 11:07:45 +00:00
ramiro%netscape.com e2b921bf3c Add cvsignore entries for makefiles generated bu autoconf. 1998-12-05 09:07:33 +00:00
mjudge%netscape.com 113351a624 that didnt work... mac croaked 1998-12-04 00:01:09 +00:00
mjudge%netscape.com b6c191f848 changing NULL to nsnull 1998-12-03 23:40:06 +00:00
mjudge%netscape.com 0495ee6cc6 new enumerator interface change 1998-12-03 21:46:51 +00:00
shaver%netscape.com 8436786eb0 Add generated file warning.
Remove excessive #include "nsISupports.h" generation.
Interfaces are public:, accessors are pure (= 0).
1998-12-03 17:38:55 +00:00
shaver%netscape.com e9350617c4 Fix indentation, which was my fault and not andrewv's.
Add nsISupports to the always-include list.
Clean up interface generation code, and then mess it up again with
IID handling.
1998-12-03 06:33:59 +00:00
pierre%netscape.com e691ee06e5 Making nsMacRepository.h obsolete: the shared lib conversion is done. 1998-12-03 01:06:00 +00:00
shaver%netscape.com 907b2e8ea7 Updated README.
Better arg handling and now lower-case mode flags.
andrewv's fixes to lose dependency on IDLN_ enum order (but not his changes
to indentation settings!).
1998-12-02 19:53:27 +00:00
troy%netscape.com 77f6f5e06e Added ID for nsIPageSequenceFrame 1998-12-02 03:53:01 +00:00
mjudge%netscape.com 500a20c8b4 making big changes to enumerator class and adding nsICollection 1998-12-01 17:55:08 +00:00
mjudge%netscape.com 30e57ff4a6 collection interface 1998-12-01 17:50:57 +00:00
beard%netscape.com c0c7bc482d Mac shared library migration. 1998-11-30 22:15:00 +00:00
jfrancis%netscape.com 8f3f49279e [sfraser checking in as jfrancis] Temporarily comment out EDITOR_DLL-related stuff until Mac is building editor, to fix build bustage. 1998-11-30 03:04:00 +00:00
jfrancis%netscape.com 4194c1b24a adding edtor lib entrty, even though we aren't actually linking it in yet. 1998-11-29 23:57:59 +00:00
shaver%netscape.com 7cb17ad5db Added NPL everywhere (ooops!).
Handle enums.
Output idents properly in IDL comments.
1998-11-28 16:52:24 +00:00
shaver%netscape.com 2356d797d9 Error message cleanups, including insertion of line/file info in initial
buffer, to make errors give correct line-number data.
Strip comments.  (Still need to handle doc comments correctly.)
1998-11-27 16:39:45 +00:00
shaver%netscape.com ff8371bf4c Updated README now includes Win32 libIDL/glib URLs, and mention of msw's
GTK+/glib 1.1.5.
Generate #includes for interfaces to which we refer.
Output inheritance data.
Switch to PRUnichar * for wstring, and char * for string.
in params that become pointer types get const'd.
1998-11-26 21:03:03 +00:00
scc%netscape.com 804df9e18c Final changes to be used in production code (though currently only allowed in Composer module). Stripped tabs, replaced with spaces; made internal macro prefix; some final naming decisions (s/func/getter/). Good luck Composer team. 1998-11-26 19:28:42 +00:00
kipp%netscape.com edabb1ad06 Expose WalkTheStack 1998-11-26 18:03:20 +00:00
peterl%netscape.com 114c9373b9 backed out previous change 1998-11-26 04:54:11 +00:00
peterl%netscape.com 9df7d582e1 new CSSOM interfaces 1998-11-26 01:18:57 +00:00
peterl%netscape.com ce35c69c6b made pointer conversion more friendly to const methods 1998-11-26 01:18:21 +00:00
shaver%netscape.com b697288da5 Added support for char, wchar and wstring types.
Fixed long long nits.
Make methods pure virtual.
Use pointers and not references.
Remove useless header.c.
1998-11-25 19:12:50 +00:00
shaver%netscape.com 6807c3fcf4 C++ class decls need a semicolon 1998-11-25 04:54:02 +00:00
shaver%netscape.com c373687100 Added input callback, in preparation for autogenerating __declspec(inhibit)
and doing the doc comment thing.
Generate method declarations.
More stdout -> state->file fixes.
1998-11-25 04:19:59 +00:00
shaver%netscape.com b68f23e3f5 Generate getter/setter/`is'er for attributes.
Report errors (and warnings).
Send output to state->file properly, instead of stdout (although state->file
is always stdout right now!).
1998-11-24 23:16:49 +00:00
rickg%netscape.com 51582a22b5 fixed bug #1203 1998-11-24 20:23:46 +00:00
rickg%netscape.com 5d77ac2437 changed ToInteger() so that it returns an error properly 1998-11-24 02:38:21 +00:00
akkana%netscape.com a254a6fbca Range specification 1998-11-24 01:39:47 +00:00
shaver%netscape.com 3f1382e38f first xpidl stuff 1998-11-23 21:02:31 +00:00
cyeh%netscape.com 65038e9551 Removing static makefiles as a part of the transition to Autoconf. I have taken great
care to only remove makefiles affailiated with building nglayout. I have also verified that
the build at this point in time succesfully builds with autoconf.

If you must recover one of these makefiles, you can use the static tag STATIC_MAKEFILES.
If I removed a makefile that you need, please e-mail cyeh@netscape.com.
1998-11-21 00:34:32 +00:00
rickg%netscape.com 91a74f3b64 updated docs for nsString class usage 1998-11-20 22:11:09 +00:00
beard%netscape.com 62b85bfb53 xpcomDebug.exp only included in debug target, xpcom.exp in both. 1998-11-20 01:04:17 +00:00
beard%netscape.com 70ac966d43 Added nsServiceManager static method exports. 1998-11-20 01:03:42 +00:00
mjudge%netscape.com b64274ee17 fixing future possible bustage even though tree is red. I will watch carefully 1998-11-19 23:25:58 +00:00
scc%netscape.com 67b8f7dc8c some changes to better conform to our coding standards; removed the facility for assigning in without AddRef-ing, outside of the context of a function call; added some comparison operators for working with raw pointers; preprocessor-ized the bool type for compilers without 1998-11-19 20:26:12 +00:00
kipp%netscape.com 9be7e3e15f Made nsString::Insert actually support the count=-1 default argument 1998-11-19 17:58:30 +00:00
mjudge%netscape.com 2bd280d84e smart pointer updates 1998-11-18 22:09:52 +00:00
kin%netscape.com a8357cfbe4 Fixes that allow us to compile on Linux. 1998-11-18 19:16:10 +00:00
kin%netscape.com eaaeb32d16 Added COM_auto_ptr.h to EXPORTS list. 1998-11-18 19:14:56 +00:00
beard%netscape.com abcb457cbe Took out PL_VectorAssertValid for non-debug build. 1998-11-18 01:36:28 +00:00
beard%netscape.com de630e90c9 Added xpcomDebug.exp to xpcomDebug.shlb target. 1998-11-18 01:35:54 +00:00
beard%netscape.com 7cb977edf9 First Checked In. 1998-11-18 01:28:37 +00:00
vidur%netscape.com bddadc0a26 New interface nsIDOMNSDocument 1998-11-17 02:37:19 +00:00
jfrancis%netscape.com bdb1543008 adding scott's XP_COM auto_pointer header to xpcom exports. 1998-11-16 19:08:50 +00:00
mjudge%netscape.com d411a0cdec fixing test app for lame windows compiler 1998-11-15 07:09:51 +00:00
mjudge%netscape.com 3ad4ca13a0 adding the void ** back in. windows compiler is lame. 1998-11-15 07:08:56 +00:00
mjudge%netscape.com ab007a89d0 oops messed up the build. fixing... 1998-11-15 04:13:14 +00:00
scc%netscape.com 64b6e39325 operator void** is superfluous; removed. Added operator* to support clients who (against better advice) write getter functions that look like this GetSomething(T*& result) 1998-11-15 02:10:04 +00:00
bjorn%netscape.com aa0fd8d09a Removing files to restructure the typelib stuff. 1998-11-14 01:22:50 +00:00
scc%netscape.com 6e4a1432aa fixed for IRIX (doesn't like new-style casts) 1998-11-14 00:35:48 +00:00
scc%netscape.com 622e6a797f SOLARIS _does_ support member using declarations, so modify the test to let them through 1998-11-13 20:07:25 +00:00
scc%netscape.com 59132d1bb4 fixed order of declarations (confused SOLARIS compiler) and return types of AddRef and Release to match in the unfortunate case that the compiler does not support member using declarations 1998-11-13 20:06:43 +00:00
scc%netscape.com eeaaa11f7d unified compiler dependent code (removed from unit-tests, inserted in header); fixed for egcs-1.1 well known bug (member using declarations don't work) 1998-11-13 19:41:24 +00:00
scc%netscape.com 5bfaf7f7ea Fixed for VC++ 4.2 (no template function specifiers at the call site) 1998-11-13 12:33:58 +00:00
scc%netscape.com 28e2a847cd Fixed (unit-tests only) for VC++ 4.2 (no 'explicit') 1998-11-13 00:34:41 +00:00
jfrancis%netscape.com f7fa2435e0 First Checked In. 1998-11-12 23:59:32 +00:00
mjudge%netscape.com 88359ec04e adding the test_com_auto_ptr.exe as a new test 1998-11-12 20:07:28 +00:00
mjudge%netscape.com 0d7b5e0794 modifying makefile.win to export the new com_auto_ptr.h file 1998-11-12 20:05:41 +00:00
scc%netscape.com 1d73acc84f First Checked In. 1998-11-12 20:00:51 +00:00
vidur%netscape.com 36a07884bf Added new interface nsIHTMLContentContainer 1998-11-12 07:56:13 +00:00
bjorn%netscape.com e1bfe84a47 New support for typeinformation and typelibraries. nsISupports.h has an
additional definition NS_DECL_ISUPPORTS_EXPORTED, which exports the threesome.
This is not yet part of the build. It will be picked up by support code in
mozilla/js/src/xpcom.
1998-11-11 23:46:21 +00:00
vidur%netscape.com 6592f22be0 Added XML display support. 1998-11-11 22:07:55 +00:00
cyeh%netscape.com 1d52872286 add the following exports: PL_VectorAssertValid PL_VectorRemove PL_VectorInsert PL_VectorAdd PL_VectorSet PL_VectorClone PL_VectorCopy PL_VectorCompact PL_VectorIsValidIndex PL_VectorSetSize PL_VectorFinalize PL_VectorInitialize PL_VectorDestroy PL_NewVector 1998-11-10 00:54:21 +00:00
wtc%netscape.com 347bac9bda Moved plvector.c and plvector.h from mozilla/nsprpub/lib/ds
to mozilla/xpcom.
Modified files: Makefile, Makefile.in, makefile.win.
1998-11-09 20:10:21 +00:00
wtc%netscape.com da5c8ed7ae Moved plvector.c and plvector.h from mozilla/nsprpub/lib/ds
to mozilla/xpcom.
Modified files: MANIFEST, Makefile, Makefile.in, makefile.win.
1998-11-09 20:09:33 +00:00
wtc%netscape.com 54b876fad2 Moved plvector.c and plvector.h from mozilla/nsprpub/lib/ds to mozilla/xpcom. 1998-11-09 20:05:38 +00:00
troy%netscape.com fd33ef03a2 Added a #define for NS_ERROR_INVALID_ARG to be the same as
NS_ERROR_ILLEGAL_VALUE. This helps make our error names more
consistent with COM
1998-11-09 19:03:05 +00:00
pierre%netscape.com a9e64e7020 fixed the 3 instances of Compare() to work with empty strings 1998-11-04 06:48:11 +00:00
pierre%netscape.com 3465e56de2 return 0 (ie. "strings are equal") instead of 1 when the 'n' of strncmp() and strncasecmp() is 0 1998-11-04 06:46:33 +00:00