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

359 Коммитов

Автор SHA1 Сообщение Дата
wtchang%redhat.com 40145d9911 Bugzilla Bug 302212: allow Mac OS X x86 builds to target SDKs. The patch
was written by Mark Mentovai <mark@moxienet.com>. r=joshmoz. sr=bryner.
Modified Files:
	configure.in config/autoconf.mk.in config/config.mk
	extensions/java/xpcom/tools/xpidl/Makefile.in
	security/manager/Makefile.in xpcom/typelib/xpidl/Makefile.in
2005-10-26 19:01:18 +00:00
dougt%meer.net b0171845f9 make xpcom typelib tools build on wince. r/a=benjamin 2005-07-05 17:02:20 +00:00
joshmoz%gmail.com fad47e58db more Mac OS X 10.4 "Tiger" build stuff. Patch my Mark Mentovai. r=josh r=pinkerton r=cls sr=bryner a=brendan 2005-06-01 18:48:04 +00:00
cls%seawood.org 4e1a592115 Add support for cross-compiling to mingw.
Bug #222013 r=bryner
2004-02-20 22:14:14 +00:00
pinkerton%aol.net 6233fbb29e add support for OSX 10.3 SDK support so build done on 10.3 can be run on
previous OS versions. Enabled with configure flag --with-macos-sdk=dir
(bug 224161, r=bryner)
2004-01-29 20:18:14 +00:00
caillon%returnzero.com 34ea7dea67 Stop outputting comments pertaining to forward declared interfaces. See bug 232032 for details.
r=dbradley, sr=shaver
2004-01-24 23:01:55 +00:00
bryner%brianryner.com 0c7c3a2ff3 Bug 229875 - eliminate unnecssary public/virtual destructors. This patch changes all refcounted classes under xpcom/, which aren't inherited from or used on the stack, to have private, nonvirtual destructors. r=dougt, sr=dbaron. 2004-01-15 06:14:18 +00:00
dbradley%netscape.com 8c018c2af6 bug 127585 - xpidl usage is incorrect. r=timeless, sr=jst 2003-07-08 21:41:51 +00:00
seawood%netscape.com b28ce0a530 Removing old cfm build files. Use the CFM_LAST_RITES tag to resurrect. r=macdev 2003-06-10 20:12:33 +00:00
seawood%netscape.com 21e62fa849 Removing cfm specific versions of glib & libidl.
Bug #98811 r=macdev
2003-06-10 18:41:52 +00:00
seawood%netscape.com 84c16ec606 Do not place dependency upon mozilla meta-build targets as we're not parallel-safe across build phases.
Bug #183263 r=bryner,dcran a=asa
2003-03-31 20:54:37 +00:00
bzbarsky%mit.edu 83e46b1a49 Fix some spelling errors in comments. Bug 106386, patch by Nicholas Bebout
<nb@ipnode.info>, r=doron, sr=dmose
2003-03-19 04:35:08 +00:00
cls%seawood.org d1479589a2 Adding mingw makefile changes.
Bug #134113 r=bryner
2003-03-08 05:57:15 +00:00
dbaron%dbaron.org b9083989bb Bug 178643: Remove uses of NS_INIT_ISUPPORTS, since it is no longer needed. r=timeless sr=jag 2003-01-08 23:19:20 +00:00
dbaron%fas.harvard.edu 29c30c5f3e Porting fixes for gcc trunk (to become 3.3): Eliminate C-only option from CXXFLAGS. Don't use pasting for things that are still separate tokens. Don't pass objects of non-POD type through |...|. Don't include strstream.h, which isn't used anymore anyway. b=170250 r=bbaetz sr=alecf 2002-09-30 14:18:27 +00:00
dougt%netscape.com b2130dcaa4 exports xpcom tools to sdk r=seawood, b=170275 2002-09-24 01:19:05 +00:00
timeless%mac.com 46be326ed0 Bug 161945 clean up simple mac build warnings
r=dbradley sr=bz
2002-09-02 21:26:11 +00:00
seawood%netscape.com 322da773fb Removing old nmake build makefiles. Bug #158528 r=pavlov 2002-08-10 07:55:43 +00:00
dbradley%netscape.com 168404c5a9 Bug 148732 - xpidl doesn't accept drive colon args. r=dbradley, sr=shaver 2002-06-12 16:56:19 +00:00
sfraser%netscape.com 6da27c1cf8 Bug 133412: need to #include <Files.h> before <OpenTransport.h> for the buggy Universal Headers 3.4.1. Changes to allow for upgrading to CodeWarrior Pro 7.2 tools. r=sdagley, sr=scc, a=asa 2002-03-27 04:09:17 +00:00
nisheeth%netscape.com 46db685f9a Fix for bug 84186. r=dbradley, jag. sr=jband. Added support for CStrings, UTF8String, and AStrings to XPIDL. Also added the -t cmd line flag to XPIDL and XPTLINK that allows us to generate output for a specific XPT version. The XPT version number is being upped from 1.1 to 1.2 with this checkin. 2002-02-26 01:41:42 +00:00
dbradley%netscape.com 5372835bdb Bug 119382 - attribute nsIIDPtr IID considered harmful - This patch makes it an error to declare an attribute named IID or a method named getIID. r=jband, sr=jst 2002-02-19 14:48:00 +00:00
dbradley%netscape.com 9a5a5969de Bug 114257 - win32 xpidl doesn't handle unix paths properly. patch=dbradley, r=cls, sr=jag 2002-01-10 13:03:45 +00:00
timeless%mac.com 61a97fd94a Bugzilla Bug 106386 rid source of these misspellings: persistant persistance priviledge protocal editting editted targetted targetting
r='s from many people. sr=jst
2001-12-23 23:23:41 +00:00
ccarlen%netscape.com af646e6f1f Bug 98349 - Convert Mac build to CW7 and XML projects. Removing obsolete .mcp files. r=pink/sr=sfraser 2001-12-11 05:45:45 +00:00
ccarlen%netscape.com c343dad63a Adding new files for conversion to CW7 and XML project files. Bug 98349 r=pink/sr=sfraser. 2001-12-10 21:58:15 +00:00
ccarlen%netscape.com 884be5f4c2 Adding new files for conversion to CW7 and XML project files. Bug 98349 r=pink/sr=sfraser. 2001-12-10 21:32:41 +00:00
seawood%netscape.com 33ab7a9398 Add win32 support to xpcom Makefile.ins
Bug #58981 r=bryner
2001-12-09 07:05:12 +00:00
bryner%netscape.com fc52db848e Fix a warning by changing C++ comments to C comments. bug 114241, r=bbaetz, sr=shaver. 2001-12-08 22:04:17 +00:00
seawood%netscape.com 55fe97bff7 Renaming 'install' build phase to 'libs'
Bug #56601 r=pavlov
2001-11-21 08:55:59 +00:00
dbradley%netscape.com 9ad843118b Bug 94650 - Added warning for scriptable interfaces that inherit from non-scriptable interfaces. r=jst, sr=jband 2001-11-03 00:05:57 +00:00
dbradley%netscape.com 9b2bda104e 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 2001-11-01 05:04:35 +00:00
bbaetz%cs.mcgill.ca 370f19d526 Bug 100843 - Add an explicit output filename option (-e) to xpidl
Patch by aegis@aegisknight.org, r=dbradley, sr=scc
2001-10-31 23:28:36 +00:00
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 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
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
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
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 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
cls%seawood.org 4bb89416eb More OS/2 Makefile changes. Bug #34106 Batch 12 2000-05-04 11:00:47 +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
jband%netscape.com 2964aea322 landing typelib loading improvements. bug 30753 2000-04-20 08:52:05 +00:00
jband%netscape.com ef1e9b755c 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 e9d2f63938 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 7cc1e4846b changes to build as MPW tools. r=mccabe 2000-03-29 03:14:02 +00:00
beard%netscape.com fe5e9431ae added targets for MPW tool (not part of default build) 2000-03-28 03:29:34 +00:00
beard%netscape.com 94436678cd prefix file for MPW tools 2000-03-28 03:27:15 +00:00
jim_nance%yahoo.com 7133406899 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
mccabe%netscape.com 1bb2d0f184 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 5a386a15b3 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 b48d3f3c6c - 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
scc%netscape.com 73802d6f2e Pro5 update 2000-02-07 23:06:04 +00:00
mccabe%netscape.com a69d6461c1 Rework xpidl_idl to not use a circular buffer. This fixes many problems with buffer boundaries. Fixes
9716 unterminated %{ escape causes endless loop

Clean up memory handling and other aspects of xpidl. Fixes
        11058 bad free in xpidl
        13464 memory leak in xpidl

Store doc comments in IDL-processing phase, and emit them into generated header files.  Fixes
        24734 xpidl should emit doc comments

Add error towards fixing 24965, and fix 13100 'xpidl should error on multiple inheritance'

r=jband
2000-01-28 08:28:48 +00:00
mccabe%netscape.com 3924a1c44a Fix problem with generated consts in .h files for OS/2 - also handle the internal const value more sensibly, and lose wrong 'is_long' distinction.
Thanks to Henry Sobotka <sobotka@axess.com> for finding this problem and suggesting a fix.

r=mccabe
2000-01-18 05:16:48 +00:00
beard%netscape.com ccbba8bc22 bug fix for bug #11199, should remove partially created output file. 2000-01-17 04:13:05 +00:00
mccabe%netscape.com 07b2669fa3 Reinstating backed-out fix to 20833 from earlier, this time with a change that seems to work on solaris and mac. 2000-01-12 13:33:40 +00:00
mccabe%netscape.com 56eb32a7ae Reverting const-generation code that seems to be trouble for Solaris. 2000-01-12 03:34:30 +00:00
sfraser%netscape.com af46cbd1b9 Fixing bustage by ensuring that xpidl_utils.c is only in the compiler target. r=mccabe 2000-01-12 03:09:33 +00:00
mccabe%netscape.com e3377a41b5 changing #include "xpt_stuct.h" to <xpt_struct.h> b/c I don't think Mac is finding the file. 2000-01-12 02:48:06 +00:00
mccabe%netscape.com 98fc705a06 added files: mozilla/xpcom/typelib/xpidl/xpidl_util.c 2000-01-12 01:47:05 +00:00
mccabe%netscape.com 4c9d90c5c7 Batched set of fixes to xpidl. NOTE this'll probably cause the world to rebuild.
* fix 20833 - generate numbers of appropriate form in header output mode for short, long, signed or unsigned IDL consts.  Thanks to bratell@lysator.liu.se for finding this and confirming the fix.

* fix 11199, remove .h output file on failure - partially generated files caused trouble, as they had the proper timestamp to fool 'make' next time around. Punted on mac.

* Restore Mac hack to fix \r to \n, requested by Beard.

* Make 'const decl must be short or long' warning into error for typelib mode.  This mirrors an existing error in header mode.

* Fix up various aspects of xpidl, including:

- Move shared functions from xpidl_idl.c and xpidl.c 'main' module to new xpidl_util.c.

- Recast nodehandler-table-per-backend as 'backend' struct, including broken-out prolog and epilog functions.  Replaces overloaded IDLN_NONE node handler that did prolog code on non-null tree, epilog on null.  Move backends to new API.

- Rename a few structs more logically.

- Add a new list to track files included from the base .idl file, for generated #includes in output header file.  This replaces using the 'already-included' hashtable for this purpose, and lets us generate just the minimal set of #includes, in the order they occured in the .h file.

- Various fixes to quiet xpidl warnings.

- Change main() to only accept one input file from the command line, because the basename code assumes this, and multiple files aren't needed by our make system.

r=jband
2000-01-12 01:46:21 +00:00
frankm%eng.sun.com 9c721a5a9d [Bugs 18486, 18488; r=mccabe] XPIDL->Java: always make first char of methods lowercase, translate PRBool to Java boolean 1999-11-24 02:08:34 +00:00
dmose%mozilla.org 142ac52eaf updated xPL license boilerplate to v1.1, a=chofmann@netscape.com,r=endico@mozilla.org 1999-11-06 03:43:54 +00:00
mccabe%netscape.com c3ea52c70e Undo overly-hasty backout. This reinstates part of my recent checkin. 1999-10-27 03:44:38 +00:00
beard%netscape.com 88e88fb291 make warnings not terminate build. fix bustage, r=mccabe 1999-10-27 02:44:34 +00:00
mccabe%netscape.com 2dc0208ac7 Debust mac-specific \r-related tree breakage. 1999-10-27 01:28:59 +00:00
mccabe%netscape.com 578b8c54a1 Various fixes to xpidl. Note that this checkin will cause a rebuild of everything that depends on nsISupports.h. Fixes courtesy Mike Shaver, with small tweaks by McCabe. r=shaver, r=mccabe.
- Fix to bug 17013; have xpidl produce an error when encountering a native declaration without an associated (c++-name).

- remove many DEBUG_shaver lines.

- provide xpidl_tree_warning as a fallback for libIDL versions for which IDL_tree warning is bad, and NULL-proof our message callback function.  Also remove a 1k buffer limit from the message callback function.

- make enum in IDL files an error.  We don't support it, and love consts instead.

- Fix to 12684; don't allow [retval] parameter + return or multiple [retval] parameters.

- Fix to 13390; make non-{short,long} const a fatal error.
1999-10-27 00:37:39 +00:00
jband%netscape.com 2fa72d8d56 xpidl compiler was failing to complain that it is an error to use [shared] with 'inout' params. (no bug was filed) r=mccabe 1999-10-05 04:23:35 +00:00