449 Commits

Author SHA1 Message Date
dbradley%netscape.com
e924214090 Bug 94650 - Added warning for scriptable interfaces that inherit from non-scriptable interfaces. r=jst, sr=jband
git-svn-id: svn://10.0.0.236/trunk@107128 18797224-902f-48f8-a5cc-f745e15eee43
2001-11-03 00:05:57 +00:00
dbradley%netscape.com
a8eb4888d7 Bug 33193 - Sanity check for typelib truncation. r=jst, sr=jband
git-svn-id: svn://10.0.0.236/trunk@107127 18797224-902f-48f8-a5cc-f745e15eee43
2001-11-03 00:02:56 +00:00
dbradley%netscape.com
acb500fb15 Bug 101696 - interface with no uuid shouldn't parse. Patch adds a warning, does not prohibit it, and cleans up interfaces that are missing id's r=rginda, sr=jband
git-svn-id: svn://10.0.0.236/trunk@106924 18797224-902f-48f8-a5cc-f745e15eee43
2001-11-01 05:04:35 +00:00
bbaetz%cs.mcgill.ca
c3fe6e0f41 Bug 100843 - Add an explicit output filename option (-e) to xpidl
Patch by aegis@aegisknight.org, r=dbradley, sr=scc


git-svn-id: svn://10.0.0.236/trunk@106861 18797224-902f-48f8-a5cc-f745e15eee43
2001-10-31 23:28:36 +00:00
timeless%mac.com
1d183f2499 Bugzilla Bug 72878 zap unused variables from xpidl
r=shaver, sr=jband


git-svn-id: svn://10.0.0.236/trunk@104309 18797224-902f-48f8-a5cc-f745e15eee43
2001-10-01 09:08:04 +00:00
gerv%gerv.net
13afb6d0f9 Relicensing Round 1, Take 2. Most C-like NPL files -> NPL/GPL/LGPL. Bug 98089.
git-svn-id: svn://10.0.0.236/trunk@104119 18797224-902f-48f8-a5cc-f745e15eee43
2001-09-28 20:14:13 +00:00
jaggernaut%netscape.com
8a87c13848 One module per line for REQUIRES. r=/sr=alecf
git-svn-id: svn://10.0.0.236/trunk@103116 18797224-902f-48f8-a5cc-f745e15eee43
2001-09-18 22:01:13 +00:00
alecf%netscape.com
e28607491e Final REQUIRES changes for bug 98371, adding support for MOZ_TRACK_MODULE_DEPS to win32. r=cls (and tested by cls!)
git-svn-id: svn://10.0.0.236/trunk@102999 18797224-902f-48f8-a5cc-f745e15eee43
2001-09-17 19:06:35 +00:00
jaggernaut%netscape.com
f6fb205f3f Bug 97328: switch XPIDL from nsAReadableString (and nsAWritableString) to const nsAString. r=cls, sr=shaver
git-svn-id: svn://10.0.0.236/trunk@102603 18797224-902f-48f8-a5cc-f745e15eee43
2001-09-09 07:17:17 +00:00
dbradley%netscape.com
85eba49665 Fix for bustage, remove extra paren from my patch
git-svn-id: svn://10.0.0.236/trunk@101595 18797224-902f-48f8-a5cc-f745e15eee43
2001-08-22 01:53:43 +00:00
dbradley%netscape.com
4869c56528 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
git-svn-id: svn://10.0.0.236/trunk@101587 18797224-902f-48f8-a5cc-f745e15eee43
2001-08-22 01:04:26 +00:00
dbradley%netscape.com
7ddcdbae03 Bug 44989: the memory allocated via g_malloc() should be freed via g_free(). sr=blizzard, r=jst
git-svn-id: svn://10.0.0.236/trunk@101500 18797224-902f-48f8-a5cc-f745e15eee43
2001-08-21 12:33:28 +00:00
dbradley%netscape.com
1582213550 Bug 83591: XPIDL does not store the file length in the header in XPT Files. sr=scc, r=jband
git-svn-id: svn://10.0.0.236/trunk@101499 18797224-902f-48f8-a5cc-f745e15eee43
2001-08-21 12:29:34 +00:00
dbradley%netscape.com
0d4551b113 Bug 90366: XPIDL-Generated code produces preprocessor warnings, removed use of ##. sr=scc, r=jband,jst
git-svn-id: svn://10.0.0.236/trunk@101208 18797224-902f-48f8-a5cc-f745e15eee43
2001-08-16 13:40:51 +00:00
dbradley%netscape.com
8b7575b8e4 Bug 84498: xpidl_process_idl may return uninitialized value. r=beard, sr=scc
git-svn-id: svn://10.0.0.236/trunk@100752 18797224-902f-48f8-a5cc-f745e15eee43
2001-08-10 13:52:21 +00:00
dbradley%netscape.com
9ead5ca8f9 Bug 82284: Change puts a clearer error message on zero length files. r=dbradley, r=beard, sr=scc, patch by jband
git-svn-id: svn://10.0.0.236/trunk@100751 18797224-902f-48f8-a5cc-f745e15eee43
2001-08-10 13:47:45 +00:00
dbradley%netscape.com
ff5540983c Fix for bug 42608: portability fixes for dec, problems with assert macros r=dbradley, sr=jst, patch by jband
git-svn-id: svn://10.0.0.236/trunk@100701 18797224-902f-48f8-a5cc-f745e15eee43
2001-08-10 01:06:14 +00:00
dbradley%netscape.com
db8652bb97 Fix for bug 24965. This makes multiple attributes in same declaration an error in XPIDL. sr=scc, r=rginda
git-svn-id: svn://10.0.0.236/trunk@100421 18797224-902f-48f8-a5cc-f745e15eee43
2001-08-06 20:42:53 +00:00
cls%seawood.org
88aedd461b 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


git-svn-id: svn://10.0.0.236/trunk@97363 18797224-902f-48f8-a5cc-f745e15eee43
2001-06-18 22:10:38 +00:00
dougt%netscape.com
e87a3e17ce DUH! how about this time we make the generate code do something useful. sorry about this.
git-svn-id: svn://10.0.0.236/trunk@95379 18797224-902f-48f8-a5cc-f745e15eee43
2001-05-18 07:00:02 +00:00
dougt%netscape.com
47ab50bea8 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
git-svn-id: svn://10.0.0.236/trunk@95372 18797224-902f-48f8-a5cc-f745e15eee43
2001-05-18 05:56:26 +00:00
Xiaobin.Lu%eng.Sun.com
5f83020d4c r=timeless sr=shaver
bug 72807 "c++ style comment warning"


git-svn-id: svn://10.0.0.236/trunk@95089 18797224-902f-48f8-a5cc-f745e15eee43
2001-05-16 02:24:44 +00:00
jst%netscape.com
43eee52859 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.
git-svn-id: svn://10.0.0.236/trunk@94242 18797224-902f-48f8-a5cc-f745e15eee43
2001-05-08 17:42:36 +00:00
cls%seawood.org
f4f0b8b7a6 Remove unneeded LOST_SYM_LIBS defines.
git-svn-id: svn://10.0.0.236/trunk@93441 18797224-902f-48f8-a5cc-f745e15eee43
2001-04-30 01:13:22 +00:00
jband%netscape.com
08b9517502 fix for bug 74661. On platforms without longlong support we were reporting a possible non-error as an error. r=pinkerton sr=shaver
git-svn-id: svn://10.0.0.236/trunk@91440 18797224-902f-48f8-a5cc-f745e15eee43
2001-04-05 08:38:14 +00:00
dprice%netscape.com
bc7b2db6bf 71148 sr=waterson r=leaf Clearing out build bustages for MOZ_COVERAGE builds
NOT PART OF THE BUILD


git-svn-id: svn://10.0.0.236/trunk@89488 18797224-902f-48f8-a5cc-f745e15eee43
2001-03-13 10:43:08 +00:00
jband%netscape.com
c142926d43 bug 66610 - add xpconnect support for DOMStrings. r=jst sr=brendan
git-svn-id: svn://10.0.0.236/trunk@87443 18797224-902f-48f8-a5cc-f745e15eee43
2001-02-20 08:09:19 +00:00
pinkerton%netscape.com
4c94bdb338 carbon changes. r=pink/sdagley/beard. a=sfraser.
git-svn-id: svn://10.0.0.236/trunk@86937 18797224-902f-48f8-a5cc-f745e15eee43
2001-02-13 21:48:26 +00:00
dprice%netscape.com
cfd9a9a689 65845: sr=leaf r=waterson.
don't do coverage analysis for the xpidl stuff.  Slows building horribly


git-svn-id: svn://10.0.0.236/trunk@86436 18797224-902f-48f8-a5cc-f745e15eee43
2001-02-07 02:21:03 +00:00
mkaply%us.ibm.com
494ba72034 #65880
r=cls, a=blizzard
OS/2 only change - if filename passed in contains a drive letter, just use it


git-svn-id: svn://10.0.0.236/trunk@85631 18797224-902f-48f8-a5cc-f745e15eee43
2001-01-27 15:37:46 +00:00
jband%netscape.com
d15f323b49 add xpidl support for DOMString to fix bug 65762. r=jst sr=brendan
git-svn-id: svn://10.0.0.236/trunk@85546 18797224-902f-48f8-a5cc-f745e15eee43
2001-01-26 02:32:18 +00:00
mang%subcarrier.org
bbc3fd1035 Fix for #62572
Removed obsolete code that allowed implicit declaration of nsid types.
This will cause a rebuild.
r=mccabe
sr=jband


git-svn-id: svn://10.0.0.236/trunk@83502 18797224-902f-48f8-a5cc-f745e15eee43
2000-12-11 23:06:26 +00:00
mccabe%netscape.com
e58b2357ae 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


git-svn-id: svn://10.0.0.236/trunk@83360 18797224-902f-48f8-a5cc-f745e15eee43
2000-12-07 04:25:07 +00:00
mccabe%netscape.com
1a06291899 Usage message spelling fix courtesy Mike Ang <mang@subcarrier.org>.
r=mccabe


git-svn-id: svn://10.0.0.236/trunk@83359 18797224-902f-48f8-a5cc-f745e15eee43
2000-12-07 04:22:24 +00:00
mccabe%netscape.com
72fd4d68c9 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.


git-svn-id: svn://10.0.0.236/trunk@83358 18797224-902f-48f8-a5cc-f745e15eee43
2000-12-07 04:17:33 +00:00
mccabe%netscape.com
fd7e056933 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.


git-svn-id: svn://10.0.0.236/trunk@83127 18797224-902f-48f8-a5cc-f745e15eee43
2000-11-30 10:51:39 +00:00
mccabe%netscape.com
3549d6926d 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


git-svn-id: svn://10.0.0.236/trunk@83126 18797224-902f-48f8-a5cc-f745e15eee43
2000-11-30 09:52:29 +00:00
mccabe%netscape.com
1e8e358ccf 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


git-svn-id: svn://10.0.0.236/trunk@83122 18797224-902f-48f8-a5cc-f745e15eee43
2000-11-30 08:08:24 +00:00
mccabe%netscape.com
766ac6067d Fix to 57094 is running into trouble on windows, commenting out.
git-svn-id: svn://10.0.0.236/trunk@83121 18797224-902f-48f8-a5cc-f745e15eee43
2000-11-30 07:56:47 +00:00
mccabe%netscape.com
5d14534ebe Tweak to previous checkin. Rectify 'to to' typo in comment added to generated header files. Thanks to jband for saving me the shame.
git-svn-id: svn://10.0.0.236/trunk@83120 18797224-902f-48f8-a5cc-f745e15eee43
2000-11-30 07:52:16 +00:00
mccabe%netscape.com
1044bd61b8 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.


git-svn-id: svn://10.0.0.236/trunk@83119 18797224-902f-48f8-a5cc-f745e15eee43
2000-11-30 07:51:02 +00:00
cls%seawood.org
6088dfbf6b Resurrect REQUIRES so that we have some sort of means to track intermodule dependencies. Bug #59454 r=blizzard@mozilla.org
git-svn-id: svn://10.0.0.236/trunk@82785 18797224-902f-48f8-a5cc-f745e15eee43
2000-11-20 07:16:06 +00:00
jband%netscape.com
0d1da1648f 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
git-svn-id: svn://10.0.0.236/trunk@79544 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-19 21:42:47 +00:00
jband%netscape.com
9378b53868 fix bug 50445. r=shaver@mozilla.org a=brendan@mozilla.org. Thanks to Marcus G. Daniels <mgd@swarm.org> for uncovering this bug
git-svn-id: svn://10.0.0.236/trunk@77468 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-29 08:08:33 +00:00
mccabe%netscape.com
798b4759ba 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.


git-svn-id: svn://10.0.0.236/trunk@77200 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-25 09:58:35 +00:00
jj%netscape.com
5052d3645f changed output location for xpt_link target
git-svn-id: svn://10.0.0.236/trunk@75429 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-02 22:12:10 +00:00
dmose%mozilla.org
33d5f90134 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
git-svn-id: svn://10.0.0.236/trunk@74999 18797224-902f-48f8-a5cc-f745e15eee43
2000-07-28 04:03:50 +00:00
jband%netscape.com
dc8c60aa5e 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
git-svn-id: svn://10.0.0.236/trunk@73813 18797224-902f-48f8-a5cc-f745e15eee43
2000-07-07 07:32:50 +00:00
cls%seawood.org
91d683a067 Removed obsolete REQUIRES variable from every Makefile.in/makefile.win
git-svn-id: svn://10.0.0.236/trunk@73583 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-30 08:08:04 +00:00
mkaply%us.ibm.com
fbccbd9e7d # 40177
r = leaf, a = brendan
OS/2 M16 bringup continues - Mispelling in BIN_SUFFIX and adding LIB_SUFFIX


git-svn-id: svn://10.0.0.236/trunk@71272 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-01 14:20:14 +00:00