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
brendan%netscape.com
a7bea6a1d8
Deal with wstring in .idl files correctly, or at least better.
1999-03-02 03:01:39 +00:00
brendan%netscape.com
b174ed2b63
Use new 'W' format with JS_ConvertArguments to get PRUnichar* out.
1999-03-02 02:51:33 +00:00
alecf%netscape.com
42a42d12dd
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
3c000de84d
Fix indentation, fiddle to share common fputs string.
1999-02-26 02:48:01 +00:00
alecf%netscape.com
88f29d5194
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
alecf%netscape.com
8ef606dbd7
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
brendan%netscape.com
4a71eaefa6
- 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
228bfb73ef
Fix goofs caught by alecf in GetJSObject generation.
1999-02-20 00:10:22 +00:00
brendan%netscape.com
051bbc0cff
Finish Get and SetProperty, simplify InitJSClass via globalObject.
1999-02-18 19:59:11 +00:00
brendan%netscape.com
51e07c6b0f
Fixed wrapper management to be self-contained, requiring no extra interfaces.
1999-02-18 03:10:40 +00:00
brendan%netscape.com
8d254d72e6
Cope with void return.
1999-02-17 22:45:12 +00:00
brendan%netscape.com
ab4487d5ca
More stub work checkpointing; expand tabs.
1999-02-17 22:13:32 +00:00
brendan%netscape.com
ee53936825
Second checkpoint.
1999-02-17 05:56:30 +00:00
brendan%netscape.com
e5596bb3ed
Checkpoint xpidl -m stub work.
1999-02-17 01:17:52 +00:00
brendan%netscape.com
fe8a88eaf3
prep for -m stub; misc code cleanups.
1999-02-16 05:10:40 +00:00