24 Commits

Author SHA1 Message Date
cathleen%netscape.com
6a0e426e6c eliminate nsCRT::strlen for char* strings (part 5), bug 124536 r=dp sr=brendan
git-svn-id: svn://10.0.0.236/trunk@115070 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-20 06:38:38 +00:00
cathleen%netscape.com
ea31156ed0 converted 271 references to nsCRT::memcpy to memcpy, bug 118135 r=dp
git-svn-id: svn://10.0.0.236/trunk@112013 18797224-902f-48f8-a5cc-f745e15eee43
2002-01-12 03:18:55 +00:00
timeless%mac.com
344a6cf3f9 Bug 116793 Mismatched Allocator/Deallocator in nsSupportsIDImpl::ToString
r=waterson sr=jst


git-svn-id: svn://10.0.0.236/trunk@111330 18797224-902f-48f8-a5cc-f745e15eee43
2002-01-03 23:47:55 +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
dr%netscape.com
9438c0cf7c fix for blocker 80097 (nsSupportsStringImpl tries to memcpy to null -- causing crash in mailnews, see 80088). sr=scc
git-svn-id: svn://10.0.0.236/trunk@94523 18797224-902f-48f8-a5cc-f745e15eee43
2001-05-10 23:05:44 +00:00
dr%netscape.com
1ec92522af fixing OS/2 and AIX bustage
git-svn-id: svn://10.0.0.236/trunk@94459 18797224-902f-48f8-a5cc-f745e15eee43
2001-05-10 06:30:39 +00:00
jband%netscape.com
314245c293 fix bustage
git-svn-id: svn://10.0.0.236/trunk@94455 18797224-902f-48f8-a5cc-f745e15eee43
2001-05-10 04:13:45 +00:00
dr%netscape.com
a3c941d06d fix for 78824 (impl |AdoptData|, |AdoptDataWithLength| on nsISupports[W]String). r=kandrot, sr=jband
git-svn-id: svn://10.0.0.236/trunk@94441 18797224-902f-48f8-a5cc-f745e15eee43
2001-05-10 02:44:35 +00:00
danm%netscape.com
693cc8b25a adding nsISupportsInterfacePointer from jst's XPCDOM_20010329 branch. preliminary for bug 70534. r=hyatt,jband,jst,me
git-svn-id: svn://10.0.0.236/trunk@91827 18797224-902f-48f8-a5cc-f745e15eee43
2001-04-10 03:56:48 +00:00
danm%netscape.com
2e2b09eef8 adding 'type' field to make it easier than a series of QIs to determine a generic nsISupports object's type. code=jst r=jband,me
git-svn-id: svn://10.0.0.236/trunk@90177 18797224-902f-48f8-a5cc-f745e15eee43
2001-03-23 03:09:49 +00:00
warren%netscape.com
cc5d426fbe Renaming nsIAllocator to nsIMemory (and nsAllocator to nsMemory). API cleanup/freeze. Bug #18433
git-svn-id: svn://10.0.0.236/trunk@71450 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-03 09:46:12 +00:00
ruslan%netscape.com
b02cdb4f40 Make nsISupportsVoid implement threadsafe_isupports
git-svn-id: svn://10.0.0.236/trunk@70199 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-17 00:13:59 +00:00
mccabe%netscape.com
5adc001389 change several IDL parameters to be unsigned, to work better with length_is, size_is. Preperatory to requiring unsigned in xpidl, fixing 13413
git-svn-id: svn://10.0.0.236/trunk@67512 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-28 10:51:52 +00:00
ruslan%netscape.com
53ad7be163 Add a quick constructor for nsISupportsPRBool as well as make it implement
threadsafe isupports. Stream convs. use it.


git-svn-id: svn://10.0.0.236/trunk@65639 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-12 00:46:58 +00:00
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