mccabe%netscape.com
546751fb5d
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.
git-svn-id: svn://10.0.0.236/trunk@30104 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-04 10:52:20 +00:00
mccabe%netscape.com
2a30f214a2
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.
git-svn-id: svn://10.0.0.236/trunk@30098 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-04 08:21:36 +00:00
mccabe%netscape.com
d88335f797
Go from explicit $(shell ) calls to glib-config and libIDL-config to using $LIBIDL_CFLAGS, $LIBIDL_LIBS, as set in libIDL.m4.
...
git-svn-id: svn://10.0.0.236/trunk@28799 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-23 06:18:03 +00:00
mccabe%netscape.com
9f7c7f3abc
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.
git-svn-id: svn://10.0.0.236/trunk@28041 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-19 08:31:42 +00:00
mccabe%netscape.com
b47ff84d5d
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.
git-svn-id: svn://10.0.0.236/trunk@27975 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-17 03:54:39 +00:00
mccabe%netscape.com
7af3e4b81f
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.
git-svn-id: svn://10.0.0.236/trunk@27572 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-15 18:28:27 +00:00
jband%netscape.com
0853bfc4ca
not yet part of seamonkey build -- fix problem with forward declarations in idl
...
git-svn-id: svn://10.0.0.236/trunk@27536 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-15 03:32:18 +00:00
mccabe%netscape.com
c3eaceb773
Convert some straggling PR_ASSERTS to XPT_ASSERTS to complete link-time freedom from nspr.
...
git-svn-id: svn://10.0.0.236/trunk@27535 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-15 03:20:24 +00:00
mccabe%netscape.com
93e0aa60ec
Updated to include new version numbers and source, binary locations for glib, libIDL.
...
git-svn-id: svn://10.0.0.236/trunk@27452 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-14 04:48:29 +00:00
mccabe%netscape.com
88770dfe8f
Remove dependency on NSPR for xpidl, libxpt and tools.
...
git-svn-id: svn://10.0.0.236/trunk@27357 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-13 20:22:02 +00:00
jband%netscape.com
f6d848c45a
fix AIX bustage - suggested by waqar@netscape.com
...
git-svn-id: svn://10.0.0.236/trunk@27334 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-13 18:10:40 +00:00
jband%netscape.com
ae5f53675d
fix for comment spanning the buffer boundary
...
git-svn-id: svn://10.0.0.236/trunk@27258 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-13 00:50:39 +00:00
waqar%netscape.com
cb95040898
Changed C++ comment to a C comment to make AIX compiler happy.
...
git-svn-id: svn://10.0.0.236/trunk@27162 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-12 18:28:53 +00:00
dp%netscape.com
1948fe3b56
Using PROGID for registry instance creation.
...
git-svn-id: svn://10.0.0.236/trunk@27154 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-12 12:34:32 +00:00
beard%netscape.com
316e6f38cf
XP_MAC: added local strdup that uses malloc, renamed main to xpidl_main when built as a CodeWarrior plugin.
...
git-svn-id: svn://10.0.0.236/trunk@27077 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-11 00:15:09 +00:00
beard%netscape.com
8971b8be60
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.
...
git-svn-id: svn://10.0.0.236/trunk@27076 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-11 00:11:36 +00:00
beard%netscape.com
52524c279f
#include <libIDL/IDL.h> -> #include <IDL.h> on XP_MAC.
...
git-svn-id: svn://10.0.0.236/trunk@27075 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-11 00:09:14 +00:00
beard%netscape.com
d2015f9655
strdup -> xpidl_strdup, for consistency
...
git-svn-id: svn://10.0.0.236/trunk@27074 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-11 00:08:18 +00:00
jband%netscape.com
38296e4df5
Prepare for not emitting js stubs decls into headers. Emit the macro for GetIID.
...
git-svn-id: svn://10.0.0.236/trunk@26973 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-10 06:17:49 +00:00
leaf%mozilla.org
92d352b5cd
fixing gmake-ism in makefile.win
...
git-svn-id: svn://10.0.0.236/trunk@26959 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-10 02:43:42 +00:00
jband%netscape.com
e616acfd22
fix compiler warnings
...
git-svn-id: svn://10.0.0.236/trunk@26636 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-07 00:47:30 +00:00
jband%netscape.com
c1d5bee341
use a simpler scheme for handling interface flags in xpidl
...
git-svn-id: svn://10.0.0.236/trunk@26628 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-07 00:29:49 +00:00
jband%netscape.com
e609adb924
Added support for [scriptable] flag in interface descriptor. Added [noscript]. xpconnect now checks for the [scriptable] flag.
...
git-svn-id: svn://10.0.0.236/trunk@26574 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-06 22:42:10 +00:00
mccabe%netscape.com
89e3055e35
- Made xpidl build conditional on BUILD_XPIDL for win32 and unix
...
- Made win32 xpidl use glib-1.2 (instead of 1.1.)
git-svn-id: svn://10.0.0.236/trunk@26472 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-06 08:33:40 +00:00
jband%netscape.com
c187e79606
fixed typo so no extra .pdb files get left behind
...
git-svn-id: svn://10.0.0.236/trunk@26375 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-06 00:10:10 +00:00
law%netscape.com
8d102646a5
Clean up .pdb file
...
git-svn-id: svn://10.0.0.236/trunk@26312 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-05 20:13:04 +00:00
dp%netscape.com
53c10d5032
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 /
git-svn-id: svn://10.0.0.236/trunk@26281 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-05 06:05:17 +00:00
dp%netscape.com
158b1a0d15
Adding registry/. Removing xpidl/ since it wan't being compiled by default by the build.
...
git-svn-id: svn://10.0.0.236/trunk@26278 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-05 04:55:42 +00:00
dp%netscape.com
cb80e986f4
registry Export utility makefile for unix
...
git-svn-id: svn://10.0.0.236/trunk@26275 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-05 04:34:57 +00:00
dp%netscape.com
1b51931691
Using the nsIRegistry from the ComponentManager.
...
git-svn-id: svn://10.0.0.236/trunk@26274 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-05 04:33:49 +00:00
jband%netscape.com
5f44ac5e13
set MOZ_NO_DEBUG_RTL in makefile.win for this exe
...
git-svn-id: svn://10.0.0.236/trunk@26170 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-03 21:02:45 +00:00
waterson%netscape.com
e7162f3f21
Fixed long-long codegen to use prlong macros (so it works on Mac).
...
git-svn-id: svn://10.0.0.236/trunk@25926 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-01 22:03:25 +00:00
jband%netscape.com
eb05fdd8d9
make -m stubs not crash on interfaces without parents
...
git-svn-id: svn://10.0.0.236/trunk@25697 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-31 07:56:36 +00:00
waterson%netscape.com
84d57f9f9f
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.
...
git-svn-id: svn://10.0.0.236/trunk@25680 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-31 06:08:22 +00:00
jband%netscape.com
32a4bea329
fixing typedef bug that I introduced with previous checkin
...
git-svn-id: svn://10.0.0.236/trunk@25469 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-29 22:33:38 +00:00
jband%netscape.com
8b35842e65
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).
git-svn-id: svn://10.0.0.236/trunk@25413 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-28 22:01:33 +00:00
jband%netscape.com
b0003b5095
added support for namespace attribute of interface
...
git-svn-id: svn://10.0.0.236/trunk@25029 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-25 03:24:32 +00:00
warren%netscape.com
7604860b90
Fixed NS_RegistryGetFactory breakage.
...
git-svn-id: svn://10.0.0.236/trunk@24931 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-24 00:38:27 +00:00
jband%netscape.com
eee31f5abc
fail gracefully on badly formed uuid
...
git-svn-id: svn://10.0.0.236/trunk@24412 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-19 04:54:47 +00:00
leaf%mozilla.org
8fadf11677
Landing nspr library name change, and plevent function call change.
...
git-svn-id: svn://10.0.0.236/trunk@24276 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-17 21:32:03 +00:00
jband%netscape.com
a01f741d90
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
...
git-svn-id: svn://10.0.0.236/trunk@24092 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-14 02:59:43 +00:00
jband%netscape.com
8bb15255e9
support float and double in headers and typelibs
...
git-svn-id: svn://10.0.0.236/trunk@24030 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-13 01:43:19 +00:00
jband%netscape.com
bd370dabc0
strings are TD_PSTRING | XPT_TDP_POINTER
...
git-svn-id: svn://10.0.0.236/trunk@23685 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-11 08:01:02 +00:00
jband%netscape.com
498733635b
interfaces are pointers and getters return retvals
...
git-svn-id: svn://10.0.0.236/trunk@23680 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-11 07:12:18 +00:00
shaver%netscape.com
378256875c
generate meaningful annotation
...
git-svn-id: svn://10.0.0.236/trunk@23567 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-10 21:09:01 +00:00
shaver%netscape.com
5ea64cbf54
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.
git-svn-id: svn://10.0.0.236/trunk@23353 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-09 19:59:42 +00:00
shaver%netscape.com
e294264814
turn off more debugging noise and prepare for 0.6.2's forward handling
...
git-svn-id: svn://10.0.0.236/trunk@23298 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-09 08:23:00 +00:00
shaver%netscape.com
30f497ae66
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.
git-svn-id: svn://10.0.0.236/trunk@23203 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-08 21:22:29 +00:00
jband%netscape.com
073ee50abb
fix fopen mode for binary files - I'm starting to think that shaver, coop, and mccabe are doing this to me on purpose :)
...
git-svn-id: svn://10.0.0.236/trunk@23120 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-07 20:48:37 +00:00
shaver%netscape.com
44e5f9594a
we do windows, but still wait on Mac
...
git-svn-id: svn://10.0.0.236/trunk@23096 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-07 02:37:17 +00:00