1070 Commits

Author SHA1 Message Date
timeless%mac.com
7b921259da Bugzilla Bug 110080 change !NS_SUCCEEDED(status) to NS_FAILED(status)
s/!NS_SUCCEEDED/NS_FAILED/g;s/!NS_FAILED/NS_SUCCEEDED/g;
r=dougt sr=hewitt


git-svn-id: svn://10.0.0.236/trunk@108471 18797224-902f-48f8-a5cc-f745e15eee43
2001-11-19 06:45:00 +00:00
dp%netscape.com
463a8468e2 Implementing NS_TIMELINE_MARK_TIMER1 that prints an additional string
along with the timer mark. r=sgehani, sr=sfraser


git-svn-id: svn://10.0.0.236/trunk@108387 18797224-902f-48f8-a5cc-f745e15eee43
2001-11-17 20:20:25 +00:00
bzbarsky%mit.edu
068756d821 Use NS_LITERAL_STRING instead of NS_ConvertASCIItoUCS2 where possible
(i.e. where the string is a literal).  Bug 104159, r=jag, sr=alecf


git-svn-id: svn://10.0.0.236/trunk@107987 18797224-902f-48f8-a5cc-f745e15eee43
2001-11-14 01:33:42 +00:00
dbaron%fas.harvard.edu
13b5500ba3 Ensure that string literals are used as |const char*| rather than |char*|. r=jag sr=brendan b=107052
git-svn-id: svn://10.0.0.236/trunk@107583 18797224-902f-48f8-a5cc-f745e15eee43
2001-11-07 06:24:10 +00:00
dbaron%fas.harvard.edu
1d7d2b1344 Remove unused stopwatch code. b=107510 r=jag sr=waterson
git-svn-id: svn://10.0.0.236/trunk@107222 18797224-902f-48f8-a5cc-f745e15eee43
2001-11-03 05:46:18 +00:00
dbaron%fas.harvard.edu
b91bf64133 Removing nsIStopwatch.idl, which was never really part of the build. b=107510 r=jag sr=waterson
git-svn-id: svn://10.0.0.236/trunk@107217 18797224-902f-48f8-a5cc-f745e15eee43
2001-11-03 05:26:55 +00:00
dp%netscape.com
5fbbc564cf bug# 105509 inlining nsHashKey::nsHashKey
r=dougt, sr=jband


git-svn-id: svn://10.0.0.236/trunk@107069 18797224-902f-48f8-a5cc-f745e15eee43
2001-11-02 04:58:30 +00:00
alecf%netscape.com
32ae7fff08 remove all unicharutil dependencies from xpcom (finally!)
bug 100214, r=jag, sr=scc


git-svn-id: svn://10.0.0.236/trunk@107004 18797224-902f-48f8-a5cc-f745e15eee43
2001-11-01 22:40:03 +00:00
bryner%netscape.com
f77980de82 Correcting the description of the third argument to NS_QuickSort. r=dbaron.
git-svn-id: svn://10.0.0.236/trunk@106996 18797224-902f-48f8-a5cc-f745e15eee43
2001-11-01 22:21:34 +00:00
darin%netscape.com
ebd4cb4576 fixes Darwin mach-o bustage (r=jband)
git-svn-id: svn://10.0.0.236/trunk@106925 18797224-902f-48f8-a5cc-f745e15eee43
2001-11-01 05:06:41 +00:00
jband%netscape.com
837a2c44eb ack! forgot one .idl file. Fix Mac bustage
git-svn-id: svn://10.0.0.236/trunk@106910 18797224-902f-48f8-a5cc-f745e15eee43
2001-11-01 02:08:41 +00:00
jband%netscape.com
1c7f2a930e the HP compiler says that anonymous unions can't even have structs. So the union must be named. Fixing that bustage
git-svn-id: svn://10.0.0.236/trunk@106909 18797224-902f-48f8-a5cc-f745e15eee43
2001-11-01 01:45:48 +00:00
jband%netscape.com
4246348236 fix Mac bustage (I hope). I think these names conflicted with other names
git-svn-id: svn://10.0.0.236/trunk@106908 18797224-902f-48f8-a5cc-f745e15eee43
2001-11-01 01:15:53 +00:00
jband%netscape.com
08cbbc76c9 fix bustage on compilers that don't like anonymouse structs in unions. who knew? sr=jst
git-svn-id: svn://10.0.0.236/trunk@106899 18797224-902f-48f8-a5cc-f745e15eee43
2001-11-01 00:34:29 +00:00
jband%netscape.com
57fc23094c add support for nsIVariant and nsIPropertyBag. bug 44675 and bug 98209. sr=vidur r=dbradley
git-svn-id: svn://10.0.0.236/trunk@106867 18797224-902f-48f8-a5cc-f745e15eee43
2001-10-31 23:35:07 +00:00
dbaron%fas.harvard.edu
bf5d4ab91a Remove references to nsISimpleEnumerator.h from Makefile.in and MANIFEST as well. b=99136
git-svn-id: svn://10.0.0.236/trunk@106802 18797224-902f-48f8-a5cc-f745e15eee43
2001-10-31 03:33:12 +00:00
mkaply%us.ibm.com
87aa6ece0a #99136
r=dbaron
OS/2 bustage - removing H file that is now generated by IDL


git-svn-id: svn://10.0.0.236/trunk@106797 18797224-902f-48f8-a5cc-f745e15eee43
2001-10-31 03:17:59 +00:00
dougt%netscape.com
956ec6e34b Moving nsISimpleEnumerator interface to new idl file. 99136, r=alecf@netscape.com sr=rpotts@netscape.com
git-svn-id: svn://10.0.0.236/trunk@106716 18797224-902f-48f8-a5cc-f745e15eee43
2001-10-30 22:07:28 +00:00
dougt%netscape.com
3e064cf384 Moving nsISimpleEnumeratory interface into a seperate idl file. bug 99136. r=alecf@netscape.com, sr=rpotts@netscape.com
git-svn-id: svn://10.0.0.236/trunk@106715 18797224-902f-48f8-a5cc-f745e15eee43
2001-10-30 22:03:05 +00:00
dbaron%fas.harvard.edu
9029efb2b0 Replace static constructor of EmptyEnumeratorImpl with new/delete. b=68092 r=jag sr=waterson
git-svn-id: svn://10.0.0.236/trunk@106644 18797224-902f-48f8-a5cc-f745e15eee43
2001-10-30 06:10:21 +00:00
dougt%netscape.com
cb69e3b965 not part of build
git-svn-id: svn://10.0.0.236/trunk@106625 18797224-902f-48f8-a5cc-f745e15eee43
2001-10-30 02:11:57 +00:00
dougt%netscape.com
b4b3776b8d check for null. if the reference ever goes away, we crash
git-svn-id: svn://10.0.0.236/trunk@106447 18797224-902f-48f8-a5cc-f745e15eee43
2001-10-27 03:06:09 +00:00
dougt%netscape.com
68c5c2edc1 fixes spelling error in interface comment
git-svn-id: svn://10.0.0.236/trunk@106297 18797224-902f-48f8-a5cc-f745e15eee43
2001-10-26 00:11:18 +00:00
jst%netscape.com
d2bf33af2a Fixing blocker bug 106527 (as part of bug 69468), allow creation of atoms for empty strings but don't crash when creating atoms for strings that have no internal buffer. r=dbaron@netscape.com, sr=brendan@mozilla.org
git-svn-id: svn://10.0.0.236/trunk@106203 18797224-902f-48f8-a5cc-f745e15eee43
2001-10-24 23:36:58 +00:00
dougt%netscape.com
9e7d4bff37 Fixes bug 106313 (smoketest blocker). Allowing notification of weak references, regression caused by my nsIObserverService landing. sr=alecf@netscape.com.
git-svn-id: svn://10.0.0.236/trunk@106179 18797224-902f-48f8-a5cc-f745e15eee43
2001-10-24 18:02:46 +00:00
jst%netscape.com
51e4831f64 Fixing bug 69468. Finally adding support for string nullness to XPConnect. r=jaggernaut@netscape.com, shaver@mozilla.org, sr=jband@netscape.com
git-svn-id: svn://10.0.0.236/trunk@106148 18797224-902f-48f8-a5cc-f745e15eee43
2001-10-24 07:15:06 +00:00
dougt%netscape.com
337217beaa backing out changes to 104172. r=ccarlen@netscape.com
git-svn-id: svn://10.0.0.236/trunk@106023 18797224-902f-48f8-a5cc-f745e15eee43
2001-10-23 03:50:24 +00:00
dougt%netscape.com
62a8215278 Extraneous Symbol Removal. Patch by Jon Smirl jonsmirl@mediaone.net. r=dougt@netscape.com, sr=alecf@netscape.com. Bug 104172 , 104316 , 104420 , 104426 , 104461 , 104511 , 104527
git-svn-id: svn://10.0.0.236/trunk@106009 18797224-902f-48f8-a5cc-f745e15eee43
2001-10-23 01:37:21 +00:00
dougt%netscape.com
fa2d0b7e98 99163 - removing nsObserverService.h includes. Also fixing 106090, extra methods on nsObserverService. r=shaver@mozilla.org, sr=jband@netscape.com
git-svn-id: svn://10.0.0.236/trunk@105973 18797224-902f-48f8-a5cc-f745e15eee43
2001-10-22 22:01:27 +00:00
dbaron%fas.harvard.edu
85c206679a Reduce the performance cost of (threadsafely) refcounting many atoms by creating a second implementation of nsIAtom (derived from the first) that does not refcount and gets destroyed at XPCOM shutdown. Normal atoms are converted to permanent ones without loss of pointer identity when a permanent atom is requested and a normal one already exists. b=92141 r=waterson sr=brendan
git-svn-id: svn://10.0.0.236/trunk@105889 18797224-902f-48f8-a5cc-f745e15eee43
2001-10-20 23:19:07 +00:00
dougt%netscape.com
badd4f48a2 fixed regression in mailnews caused by my last change. Need to support weak references both while adding AND while notifying... d'oh! a=pchen@netscape.com
git-svn-id: svn://10.0.0.236/trunk@105868 18797224-902f-48f8-a5cc-f745e15eee43
2001-10-20 02:07:33 +00:00
dbaron%fas.harvard.edu
91e5381554 Fix build bustage from dougt's nsIObserver / nsIObserverService changes. b=99163
git-svn-id: svn://10.0.0.236/trunk@105855 18797224-902f-48f8-a5cc-f745e15eee43
2001-10-19 23:28:44 +00:00
dougt%netscape.com
ebe79ca4e9 Fixing build bustage. removing nsIObserverService.idl from MANIFEST
git-svn-id: svn://10.0.0.236/trunk@105838 18797224-902f-48f8-a5cc-f745e15eee43
2001-10-19 22:26:37 +00:00
dougt%netscape.com
cf60fc042e nsIObserver and nsIObserverService API freeze. r=rpotts@netscape.com, alecf@netscape.com. bug 99163
git-svn-id: svn://10.0.0.236/trunk@105800 18797224-902f-48f8-a5cc-f745e15eee43
2001-10-19 20:52:59 +00:00
jband%netscape.com
77718ac1ef Add support for loading typelibs from multiple directories and correctly tracking that in xpti.dat. Also speedup xpti.dat reading by getting rid of PR_sscanf. This fixes bug 104191 and bug 105042. r=ccarlen sr=jst.
git-svn-id: svn://10.0.0.236/trunk@105661 18797224-902f-48f8-a5cc-f745e15eee43
2001-10-18 04:23:25 +00:00
brendan%mozilla.org
040a610072 Add SetAlphaBounds, TABLE_SIZE, and MIN_ALPHA APIs (103990, r=dbaron, sr=waterson).
git-svn-id: svn://10.0.0.236/trunk@105470 18797224-902f-48f8-a5cc-f745e15eee43
2001-10-16 05:40:27 +00:00
dbaron%fas.harvard.edu
1382ac90eb Making debugging code be |#ifdef DEBUG|. b=91036 r=harishd sr=jst
git-svn-id: svn://10.0.0.236/trunk@105468 18797224-902f-48f8-a5cc-f745e15eee43
2001-10-16 05:31:36 +00:00
dbaron%fas.harvard.edu
7bb7b59a69 Replace uses of overloaded |fputs| and most uses of |ns[C]String::ToCString|. b=104763 r=jag rs=scc
git-svn-id: svn://10.0.0.236/trunk@105460 18797224-902f-48f8-a5cc-f745e15eee43
2001-10-16 03:53:44 +00:00
dougt%netscape.com
03f56fb12b adding const to aDest parameter of memcmp. r=me s/r=jband@netscape.com, submitted by jim_nance@yahoo.com, bug 97231
git-svn-id: svn://10.0.0.236/trunk@105413 18797224-902f-48f8-a5cc-f745e15eee43
2001-10-15 13:28:45 +00:00
jband%netscape.com
176a1ed1a3 NOT PART OF BUILD. Add support to track the type of the interfaces in an array
git-svn-id: svn://10.0.0.236/trunk@105243 18797224-902f-48f8-a5cc-f745e15eee43
2001-10-12 01:51:08 +00:00
alecf%netscape.com
3d31b470bc bug 104126 - remove nsStringArray::IndexOfIgnoreCase and its one consumer. sr=attinasi, r=jag
git-svn-id: svn://10.0.0.236/trunk@105133 18797224-902f-48f8-a5cc-f745e15eee43
2001-10-11 01:30:52 +00:00
ftang%netscape.com
e4e1c365e1 fix bug 101852. r=alecf, sr=darin/brendan. add PRUnichar* base IsAscii routines
git-svn-id: svn://10.0.0.236/trunk@104975 18797224-902f-48f8-a5cc-f745e15eee43
2001-10-10 00:27:51 +00:00
jband%netscape.com
61ab7b9603 NOT PART OF BUILD. bug 44675. bug 98209. New files
git-svn-id: svn://10.0.0.236/trunk@104964 18797224-902f-48f8-a5cc-f745e15eee43
2001-10-09 23:42:22 +00:00
rjesup%wgate.com
0eab7b7d6e Bug 103330: Use Assign() instead of SetLength(0); Append(). r=jag, sr=alecf
git-svn-id: svn://10.0.0.236/trunk@104814 18797224-902f-48f8-a5cc-f745e15eee43
2001-10-08 20:07:04 +00:00
bzbarsky%mit.edu
789470f88f Make nsICharsetAlias::GetPreferred() and nsICharsetAlias::Equals() take
nsAStrings instead of nsStrings.  Bug 102096, r=ftang,jag. sr=shaver


git-svn-id: svn://10.0.0.236/trunk@104241 18797224-902f-48f8-a5cc-f745e15eee43
2001-09-30 04:01:15 +00:00
jaggernaut%netscape.com
51e0dc7a6c Bug 100476: Convert uses of member functions ToNewUnicode, ToNewCString and ToNewUTF8String to their global versions and remove support from nsCString and nsString. r=dbaron, rs=scc
git-svn-id: svn://10.0.0.236/trunk@104212 18797224-902f-48f8-a5cc-f745e15eee43
2001-09-29 08:28:41 +00:00
dougt%netscape.com
7ee3947039 Adding new hash key. r=darin@netscape.com, sr=brendan@mozilla.org bug=81956
git-svn-id: svn://10.0.0.236/trunk@104131 18797224-902f-48f8-a5cc-f745e15eee43
2001-09-28 21:37:23 +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
dougt%netscape.com
dd310a2b40 protects against crash when calling smprintf with a null argument. r=me, sr=darin@netscape. patch submitted by risto.kankkunen@iki.fi. bug number 100293.
git-svn-id: svn://10.0.0.236/trunk@103738 18797224-902f-48f8-a5cc-f745e15eee43
2001-09-25 22:21:14 +00:00
bienvenu%netscape.com
fbec06d22e fix 101143 r=dp, sr=waterson shutdown observer skipped if previous observer removes itself upon shutdown notification
git-svn-id: svn://10.0.0.236/trunk@103656 18797224-902f-48f8-a5cc-f745e15eee43
2001-09-24 23:07:44 +00:00