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

435 Коммитов

Автор SHA1 Сообщение Дата
dougt%netscape.com 8afbdc2689 DUH! how about this time we make the generate code do something useful. sorry about this. 2001-05-18 07:00:02 +00:00
dougt%netscape.com 7e6a5aedfb Fixing bug 81464. Adding generated NS_FORWARD_SAFE_ macros. This is so that there is a check for null before forwarding the call. Basically copy and paste code. sr=jband@netscape.com 2001-05-18 05:56:26 +00:00
Xiaobin.Lu%eng.Sun.com 756c0b5663 r=timeless sr=shaver
bug 72807 "c++ style comment warning"
2001-05-16 02:24:44 +00:00
jst%netscape.com 621060c4fd Landing the XPCDOM_20010329_BRANCH branch, changes mostly done by jband@netscape.com and jst@netscape.com, also some changes done by shaver@mozilla.org, peterv@netscape.com and markh@activestate.com. r= and sr= by vidur@netscape.com, jband@netscape.com, jst@netscpae.com, danm@netscape.com, hyatt@netscape.com, shaver@mozilla.org, dbradley@netscape.com, rpotts@netscape.com. 2001-05-08 17:42:36 +00:00
cls%seawood.org c06c69763c Remove unneeded LOST_SYM_LIBS defines. 2001-04-30 01:13:22 +00:00
jband%netscape.com d5ac4b891f fix for bug 74661. On platforms without longlong support we were reporting a possible non-error as an error. r=pinkerton sr=shaver 2001-04-05 08:38:14 +00:00
dprice%netscape.com d3aa65c0e9 71148 sr=waterson r=leaf Clearing out build bustages for MOZ_COVERAGE builds
NOT PART OF THE BUILD
2001-03-13 10:43:08 +00:00
jband%netscape.com e866369001 bug 66610 - add xpconnect support for DOMStrings. r=jst sr=brendan 2001-02-20 08:09:19 +00:00
pinkerton%netscape.com 105d3c555e carbon changes. r=pink/sdagley/beard. a=sfraser. 2001-02-13 21:48:26 +00:00
dprice%netscape.com 24e9b200c3 65845: sr=leaf r=waterson.
don't do coverage analysis for the xpidl stuff.  Slows building horribly
2001-02-07 02:21:03 +00:00
mkaply%us.ibm.com 08bfb7d1df #65880
r=cls, a=blizzard
OS/2 only change - if filename passed in contains a drive letter, just use it
2001-01-27 15:37:46 +00:00
jband%netscape.com 6bf9fd8163 add xpidl support for DOMString to fix bug 65762. r=jst sr=brendan 2001-01-26 02:32:18 +00:00
mang%subcarrier.org ce70f2ae82 Fix for #62572
Removed obsolete code that allowed implicit declaration of nsid types.
This will cause a rebuild.
r=mccabe
sr=jband
2000-12-11 23:06:26 +00:00
mccabe%netscape.com 23b20cc8d1 Fix to 8734. Make xpidl produce its' output file in the same directory it is run in. This only applies when the -o someotheroutname option isn't supplied. Previous behavior was to produce the output file in the same directory as the input file. Hopefully this'll save some confusion for first-time xpidl users.
Thanks to Mike Ang <mang@subcarrier.org> for fixing several errors in the initial version of this patch.

r=mang
sr=jband
2000-12-07 04:25:07 +00:00
mccabe%netscape.com 526d571978 Usage message spelling fix courtesy Mike Ang <mang@subcarrier.org>.
r=mccabe
2000-12-07 04:22:24 +00:00
mccabe%netscape.com 1ba66904f2 Fix to 54913. Add check against 'const unsigned long = -4', and centralize many const checks in xpidl_util.c from the various xpidl backends.
This'll cause the tree to rebuild.

sr=jband.
2000-12-07 04:17:33 +00:00
mccabe%netscape.com 225afd6723 Fixes to 52520 and 13813. Move checks against [retval] usage from xpidl_typelib code to the common xpidl_util code used by all modes, and add a new check asserting that [retva] is only applied to the last parameter. XPConnect has had this restriction for a long time.
no r=, but it's very similar to previous approved changes.  I want to get it in with other xpidl modifications, as everybody's tree needs to be rebuilt anyway.
2000-11-30 10:51:39 +00:00
mccabe%netscape.com 3c7a9fd3d1 Fix to 13765. Disallow IDL interfaces with [shared] parameters that aren't string, wstring or native. Also disallow [shared] with nsid or [array] parameters.
sr=jband
2000-11-30 09:52:29 +00:00
mccabe%netscape.com 2acfdd4b04 Better fix to problem with 57094; reinstate 57094 fix and add a conditional #undef of NS_NO_VTABLE to nsISupportsUtils.h before defining it there.
r=jband
2000-11-30 08:08:24 +00:00
mccabe%netscape.com 0e85b6fe5f Fix to 57094 is running into trouble on windows, commenting out. 2000-11-30 07:56:47 +00:00
mccabe%netscape.com 9223fb4e50 Tweak to previous checkin. Rectify 'to to' typo in comment added to generated header files. Thanks to jband for saving me the shame. 2000-11-30 07:52:16 +00:00
mccabe%netscape.com 0edadf5d11 Fixes for 40008, 40152, 40016, 51795, 57094.
Fix various aspects of xpidl, including:

don't fail on empty idl / idl containing only #includes
use error location instead of typedef location when reporting type errors
warn on interfaces that lack a uuid attribute (thanks Warren for the prod)
add include guards to generated .h files - faster mac compilation?
xpidl-generated headers don't need NS_NO_VTABLE defined.

This'll cause a tree rebuild.

r=mang (several)
sr=jband.
2000-11-30 07:51:02 +00:00
cls%seawood.org 8bd122b3d5 Resurrect REQUIRES so that we have some sort of means to track intermodule dependencies. Bug #59454 r=blizzard@mozilla.org 2000-11-20 07:16:06 +00:00
jband%netscape.com 387af722ce Allow for detection and graceful failure when we stumble upon an incompatible typelibs which might exist in the future. bug 53155. NOT fixing brendan's nit about the grammar in the comment. a=brendan@mozilla.org, r=shaver@mozilla.org,mccabe@netscape.com 2000-09-19 21:42:47 +00:00
jband%netscape.com f679e1ab67 fix bug 50445. r=shaver@mozilla.org a=brendan@mozilla.org. Thanks to Marcus G. Daniels <mgd@swarm.org> for uncovering this bug 2000-08-29 08:08:33 +00:00
mccabe%netscape.com a11931fc6a Fix to 49416.
Emit NS_NO_VTABLE in xpidl-generated interface files.  NS_NO_VTABLE is defined in nsISupportsUtils.h, and on windows generates __declspec(novtable).

This saves us some code space, and may also be a runtime win.

Initial version of this fix courtesy Adam Lock <adamlock@netscape.com>.

r=jband
a=beard


NOTE this change will cause the world to recompile.
2000-08-25 09:58:35 +00:00
jj%netscape.com 4c16df60b4 changed output location for xpt_link target 2000-08-02 22:12:10 +00:00
dmose%mozilla.org 1185ecd2ac on some windows configurations, the build has been messed up for at least a couple of weeks because some microsoft header file defines 'interface', which conflicts with the member variable in xpt_struct.h. rename the member variable from interface to iface. workaround suggested by alecf@netscape.com. r=jband@netscape.com, a=waterson@mozilla.org 2000-07-28 04:03:50 +00:00
jband%netscape.com a85b5aa646 Fix yet another instance of the qsort bug that was biting OS/2 only. See explanation in cvs log comment for revision 1.25 of xpt_link.c. Thanks to Javier Pedemonte <pedemont@us.ibm.com>. a=brendan@mozilla.org 2000-07-07 07:32:50 +00:00
cls%seawood.org e1e6c5760f Removed obsolete REQUIRES variable from every Makefile.in/makefile.win 2000-06-30 08:08:04 +00:00
mkaply%us.ibm.com e6f7d0ce76 # 40177
r = leaf, a = brendan
OS/2 M16 bringup continues - Mispelling in BIN_SUFFIX and adding LIB_SUFFIX
2000-06-01 14:20:14 +00:00
cls%seawood.org fec728bf12 More OS/2 Makefile changes. Bug #34106 Batch 13 2000-05-11 14:15:34 +00:00
cls%seawood.org 772286e0af More OS/2 Makefile changes. Bug #34106 Batch 12 2000-05-04 11:00:47 +00:00
mkaply%us.ibm.com 7bd04d1521 # 37239
r= dougt@netscape.com
OS/2 bring up continues - need an include for EMX only
2000-05-01 22:27:59 +00:00
mccabe%netscape.com 2597caf512 Fix 13413 - Require that the targets of length_is attributes have unsigned long type. There were a number of violations of this in the tree, so it turns out this was a useful one. Also add checks for missing parameters, length_is parameters that point to themselves, etc.
Fix 8833 - Allow typedefs in const declarations.

Fix several warnings.

Remove a huge chunk of #if 0 code in in xpidl_typelib.c (that had accumulated subsequent changes!)
2000-04-28 11:14:29 +00:00
jband%netscape.com f9a733be1f landing typelib loading improvements. bug 30753 2000-04-20 08:52:05 +00:00
jband%netscape.com 45a49ce848 Fix sorting bug reported by Michael Kaply <mkaply@us.ibm.com>. There was a bad assumption that qsort would produce the exact same ordering on two arrays with elements of different size even when some string keys compare the same. The fix is to use the address of the string keys as a fallback in the compare function. This works right because the two arrays have diffrent elements, but they contain pointers to shared strings. r=mccabe 2000-04-18 21:57:57 +00:00
cls%seawood.org 57978e5c23 Moved static MOZ_COMPONENT_NSPR_LIBS, MOZ_COMPONENT_XPCOM_LIBS, MOZ_COMPONENT_LIBS definitions from configure.in to config.mk. Replaced -lxpcom in Makefiles to $(XPCOM_LIBS) so that we can optionally link against -lboehm when needed. Bug #31287 2000-04-04 04:46:38 +00:00
jband%netscape.com 62c3699493 renaming 'readonly' to 'read_only' because it turns out that 'readonly' is a reserved word for some compilers (e.g. on OpenVMS) and they break. 2000-03-31 10:34:10 +00:00
cls%seawood.org 942ae72d8e Oops. Forgot a CROSS_COMPILE ifdef. 2000-03-31 08:00:08 +00:00
cls%seawood.org 5f6e2a6cff Fix cross-compiling rules so that we can build both the host & target version of our "internal" build tools.
Added .ho suffix for host objects.
Added rules for HOST_PROGRAM, HOST_LIBRARY & HOST_SIMPLE_PROGRAMS.
When cross-compiling, use the host_ versions of nsinstall, xpidl & xpidl_link and install host targets under $(DIST)/host .
Bug #11890
2000-03-31 07:18:52 +00:00
beard%netscape.com 4aac9bae2d changes to build as MPW tools. r=mccabe 2000-03-29 03:14:02 +00:00
jband%netscape.com c3cdeca13d adding new file - not part of build 2000-03-28 05:10:05 +00:00
beard%netscape.com 9151659429 added targets for MPW tool (not part of default build) 2000-03-28 03:29:34 +00:00
beard%netscape.com 43e90f67bd prefix file for MPW tools 2000-03-28 03:27:15 +00:00
jim_nance%yahoo.com 10d307989b Added code to put a U after unsigned numbers. This gets rid of the
"decimal constant is so large its unsigned" warnings.
r=shaver
2000-03-24 03:19:34 +00:00
sfraser%netscape.com 449d00bd3c Bump up the intial hash table size in a bunch of places to avoid resizing the hash later. r=scc 2000-03-22 02:43:48 +00:00
mccabe%netscape.com 2a847e0e83 Fix to 11454
Respect [noscript] property for attributes by setting the attribute as hidden in the emitted typelib.

r=jband
2000-03-18 07:55:43 +00:00
mccabe%netscape.com e7de6c52ee Fix bustage; replace strdup (no prototype on mac) with call to (existing!) xpidl_strdup. 2000-03-18 02:29:23 +00:00
mccabe%netscape.com e64609efe6 - Add preliminary code for a documentation backend. Hopefully someone will want to extend it...
- Add a compile-time check requiring non-scriptable (because they're native) attributes to be marked [noscript] within [scriptable] interfaces.  This mirrors an existing check for methods, and may save some hair-pulling for script authors.  Partial fix to 11454.

- Emit a sample implementation (#ifdef 0) into the generated .h file that component authors can copy and use as the start of their implementation.  Code courtesy jband.

r=jband, r=mccabe
2000-03-18 01:30:35 +00:00