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

187 Коммитов

Автор SHA1 Сообщение Дата
beard%netscape.com eb661e0290 changed default 'pref' resource to conform to size of XPIDLSettings struct (40 bytes) 1999-05-08 21:09:19 +00:00
beard%netscape.com ecb01e0921 using defined(XPIDL_PLUGIN) to determine when to rename main 1999-05-08 20:40:26 +00:00
beard%netscape.com 1d24113a89 added XPIDL_PLUGIN macro, to distinguish when the code is being compiled as a CodeWarrior plugin. 1999-05-08 20:38:11 +00:00
beard%netscape.com c8c460d775 changed link order in linker 1999-05-08 20:37:15 +00:00
beard%netscape.com ea13807ccc fixed a 'MENU' resource id conflict (128 is CodeWarrior IDE's Apple menu) 1999-05-08 20:36:56 +00:00
beard%netscape.com 4158caccd8 First Checked In. 1999-05-06 20:39:56 +00:00
beard%netscape.com e37c083d37 First Checked In. 1999-05-06 15:06:11 +00:00
beard%netscape.com 0a7c2d5f5b First Checked In. 1999-05-06 14:39:20 +00:00
beard%netscape.com ac665484f9 XP_MAC: no longer using mac_fopen, replacing fopen itself. added mac_warning. 1999-05-06 14:27:57 +00:00
jdunn%netscape.com d7c48d4095 remove the -lIDL from the EX_LIBS line. It is included with $(LIBIDL_LIBS)
correctly.  HP chokes on the -lIDL since there is no preceding -L<path to libIDL.a>
1999-05-04 22:16:15 +00:00
jband%netscape.com 098ff3f390 change to make xpidl [shared] cause a const qualifier to be emitted and wstring to map to PRUnichar rather than PRUint16 1999-05-04 20:03:43 +00:00
sspitzer%netscape.com c425481936 changes to get this to build with the -pedanic flag.
(when you pass --enable-pedantic to the compiler)
1999-05-04 17:21:33 +00:00
mccabe%netscape.com 7b45b56ec2 Fix to 5899; xpidl now looks for its target file where it's told to rather than eagerly plucking it out of the supplied includes directories.
Also removed an obsolete check against libIDL 0.6.2.
1999-05-04 10:52:20 +00:00
mccabe%netscape.com ef8decef32 Fix to 5898. xpidl now works like the rest of the compilers in the world, and understands -Ifoo as well as -I foo.
Thanks to Heikki Toivonen <heikki@citec.fi> for this suggestion.
1999-05-04 08:21:36 +00:00
mccabe%netscape.com 718f08047f Go from explicit $(shell ) calls to glib-config and libIDL-config to using $LIBIDL_CFLAGS, $LIBIDL_LIBS, as set in libIDL.m4. 1999-04-23 06:18:03 +00:00
mccabe%netscape.com 8f0836280f Use @GLIB_CONFIG@ and @LIBIDL_CONFIG@ autoconf variables to find glib-config and libIDL config, rather than hardcoding thier names.
Thanks to Greg Roelofs for this fix.
1999-04-19 08:31:42 +00:00
mccabe%netscape.com 4a9c5b4415 Changed makefile to request --cflags and --libs from libIDL-config as well as from glib-config, to handle those cases where libIDL is installed in a different place than glib.
Thanks to Tim Rowley <tor@cs.brown.edu> for this fix.
1999-04-17 03:54:39 +00:00
mccabe%netscape.com e33e295f30 Enabling xpidl as a standard part of the unix and windows build. Changed checks against BUILD_XPIDL to the (as yet undefined) USE_XPIDL variable in libpref, rdf, xpfe/AppCores, to keep them from firing just yet. The BUILD_XPIDL-enabling machinery in configure.in is unchanged, but BUILD_XPIDL is unused for now.
See http://www.mozilla.org/scriptable/xpidl/ if this breaks you.
1999-04-15 18:28:27 +00:00
jband%netscape.com 5f9bbffb34 not yet part of seamonkey build -- fix problem with forward declarations in idl 1999-04-15 03:32:18 +00:00
mccabe%netscape.com 4339690ad1 Convert some straggling PR_ASSERTS to XPT_ASSERTS to complete link-time freedom from nspr. 1999-04-15 03:20:24 +00:00
mccabe%netscape.com eae9423167 Updated to include new version numbers and source, binary locations for glib, libIDL. 1999-04-14 04:48:29 +00:00
mccabe%netscape.com 8ceee11100 Remove dependency on NSPR for xpidl, libxpt and tools. 1999-04-13 20:22:02 +00:00
jband%netscape.com a48e398315 fix AIX bustage - suggested by waqar@netscape.com 1999-04-13 18:10:40 +00:00
jband%netscape.com 16c01d47fc fix for comment spanning the buffer boundary 1999-04-13 00:50:39 +00:00
waqar%netscape.com 9f0064a9e4 Changed C++ comment to a C comment to make AIX compiler happy. 1999-04-12 18:28:53 +00:00
dp%netscape.com cb68dc6bdd Using PROGID for registry instance creation. 1999-04-12 12:34:32 +00:00
beard%netscape.com 8fc80c9dd0 XP_MAC: added local strdup that uses malloc, renamed main to xpidl_main when built as a CodeWarrior plugin. 1999-04-11 00:15:09 +00:00
beard%netscape.com 3ad3483d5e XP_MAC: added call out to mac_fopen() for simple filenames (no path) to allow the CodeWarrior plugin to search for the file in the access paths. 1999-04-11 00:11:36 +00:00
beard%netscape.com f3fe5ba7b3 #include <libIDL/IDL.h> -> #include <IDL.h> on XP_MAC. 1999-04-11 00:09:14 +00:00
beard%netscape.com 1d09c36453 strdup -> xpidl_strdup, for consistency 1999-04-11 00:08:18 +00:00
jband%netscape.com 85b5e04fd6 Prepare for not emitting js stubs decls into headers. Emit the macro for GetIID. 1999-04-10 06:17:49 +00:00
leaf%mozilla.org 3643809c45 fixing gmake-ism in makefile.win 1999-04-10 02:43:42 +00:00
sspitzer%netscape.com c1410dc5b0 add the binary that gets built to the list of things to ignore 1999-04-10 00:52:22 +00:00
sspitzer%netscape.com 0c4be041ff adding these cvsignore files 1999-04-10 00:39:11 +00:00
jband%netscape.com 6bd36a0fb2 fix compiler warnings 1999-04-07 00:47:30 +00:00
jband%netscape.com 11b4cf4cf9 use a simpler scheme for handling interface flags in xpidl 1999-04-07 00:29:49 +00:00
jband%netscape.com 993ff933a8 Added support for [scriptable] flag in interface descriptor. Added [noscript]. xpconnect now checks for the [scriptable] flag. 1999-04-06 22:42:10 +00:00
mccabe%netscape.com 7d3726baf8 - Made xpidl build conditional on BUILD_XPIDL for win32 and unix
- Made win32 xpidl use glib-1.2 (instead of 1.1.)
1999-04-06 08:33:40 +00:00
jband%netscape.com b0859a052d fixed typo so no extra .pdb files get left behind 1999-04-06 00:10:10 +00:00
law%netscape.com 77f3fe30b7 Clean up .pdb file 1999-04-05 20:13:04 +00:00
dp%netscape.com 2b67bc879d Using Raw interface to accurately get key names that have special characters like / =
Printing int32 values
changed key separator in print to be - instead of /
1999-04-05 06:05:17 +00:00
dp%netscape.com b2206a9e92 Adding registry/. Removing xpidl/ since it wan't being compiled by default by the build. 1999-04-05 04:55:42 +00:00
dp%netscape.com 8efe551b22 registry Export utility makefile for unix 1999-04-05 04:34:57 +00:00
dp%netscape.com b84f8f3075 Using the nsIRegistry from the ComponentManager. 1999-04-05 04:33:49 +00:00
jband%netscape.com 051607788a set MOZ_NO_DEBUG_RTL in makefile.win for this exe 1999-04-03 21:02:45 +00:00
waterson%netscape.com 030915143e Fixed long-long codegen to use prlong macros (so it works on Mac). 1999-04-01 22:03:25 +00:00
jband%netscape.com 1d4551acd4 make -m stubs not crash on interfaces without parents 1999-03-31 07:56:36 +00:00
waterson%netscape.com e2a687bb1a Fixes to the stub generator to uncripple stub-based XPConnect a little bit: use JSObjects to get args from JS stack, then pull the privs out; handle error codes and null returns a bit more cleanly. 1999-03-31 06:08:22 +00:00
jband%netscape.com 032133b320 fixing typedef bug that I introduced with previous checkin 1999-03-29 22:33:38 +00:00
jband%netscape.com 95c15becc6 many changes to xpidl:
- Removed '-n' from usage message.
- Added name_space (if declared) to comment in generated C++ header.
- Added [ptr], [ref], and [nsid] support for native declarations.
- Added support for [const] on 'in' params.
- Now add 'const' automatically for nsID in params.
- Added support for [shared] on 'out' params.
- Added -w warnings support for non-support of sequences.
- Removed support for enum and added -w wrning that they are ignored.
- Added support in header and typelib output for constants (short and long only).
1999-03-28 22:01:33 +00:00
jband%netscape.com 7b8eacb7c7 added support for namespace attribute of interface 1999-03-25 03:24:32 +00:00
warren%netscape.com 19f56342e2 Fixed NS_RegistryGetFactory breakage. 1999-03-24 00:38:27 +00:00
jband%netscape.com 6d4eb25402 fail gracefully on badly formed uuid 1999-03-19 04:54:47 +00:00
leaf%mozilla.org 0a0f5ac00f Landing nspr library name change, and plevent function call change. 1999-03-17 21:32:03 +00:00
jband%netscape.com e36d4deb4b added octet for unsigned 8bit, made float and double work, added a Win32 batfile to build against the right MS runtime dll, added hacked temporary support for nsID expresed as nsIIDRef, added GOTO support for iid_is being native rather than an interface type; i.e. for QueryInterface style sig where a void* is used as the out type 1999-03-14 02:59:43 +00:00
jband%netscape.com a15fbddb0e support float and double in headers and typelibs 1999-03-13 01:43:19 +00:00
jband%netscape.com 293ce3d801 strings are TD_PSTRING | XPT_TDP_POINTER 1999-03-11 08:01:02 +00:00
jband%netscape.com 38a8cd5adb interfaces are pointers and getters return retvals 1999-03-11 07:12:18 +00:00
shaver%netscape.com 1221b21a69 generate meaningful annotation 1999-03-10 21:09:01 +00:00
shaver%netscape.com 0564d92d66 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
shaver%netscape.com b8bfa0940a turn off more debugging noise and prepare for 0.6.2's forward handling 1999-03-09 08:23:00 +00:00
shaver%netscape.com 8a80ca4f10 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
jband%netscape.com 1e6c8ecf40 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
shaver%netscape.com 49c5bc56a5 we do windows, but still wait on Mac 1999-03-07 02:37:17 +00:00
jband%netscape.com 493fa7642b 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 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