10 Commits

Author SHA1 Message Date
pinkerton%netscape.com
5723e151a5 added setDataWithLength to nsISupports[W]String r=jband.
git-svn-id: svn://10.0.0.236/trunk@54771 18797224-902f-48f8-a5cc-f745e15eee43
1999-11-30 22:06:05 +00:00
dmose%mozilla.org
0efb7c174c updated xPL license boilerplate to v1.1, a=chofmann@netscape.com,r=endico@mozilla.org
git-svn-id: svn://10.0.0.236/trunk@52910 18797224-902f-48f8-a5cc-f745e15eee43
1999-11-06 03:43:54 +00:00
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
brendan%mozilla.org
d87f3f7b04 Massive spankage to capitalize C++ method and attribute name bindings, per
Architecture Item 6.3 (news://news.mozilla.org/37BA89CF.3823D6F9%40meer.net).


git-svn-id: svn://10.0.0.236/trunk@44456 18797224-902f-48f8-a5cc-f745e15eee43
1999-08-25 05:26:25 +00:00
scc%netscape.com
56d5ad0b43 got rid of |NS_IMPL_ISUPPORTS|, where possible, in favor of |NS_IMPL_ISUPPORTS0| or ...1 according to the specific use; got rid of |NS_DEFINE_IID| where possible, or where it should have been |NS_DEFINE_CID|; fixed bad implementations of |QueryInterface|, where possible. Built, tested apprunner, reviewed the changes with hyatt (since he was around to look) before checking in
git-svn-id: svn://10.0.0.236/trunk@44139 18797224-902f-48f8-a5cc-f745e15eee43
1999-08-23 10:14:16 +00:00
jband%netscape.com
00afc449ea adding nsISupportsVoid to the nsISupportsPrimitives family. Fixing some suboptimal use of *retval
git-svn-id: svn://10.0.0.236/trunk@43770 18797224-902f-48f8-a5cc-f745e15eee43
1999-08-20 03:14:46 +00:00
jband%netscape.com
7168222b32 adding missing 'return' - thanks to TenThumbs <tenthumbs@cybernex.net> for pointing this out. Also removing extra addrefs in ctor since the generic factory constructor macro used to create these things does this addref for us
git-svn-id: svn://10.0.0.236/trunk@42702 18797224-902f-48f8-a5cc-f745e15eee43
1999-08-08 19:34:31 +00:00
jband%netscape.com
21f09bba00 changes to nsISupportsPrimitives stuff... Add classes for float and double. Remove class for PRUnichar 'cuz it is too problematic as a type. Fix some capitalization. Add toString methods for more transparent use from JS
git-svn-id: svn://10.0.0.236/trunk@42433 18797224-902f-48f8-a5cc-f745e15eee43
1999-08-06 09:42:12 +00:00
jband%netscape.com
f3314fd3f1 use LL_ZERO for initializing 64 bit values to fix Mac bustage
git-svn-id: svn://10.0.0.236/trunk@42129 18797224-902f-48f8-a5cc-f745e15eee43
1999-08-04 07:45:38 +00:00
jband%netscape.com
1089929c0a adding nsISupports wrappers for the primitive types including strings and nsIDs
git-svn-id: svn://10.0.0.236/trunk@42123 18797224-902f-48f8-a5cc-f745e15eee43
1999-08-04 06:57:38 +00:00