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

222 Коммитов

Автор SHA1 Сообщение Дата
jband%netscape.com f89c31fa1e getting shaver's changes compiling on Win32 1999-03-06 21:35:01 +00:00
shaver%netscape.com 6fdc86af2f updated README and fixed 3484 (make in strings const) 1999-03-06 20:59:41 +00:00
shaver%netscape.com 63acef4112 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
scc%netscape.com 31ff626ae9 rename |IID()| --> |GetIID()| 1999-03-03 19:48:57 +00:00
brendan%netscape.com 55422c7fbc Deal with wstring in .idl files correctly, or at least better. 1999-03-02 03:01:39 +00:00
brendan%netscape.com 0abd6f233a Use new 'W' format with JS_ConvertArguments to get PRUnichar* out. 1999-03-02 02:51:33 +00:00
law%netscape.com c775620ca9 Fix recursion problem 1999-03-01 19:06:27 +00:00
alecf%netscape.com d9f776b9c9 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
brendan%netscape.com cb3cfa2d5e Fix indentation, fiddle to share common fputs string. 1999-02-26 02:48:01 +00:00
law%netscape.com f1a3968970 Fixes for Mac 1999-02-25 19:24:18 +00:00
law%netscape.com 6741f00476 Add DIRS=registry to win32 build 1999-02-25 19:22:13 +00:00
alecf%netscape.com fd096d13d7 include jsapi.h whenever we're doing stub work 1999-02-25 18:47:58 +00:00
alecf%netscape.com 560f11e442 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
shaver%netscape.com 129bed8df3 handle new and old libIDL, [notxpcom], #ifdef XPIDL_JS_STUBS 1999-02-23 15:28:58 +00:00
mcmullen%netscape.com 6817465add Update 1999-02-23 03:32:00 +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
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
brendan%netscape.com 5b60ff0a62 Fix goofs caught by alecf in GetJSObject generation. 1999-02-20 00:10:22 +00:00
jband%netscape.com 6f250617ab get xpidl building again on Win32 1999-02-19 21:39:41 +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
alecf%netscape.com 36d35faa8f make these libraries build during the export phase 1999-02-18 22:36:27 +00:00
brendan%netscape.com 4a35e28e1e Finish Get and SetProperty, simplify InitJSClass via globalObject. 1999-02-18 19:59:11 +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
brendan%netscape.com ac9d149744 Fixed wrapper management to be self-contained, requiring no extra interfaces. 1999-02-18 03:10:40 +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
brendan%netscape.com 9e3aa5f56d Second checkpoint. 1999-02-17 05:56:30 +00:00
brendan%netscape.com a4ae6f94b8 Checkpoint xpidl -m stub work. 1999-02-17 01:17:52 +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
mcmullen%netscape.com 93819732c1 First Checked In. 1999-02-13 00:58:54 +00:00
law%netscape.com 48857f7cbd moz->ns 1999-02-10 23:27:09 +00:00
law%netscape.com 945c60ebf5 Cleaned up i/f, XPCOM-wise 1999-02-10 19:47:56 +00:00
shaver%netscape.com a91d4ad6d2 fix #define for generated headers 1999-02-09 15:30:31 +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 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
law%netscape.com dda315c2bf Enhanced test program to display values 1999-02-02 07:41:16 +00:00
shaver%netscape.com bdffe9b15c private delete isn't the mind-bendingly fun stuff we thought it would be (for scc) 1999-01-28 05:38:14 +00:00
law%netscape.com 382b6b89d1 new registry tools 1999-01-28 03:33:49 +00:00
alecf%netscape.com 473854a11b makefile for XPIDL on Windows 1999-01-26 23:49:43 +00:00
alecf%netscape.com 941029c80a stop using IsXXX for boolean Getters 1999-01-26 18:20:30 +00:00
alecf%netscape.com ef1c3ec443 changes to make XPIDL compiler work under Windows 1999-01-21 18:59:52 +00:00
coop%netscape.com 7f88e43342 Removed references to xpidl_typelib.h 1999-01-12 19:26:37 +00:00
shaver%netscape.com 2b2e69b38c Update to (and require!) libIDL 0.5.8.
Fix silly argument processing brokenness.
Prepare for IDL_tree_to_IDL when it arrives.
Proper basename stuff for #ifdef __gen_nsIFoo_h__ and others.
Handle empty interfaces.
Dead code trimming (ident, etc.).
Typedef support, including arrays.
nsVarArgs instead of ... in C++ headers.
Fix #include scanning bug that caused pain when we skipped an include that
had already been processed.
1999-01-11 16:56:45 +00:00
coop%netscape.com b90a415ed9 Added binary file open as first step for creating typelib files. 1999-01-06 23:47:45 +00:00
coop%netscape.com fca55a6f19 Updated struc for ParamDescriptor 1999-01-06 22:07:16 +00:00
coop%netscape.com c60c5d6337 Added reference to xpidl_typelib.h 1998-12-31 22:11:39 +00:00
coop%netscape.com 362d1e4858 Initial pass at declarations required for building typelib files. 1998-12-31 22:11:05 +00:00
shaver%netscape.com 1da68bbc4d invoke -> typelib 1998-12-18 17:12:07 +00:00
alecf%netscape.com e8a7e8a313 certain methods were not spitting out = 0 at the end of the header 1998-12-17 19:39:10 +00:00
mcafee%netscape.com 8a71d0885e Adding Unix makefile 1998-12-15 01:27:04 +00:00
shaver%netscape.com 006f4aee45 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
shaver%netscape.com 16cdb9c9aa 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
shaver%netscape.com 80d5b7a816 remove dead code, tweak whitespace 1998-12-07 20:23:37 +00:00
ramiro%netscape.com 6419c9ca40 Ignore the generated makefile 1998-12-07 06:45:39 +00:00
shaver%netscape.com 98ed983b76 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 13b3f944f5 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
ramiro%netscape.com 2009b728de Add cvsignore entries for makefiles generated bu autoconf. 1998-12-05 09:07:33 +00:00
shaver%netscape.com 57369bcfc3 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 85ffd77d2a 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
shaver%netscape.com 03c6f8aa39 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
shaver%netscape.com 5dd5931d49 Added NPL everywhere (ooops!).
Handle enums.
Output idents properly in IDL comments.
1998-11-28 16:52:24 +00:00
shaver%netscape.com 1229e8bd5c 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 ffb9b8c4fa 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
shaver%netscape.com c77a1a40ba 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 cb5062801c C++ class decls need a semicolon 1998-11-25 04:54:02 +00:00
shaver%netscape.com 33268531bf 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 33892f7c8f 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
shaver%netscape.com 4fac0478da first xpidl stuff 1998-11-23 21:02:31 +00:00
danm%netscape.com 1342b0390c adding (optional) GlowCode build info. a:warren 1998-10-06 02:31:45 +00:00
kipp%netscape.com 6e4786667f new 1998-09-12 17:53:08 +00:00