4 Commits

Author SHA1 Message Date
mccabe%netscape.com
69a8cf7c7b Fix to 7610. Modify xpidl compiler to add 'const' to the method signature for generated attribute setter methods for string, wstring and nsid attributes.
As this changed the generated interface signatures, I had to change all of the uses to avoid bustage.  Any corners of the browser that aren't built by default, or that I haven't discovered how to build, may be at risk of bustage if they use string or wstring attributes.  (This could mean blackwood; sorry, guys!)

Many thanks to Alec Flett (alecf@netscape.com) for preparing diffs for the mailnews portion of the signature changes; thanks also to Ariel Backenroth (arielb@rice.edu) and Mike Shaver (shaver@mozilla.org) for help with updating the tree with NS_DECL_NSIFOO macros; everwhere where one of these macros was used was one less place I had to manually add 'const'.

Also removed extraneous space from generated method signatures, leftover from Brendan's capitalization spam, and made 'const decl must be of type short or long' an error rather than just a warning.


git-svn-id: svn://10.0.0.236/trunk@48284 18797224-902f-48f8-a5cc-f745e15eee43
1999-09-19 23:46:35 +00:00
mccabe%netscape.com
91543218bc First cut at removing manual declaration of interface methods in implementation classes and replacing with xpidl-generated NS_DECL_NSIFOO macro.
Hopefully this'll help turn the copy-n-paste tide towards using this macro.


git-svn-id: svn://10.0.0.236/trunk@43988 18797224-902f-48f8-a5cc-f745e15eee43
1999-08-21 08:54:47 +00:00
mang%subcarrier.org
620c496835 Useful comments contributed by rginda@ndcico.com
git-svn-id: svn://10.0.0.236/trunk@40586 18797224-902f-48f8-a5cc-f745e15eee43
1999-07-22 02:46:53 +00:00
waterson%netscape.com
06264f684f Initial revision.
git-svn-id: svn://10.0.0.236/trunk@31319 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-12 23:37:45 +00:00