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

218 Коммитов

Автор SHA1 Сообщение Дата
mccabe%netscape.com 213ef70599 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 1cbabb0d33 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 a02d7c125c bumped the version to 1.0d3 1999-05-12 05:41:53 +00:00
beard%netscape.com d784f2a2d6 when popping an #include, fclose the file. 1999-05-12 05:41:29 +00:00
mccabe%netscape.com 906d95820c 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 33f6514e9f 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 9a0ae866c1 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 a9d64fbb94 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 c0ad3120d3 using longjmp instead of throw 1999-05-09 14:59:15 +00:00
beard%netscape.com 395486c11b added version.rsrc to all targets 1999-05-09 14:58:54 +00:00
beard%netscape.com 164a8e5c07 moved version to version.rsrc 1999-05-09 14:58:30 +00:00
beard%netscape.com bb0a3cc0a9 First Checked In. 1999-05-09 14:58:00 +00:00
mccabe%netscape.com 10173b32d5 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 c86ab72aed 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 812b43a6a9 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 14436f3955 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 0df333dee8 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 3d786077ea 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 29cc2584f2 bumped version, changed Flags to latest CWPro4 format to use newer APIs. 1999-05-09 03:27:03 +00:00
beard%netscape.com ed3b875ec1 bumped version 1999-05-09 03:27:01 +00:00
beard%netscape.com 56f0808832 cleaned up, removed non-essential code, NPL 1999-05-09 03:19:47 +00:00
beard%netscape.com 2996899c0b NPL 1999-05-09 03:19:07 +00:00
beard%netscape.com 20a51c2310 added a "build all" target 1999-05-08 23:18:39 +00:00
beard%netscape.com 1b2796c55f added version resources 1999-05-08 23:18:12 +00:00
beard%netscape.com 2fc4558bc2 First Checked In. 1999-05-08 23:05:34 +00:00
beard%netscape.com b96f880380 removed xpt_dump.c from compiler target, moved exclusively to linker target. 1999-05-08 22:58:42 +00:00
beard%netscape.com 6810590c23 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 cd2562d26c 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 9050900930 added mac_get_file_length(), turned off disassembly (moved to linker) 1999-05-08 22:55:42 +00:00
beard%netscape.com de14b10f6f turned off the "cantDisassemble" bit, moving disassembly to the linker. 1999-05-08 22:54:23 +00:00
beard%netscape.com 372ce85eab 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 ffc0dca732 changed default 'pref' resource to conform to size of XPIDLSettings struct (40 bytes) 1999-05-08 21:09:19 +00:00
beard%netscape.com bff302c61c using defined(XPIDL_PLUGIN) to determine when to rename main 1999-05-08 20:40:26 +00:00
beard%netscape.com bd35c444a2 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 2a5ab43961 changed link order in linker 1999-05-08 20:37:15 +00:00
beard%netscape.com 489b7a4e02 fixed a 'MENU' resource id conflict (128 is CodeWarrior IDE's Apple menu) 1999-05-08 20:36:56 +00:00
beard%netscape.com 8a6d1e91a8 First Checked In. 1999-05-06 20:39:56 +00:00
beard%netscape.com d551533bc1 First Checked In. 1999-05-06 15:06:11 +00:00
beard%netscape.com db2e9da53f First Checked In. 1999-05-06 14:39:20 +00:00
beard%netscape.com e02996a454 XP_MAC: no longer using mac_fopen, replacing fopen itself. added mac_warning. 1999-05-06 14:27:57 +00:00
jdunn%netscape.com 1d2f3c010f 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 08b92cd4ad 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 108be1837b 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 a04bdb34e3 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 9d1f7eb750 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 7049d9fa76 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 201a325a36 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 014116e7af 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 a1eb58e008 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 b4b8105ad7 not yet part of seamonkey build -- fix problem with forward declarations in idl 1999-04-15 03:32:18 +00:00
mccabe%netscape.com df31745295 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 6e94141764 Updated to include new version numbers and source, binary locations for glib, libIDL. 1999-04-14 04:48:29 +00:00
mccabe%netscape.com 8be0ea87e3 Remove dependency on NSPR for xpidl, libxpt and tools. 1999-04-13 20:22:02 +00:00
jband%netscape.com 33a0a52103 fix AIX bustage - suggested by waqar@netscape.com 1999-04-13 18:10:40 +00:00
jband%netscape.com 89e4ae2743 fix for comment spanning the buffer boundary 1999-04-13 00:50:39 +00:00
waqar%netscape.com 9b9df58f66 Changed C++ comment to a C comment to make AIX compiler happy. 1999-04-12 18:28:53 +00:00
dp%netscape.com bc22606b23 Using PROGID for registry instance creation. 1999-04-12 12:34:32 +00:00
beard%netscape.com 72d64a8636 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 029f7dcb2a 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 1bba2e4474 #include <libIDL/IDL.h> -> #include <IDL.h> on XP_MAC. 1999-04-11 00:09:14 +00:00
beard%netscape.com cdbb982652 strdup -> xpidl_strdup, for consistency 1999-04-11 00:08:18 +00:00
jband%netscape.com 3d964bce21 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 cb32b873eb fixing gmake-ism in makefile.win 1999-04-10 02:43:42 +00:00
sspitzer%netscape.com 7b2008351c add the binary that gets built to the list of things to ignore 1999-04-10 00:52:22 +00:00
sspitzer%netscape.com 7ab6d8f00e adding these cvsignore files 1999-04-10 00:39:11 +00:00
jband%netscape.com 97149b170a fix compiler warnings 1999-04-07 00:47:30 +00:00
jband%netscape.com bf29cbbcf4 use a simpler scheme for handling interface flags in xpidl 1999-04-07 00:29:49 +00:00
jband%netscape.com 52b186b884 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 55378a7495 - 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 01475d8a25 fixed typo so no extra .pdb files get left behind 1999-04-06 00:10:10 +00:00
law%netscape.com 3a97f68e0e Clean up .pdb file 1999-04-05 20:13:04 +00:00
dp%netscape.com 9e53ff6918 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 e936d4f73d 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 42357112ab registry Export utility makefile for unix 1999-04-05 04:34:57 +00:00
dp%netscape.com 46e3686b99 Using the nsIRegistry from the ComponentManager. 1999-04-05 04:33:49 +00:00
jband%netscape.com fafe628163 set MOZ_NO_DEBUG_RTL in makefile.win for this exe 1999-04-03 21:02:45 +00:00
waterson%netscape.com 990bef22e5 Fixed long-long codegen to use prlong macros (so it works on Mac). 1999-04-01 22:03:25 +00:00
jband%netscape.com 7f712c54a8 make -m stubs not crash on interfaces without parents 1999-03-31 07:56:36 +00:00
waterson%netscape.com cff85cdb02 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 7845b97d17 fixing typedef bug that I introduced with previous checkin 1999-03-29 22:33:38 +00:00
jband%netscape.com c5e8747649 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 843e4d0212 added support for namespace attribute of interface 1999-03-25 03:24:32 +00:00
warren%netscape.com 4de9f8f9af Fixed NS_RegistryGetFactory breakage. 1999-03-24 00:38:27 +00:00
jband%netscape.com 42c71b1afc fail gracefully on badly formed uuid 1999-03-19 04:54:47 +00:00
leaf%mozilla.org 4ad9f70d5d Landing nspr library name change, and plevent function call change. 1999-03-17 21:32:03 +00:00
jband%netscape.com c7d0c3e048 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 2e3f289396 support float and double in headers and typelibs 1999-03-13 01:43:19 +00:00
jband%netscape.com 4788fda605 strings are TD_PSTRING | XPT_TDP_POINTER 1999-03-11 08:01:02 +00:00
jband%netscape.com 0ed6b5c0ec interfaces are pointers and getters return retvals 1999-03-11 07:12:18 +00:00
shaver%netscape.com 4e97c87ca2 generate meaningful annotation 1999-03-10 21:09:01 +00:00
shaver%netscape.com be86a9ee70 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 58164daf67 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 5346cd6379 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 5de5ba19b3 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 07e853ae36 we do windows, but still wait on Mac 1999-03-07 02:37:17 +00:00
jband%netscape.com a1ccd8bd8a 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 21119d07b8 getting shaver's changes compiling on Win32 1999-03-06 21:35:01 +00:00
shaver%netscape.com 1a05939593 updated README and fixed 3484 (make in strings const) 1999-03-06 20:59:41 +00:00
shaver%netscape.com 87bb504802 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 2ec0a397ea rename |IID()| --> |GetIID()| 1999-03-03 19:48:57 +00:00