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

450 Коммитов

Автор SHA1 Сообщение Дата
timeless%mac.com a23164a35b Bugzilla Bug 72878 zap unused variables from xpidl
r=shaver, sr=jband
2001-10-01 09:08:04 +00:00
gerv%gerv.net 4e12e44b2f Relicensing Round 1, Take 2. Most C-like NPL files -> NPL/GPL/LGPL. Bug 98089. 2001-09-28 20:14:13 +00:00
jaggernaut%netscape.com d1a7bfa843 One module per line for REQUIRES. r=/sr=alecf 2001-09-18 22:01:13 +00:00
alecf%netscape.com 62424ee7b2 Final REQUIRES changes for bug 98371, adding support for MOZ_TRACK_MODULE_DEPS to win32. r=cls (and tested by cls!) 2001-09-17 19:06:35 +00:00
jaggernaut%netscape.com 1b1ea15ef1 Bug 97328: switch XPIDL from nsAReadableString (and nsAWritableString) to const nsAString. r=cls, sr=shaver 2001-09-09 07:17:17 +00:00
dbradley%netscape.com 547dc818fc Fix for bustage, remove extra paren from my patch 2001-08-22 01:53:43 +00:00
dbradley%netscape.com d823328c42 Bug 93792: This is the part to make passing nsID by value illegal in xpidl without notxpcom, see bug for a better explanation. sr=brendan, r=jband 2001-08-22 01:04:26 +00:00
dbradley%netscape.com d5008db8dd Bug 44989: the memory allocated via g_malloc() should be freed via g_free(). sr=blizzard, r=jst 2001-08-21 12:33:28 +00:00
dbradley%netscape.com c7afe77c82 Bug 83591: XPIDL does not store the file length in the header in XPT Files. sr=scc, r=jband 2001-08-21 12:29:34 +00:00
dbradley%netscape.com 65c9d77819 Bug 90366: XPIDL-Generated code produces preprocessor warnings, removed use of ##. sr=scc, r=jband,jst 2001-08-16 13:40:51 +00:00
dbradley%netscape.com b77edf6fe1 Bug 84498: xpidl_process_idl may return uninitialized value. r=beard, sr=scc 2001-08-10 13:52:21 +00:00
dbradley%netscape.com 4c2371ce49 Bug 82284: Change puts a clearer error message on zero length files. r=dbradley, r=beard, sr=scc, patch by jband 2001-08-10 13:47:45 +00:00
dbradley%netscape.com 440f0ebe55 Fix for bug 42608: portability fixes for dec, problems with assert macros r=dbradley, sr=jst, patch by jband 2001-08-10 01:06:14 +00:00
dbradley%netscape.com 56978e5af7 Fix for bug 24965. This makes multiple attributes in same declaration an error in XPIDL. sr=scc, r=rginda 2001-08-06 20:42:53 +00:00
cls%seawood.org bf5fb48486 Replaced NO_SHARED_LIB & NO_STATIC_LIB with BUILD_SHARED_LIBS, BUILD_STATIC_LIBS, FORCE_STATIC_LIB & FORCE_SHARED_LIB. Added FORCE_USE_PIC.
Changes allow us to have a finer control over which parts of the tree are built with PIC.  Part of the static build branch landing.
Bug #46775 r=mcafee a=leaf
2001-06-18 22:10:38 +00:00
dougt%netscape.com 0121ed4999 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 15b540dd90 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 f56cbe2af5 r=timeless sr=shaver
bug 72807 "c++ style comment warning"
2001-05-16 02:24:44 +00:00
jst%netscape.com ea706038cf 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 d62bacf705 Remove unneeded LOST_SYM_LIBS defines. 2001-04-30 01:13:22 +00:00
jband%netscape.com fad41a262f 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 43a7d5909c 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 d242dcca69 bug 66610 - add xpconnect support for DOMStrings. r=jst sr=brendan 2001-02-20 08:09:19 +00:00
pinkerton%netscape.com d465909997 carbon changes. r=pink/sdagley/beard. a=sfraser. 2001-02-13 21:48:26 +00:00
dprice%netscape.com 3a862ed28d 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 aa11b46405 #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 ea496b8199 add xpidl support for DOMString to fix bug 65762. r=jst sr=brendan 2001-01-26 02:32:18 +00:00
mang%subcarrier.org 8279725fbb 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 2463c6c216 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 63bb35887d Usage message spelling fix courtesy Mike Ang <mang@subcarrier.org>.
r=mccabe
2000-12-07 04:22:24 +00:00
mccabe%netscape.com 54b6fe9784 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 7ddbcb075b 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 4e0b0efbf3 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 a65e320dd3 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 0dac69a5cc Fix to 57094 is running into trouble on windows, commenting out. 2000-11-30 07:56:47 +00:00
mccabe%netscape.com 7be75703a4 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 493faa54ce 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 66a18fcbbf 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 d9691850b8 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 4a40401f3c 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 83a2aee03e 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 eaf1905c11 changed output location for xpt_link target 2000-08-02 22:12:10 +00:00
dmose%mozilla.org 4b5231a715 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 dcac81acb0 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 1f3b6d75ab Removed obsolete REQUIRES variable from every Makefile.in/makefile.win 2000-06-30 08:08:04 +00:00
mkaply%us.ibm.com adc8efc3b2 # 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 5be082e304 More OS/2 Makefile changes. Bug #34106 Batch 13 2000-05-11 14:15:34 +00:00
cls%seawood.org 4bb89416eb More OS/2 Makefile changes. Bug #34106 Batch 12 2000-05-04 11:00:47 +00:00
mkaply%us.ibm.com eefa518bbc # 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 3ad4f337ee 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