Commit Graph
168 Commits
Author SHA1 Message Date
mccabe@netscape.com 5f9dd85c77 Turn off support for XPIDL_JS_STUBS in generated headers by default, as
- nobody uses it

- it's confusing.
1999-05-13 23:13:17 +00:00
jband@netscape.com 9fbefb0864 fix two places where we use a node as if it were of a type other than the type it is. This was causing a problem on some platforms, though it unfortunately was working fine on Win32. Thanks to khym@bga.com (Dave Huang) 1999-05-12 07:42:32 +00:00
beard@netscape.com 98ec9c03fe bumped the version to 1.0d3 1999-05-12 05:41:53 +00:00
beard@netscape.com 94e1f62301 when popping an #include, fclose the file. 1999-05-12 05:41:29 +00:00
mccabe@netscape.com 4e9a8880f7 Fix xpidl header generation to not emit a trailing (erroneous) ',' when generating [notxpcom] interfaces.
Thanks to Alec Flett <alecf@netscape.com> for this patch.
1999-05-12 02:13:40 +00:00
mccabe@netscape.com cef620b429 Compile directly against the static libxpt.a lib, so we can use xpidl during the build without the shared library path being set. 1999-05-10 05:33:35 +00:00
beard@netscape.com f5dab05d9b now correctly returns target file info, reads files from project Data directory, writes files to output directory, uses setjmp/longjmp to trap calls to exit(). 1999-05-09 15:03:13 +00:00
beard@netscape.com 19212c35d5 using setjmp/longjmp to trap calls to exit(), compiling .xpt files into project Data folder. 1999-05-09 15:00:31 +00:00
beard@netscape.com 0a2e114981 using longjmp instead of throw 1999-05-09 14:59:15 +00:00
beard@netscape.com 698b672be6 added version.rsrc to all targets 1999-05-09 14:58:54 +00:00
beard@netscape.com e219ff4b71 moved version to version.rsrc 1999-05-09 14:58:30 +00:00
beard@netscape.com ae8288e326 First Checked In. 1999-05-09 14:58:00 +00:00
mccabe@netscape.com 71928b2bd7 Back out building xpidl with -static, because it breaks on some platforms. What's the XP way to do it? 1999-05-09 10:40:16 +00:00
mccabe@netscape.com cc340911e9 Fix to 6156.
Added $(EXTRA_DEPS) dependency to $(PROGRAM) in rules.mk, so xpidl can ask to be recompiled when libxpt changes.
1999-05-09 09:21:35 +00:00
mccabe@netscape.com 71da22a0dc Give xpidl a Makefile.in that uses the rules.mk rules for $(PROGRAM) to build, toallow use of purify target. Be warned, it won't be pretty.
Build xpidl statically by adding -static (I hope it's XP; is there an alternative?) to LDFLAGS.  So that we can use it in the build without setting the shared library path.
1999-05-09 08:34:37 +00:00
beard@netscape.com 8af9e4e878 turned off modification date caching, so files will be regenerated if missing or out of date. 1999-05-09 03:32:22 +00:00
beard@netscape.com c6cfe6eb20 NPL, using CWGetStoredObjectFileSpec() to get the location of each output file, instead of constructing from input file's name. 1999-05-09 03:27:07 +00:00
beard@netscape.com 639856b2a0 NPL, removed Disassembly code (moved to linker), now using CWStoreObjectData() to associate output file with compilation. This lets CodeWarrior delete the file when objects are removed, and regenerate when file is deleted externally. 1999-05-09 03:27:05 +00:00
beard@netscape.com dbbbefa87e bumped version, changed Flags to latest CWPro4 format to use newer APIs. 1999-05-09 03:27:03 +00:00
beard@netscape.com 4d374072f3 bumped version 1999-05-09 03:27:01 +00:00
beard@netscape.com f1e33051ab cleaned up, removed non-essential code, NPL 1999-05-09 03:19:47 +00:00
beard@netscape.com 522c337990 NPL 1999-05-09 03:19:07 +00:00
beard@netscape.com cc4fdc643d added a "build all" target 1999-05-08 23:18:39 +00:00
beard@netscape.com 982e587afe added version resources 1999-05-08 23:18:12 +00:00
beard@netscape.com 94526244dc First Checked In. 1999-05-08 23:05:34 +00:00
beard@netscape.com 46c0c5303f removed xpt_dump.c from compiler target, moved exclusively to linker target. 1999-05-08 22:58:42 +00:00
beard@netscape.com 6ea455cc3c added custom fopen, the only opens files in the output directory, added mac_get_file_length(), which is used in lieu of stat, turned on Disassembly function in linker. 1999-05-08 22:58:07 +00:00
beard@netscape.com cdfae59df8 put in sanity checking of pref data, if its size is incorrect it reverts to factory settings. 1999-05-08 22:56:39 +00:00
beard@netscape.com 85146751dc added mac_get_file_length(), turned off disassembly (moved to linker) 1999-05-08 22:55:42 +00:00
beard@netscape.com 3f1c344267 turned off the "cantDisassemble" bit, moving disassembly to the linker. 1999-05-08 22:54:23 +00:00
beard@netscape.com 08a6b15aaa changed output field to use Str32Field type for alignment purposes (uses 34 bytes rather than 33). 1999-05-08 21:10:22 +00:00
beard@netscape.com a7d32987c7 changed default 'pref' resource to conform to size of XPIDLSettings struct (40 bytes) 1999-05-08 21:09:19 +00:00
beard@netscape.com e119ca3188 using defined(XPIDL_PLUGIN) to determine when to rename main 1999-05-08 20:40:26 +00:00
beard@netscape.com c9ad9ab5c4 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 4b84ed9905 changed link order in linker 1999-05-08 20:37:15 +00:00
beard@netscape.com 6bffd06e09 fixed a 'MENU' resource id conflict (128 is CodeWarrior IDE's Apple menu) 1999-05-08 20:36:56 +00:00
beard@netscape.com 9de1642b86 First Checked In. 1999-05-06 20:39:56 +00:00
beard@netscape.com f5f6999d98 First Checked In. 1999-05-06 15:06:11 +00:00
beard@netscape.com d5dbd8db72 First Checked In. 1999-05-06 14:39:20 +00:00
beard@netscape.com 130326ab4d XP_MAC: no longer using mac_fopen, replacing fopen itself. added mac_warning. 1999-05-06 14:27:57 +00:00
jdunn@netscape.com 664bc78fdb 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 bdd11949ab 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 ed28c3ec1a 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 7245413c68 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 03b7e1a216 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 1d87bea48c 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 99fc93bbee 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 2873e1a46d 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 c8d9a055da 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 7b55919445 not yet part of seamonkey build -- fix problem with forward declarations in idl 1999-04-15 03:32:18 +00:00