4840 Commits

Author SHA1 Message Date
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
alecf%netscape.com
44ffdedad3 for bug 100214 - make nsStr routines stop depending on nsCRT:: routines, to further reduce our dependency on unicharutil
r=jag, sr=scc


git-svn-id: svn://10.0.0.236/trunk@105795 18797224-902f-48f8-a5cc-f745e15eee43
2001-10-19 20:49:39 +00:00
pinkerton%netscape.com
aed93678e4 Keep stack aligned on 16-byte boundary. from bug 98290, r=beard/sr=sfraser. Not part of any build, a=pchen.
git-svn-id: svn://10.0.0.236/trunk@105779 18797224-902f-48f8-a5cc-f745e15eee43
2001-10-19 17:33:06 +00:00
jband%netscape.com
dc2c9d5087 fix Mac installer crash. bug 105437. r/sr=sfraser
git-svn-id: svn://10.0.0.236/trunk@105724 18797224-902f-48f8-a5cc-f745e15eee43
2001-10-19 00:15:43 +00:00
cltbld%netscape.com
fb42e0d8d0 Fixing build busted in --enable-bohem builds
git-svn-id: svn://10.0.0.236/trunk@105721 18797224-902f-48f8-a5cc-f745e15eee43
2001-10-18 21:45:52 +00:00
jband%netscape.com
f40de0e3d3 fix warning (and perhaps wrong behavior) by restoring new-style C++ cast of nsInt64 reference into a PRInt64 when passing to PR_fprintf. This was inadvertantly removed in the recent checkin. rs=jband
git-svn-id: svn://10.0.0.236/trunk@105685 18797224-902f-48f8-a5cc-f745e15eee43
2001-10-18 07:55:38 +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
dougt%netscape.com
f7097e84eb reverting to the old way to get windows directories since the function I am using does not work on windows systems without IE4. a=nhotta@netscape.com
git-svn-id: svn://10.0.0.236/trunk@105636 18797224-902f-48f8-a5cc-f745e15eee43
2001-10-17 19:38:58 +00:00
jaggernaut%netscape.com
7421efac1f Bug 73292: Add const nsACString& constructor to NS_Convert(ASCII|UTF8)toUCS2. r=dbaron, sr=scc.
git-svn-id: svn://10.0.0.236/trunk@105601 18797224-902f-48f8-a5cc-f745e15eee43
2001-10-17 05:17:53 +00:00
dougt%netscape.com
7afa8ce1d2 Allows a QI from nsIServiceManager to nsIServiceManagerObsolete. b=105136, r=beard, sr=darin
git-svn-id: svn://10.0.0.236/trunk@105560 18797224-902f-48f8-a5cc-f745e15eee43
2001-10-16 23:39:20 +00:00
dougt%netscape.com
28d5971198 Improvements to GetWindowsFolder. bug 104962, r=dveditz@netscape.com, sr=darin@netscape.com
git-svn-id: svn://10.0.0.236/trunk@105556 18797224-902f-48f8-a5cc-f745e15eee43
2001-10-16 23:33:08 +00:00
jaggernaut%netscape.com
56fd5dbc91 More REQUIRES clean-up.
git-svn-id: svn://10.0.0.236/trunk@105540 18797224-902f-48f8-a5cc-f745e15eee43
2001-10-16 22:08:55 +00:00
dougt%netscape.com
47cea5ecc3 Fixing bustage caused yesterday. b=105102, r=neeti
git-svn-id: svn://10.0.0.236/trunk@105526 18797224-902f-48f8-a5cc-f745e15eee43
2001-10-16 21:00:39 +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
f2bb49a853 Remove overloaded fputs functions, DebugDump, and (from nsCString only) ToCString). b=104763 r=jag rs=scc
git-svn-id: svn://10.0.0.236/trunk@105469 18797224-902f-48f8-a5cc-f745e15eee43
2001-10-16 05:35:38 +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
dougt%netscape.com
1db6eaec11 fixing bustage caused by last checkin
git-svn-id: svn://10.0.0.236/trunk@105462 18797224-902f-48f8-a5cc-f745e15eee43
2001-10-16 04:08:42 +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
3823f1e1ae Update for nsIServiceManager interface freeze. r=shaver@mozilla.org. sr=rpotts@netscape.com, bug 99147
git-svn-id: svn://10.0.0.236/trunk@105459 18797224-902f-48f8-a5cc-f745e15eee43
2001-10-16 03:36:21 +00:00
dougt%netscape.com
2367cd653a API Freeze for nsIServiceManager r=shaver@mozilla.org, sr=rpotts@netscape.com bug 99147
git-svn-id: svn://10.0.0.236/trunk@105458 18797224-902f-48f8-a5cc-f745e15eee43
2001-10-16 03:35:52 +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
jaggernaut%netscape.com
34e006d3a5 Remove dead code from obsolete string classes: ToNewString(), IsUnicode() and GetBuffer(). r=dbaron, rs=scc
git-svn-id: svn://10.0.0.236/trunk@105387 18797224-902f-48f8-a5cc-f745e15eee43
2001-10-14 05:06:53 +00:00
av%netscape.com
7c799c5bd3 Bug 104309 -- moved ContractID string definition for memory service to the idl file, r/sr=jband, vidur
git-svn-id: svn://10.0.0.236/trunk@105376 18797224-902f-48f8-a5cc-f745e15eee43
2001-10-13 20:40:40 +00:00
jaggernaut%netscape.com
39042c626f Use typedefs throughout the string code. r=dbaron, sr=scc
git-svn-id: svn://10.0.0.236/trunk@105374 18797224-902f-48f8-a5cc-f745e15eee43
2001-10-13 15:01:21 +00:00
seawood%netscape.com
fb784e1e1f Look for mips* on linux instead of specific variants.
Remove temp .s file when done building .o .


git-svn-id: svn://10.0.0.236/trunk@105365 18797224-902f-48f8-a5cc-f745e15eee43
2001-10-13 06:09:27 +00:00
dougt%netscape.com
830bd80be0 Freezing nsIClassInfo interface. r=dbradley sr=shaver bug=99158
git-svn-id: svn://10.0.0.236/trunk@105275 18797224-902f-48f8-a5cc-f745e15eee43
2001-10-12 20:21:18 +00:00
jaggernaut%netscape.com
0fe9a77221 Bug 104337: Remove nsPrivateReadableString from string hierarchy, r=dbaron, rs=scc.
git-svn-id: svn://10.0.0.236/trunk@105257 18797224-902f-48f8-a5cc-f745e15eee43
2001-10-12 07:48:27 +00:00
jaggernaut%netscape.com
17085b914f Bug 104337: Remove nsPrivateSharableString from string hierarchy. r=dbaron, rs=scc.
git-svn-id: svn://10.0.0.236/trunk@105256 18797224-902f-48f8-a5cc-f745e15eee43
2001-10-12 07:34:28 +00:00
dbaron%fas.harvard.edu
8cfde11cea Bug 69873: remove nsAutoCString. r=jag rs=scc
git-svn-id: svn://10.0.0.236/trunk@105247 18797224-902f-48f8-a5cc-f745e15eee43
2001-10-12 02:57:59 +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
pavlov%netscape.com
35f9bd599e fix indentation/tabbing
git-svn-id: svn://10.0.0.236/trunk@105151 18797224-902f-48f8-a5cc-f745e15eee43
2001-10-11 07:19:01 +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
pavlov%netscape.com
143dee3821 xptcstubs code for o32 mips/linux r=pavlov sr=waterson
git-svn-id: svn://10.0.0.236/trunk@105126 18797224-902f-48f8-a5cc-f745e15eee43
2001-10-11 00:33:36 +00:00
ftang%netscape.com
6c3c50baf2 fix 96529. lazy load unicharutil for start up.
author=waterson r=ftang sr=brendan


git-svn-id: svn://10.0.0.236/trunk@105123 18797224-902f-48f8-a5cc-f745e15eee43
2001-10-11 00:25:21 +00:00
jaggernaut%netscape.com
386b4306b6 We'll want support for IsVoid and SetIsVoid on nsACString too. r=jst,dbaron, rs=scc.
git-svn-id: svn://10.0.0.236/trunk@105026 18797224-902f-48f8-a5cc-f745e15eee43
2001-10-10 07:51:16 +00:00
jaggernaut%netscape.com
5e4f75c9bf Bug 81444: Remove deprecated null_nsCOMPtr(), r=mozbot, sr=scc.
git-svn-id: svn://10.0.0.236/trunk@105025 18797224-902f-48f8-a5cc-f745e15eee43
2001-10-10 07:51:08 +00:00
dbaron%fas.harvard.edu
5c44476f4d Add xptcinvoke code for gcc 3.0 on Solaris. This is just a heavily modified version of xptcinvoke_asm_sparc_solaris_GCC.s . Not yet part of the build. b=71627
git-svn-id: svn://10.0.0.236/trunk@105017 18797224-902f-48f8-a5cc-f745e15eee43
2001-10-10 06:29:28 +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
bienvenu%netscape.com
9fcf1a5bc2 fix string leak in GetWindowsFolder r=dougt sr=sspitzer 103779
git-svn-id: svn://10.0.0.236/trunk@104895 18797224-902f-48f8-a5cc-f745e15eee43
2001-10-09 03:30:12 +00:00
pavlov%netscape.com
770e4bed36 build xptcinvoke_*_mips.* on linux/mips r=pavlov sr=waterson
git-svn-id: svn://10.0.0.236/trunk@104885 18797224-902f-48f8-a5cc-f745e15eee43
2001-10-09 01:01:48 +00:00
dbaron%fas.harvard.edu
4f32154297 Fix leak of string. b=102996 r=jag sr=bienvenu
git-svn-id: svn://10.0.0.236/trunk@104828 18797224-902f-48f8-a5cc-f745e15eee43
2001-10-08 21:10:20 +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
jaggernaut%netscape.com
bf7774eb72 Bug 81444: eliminate |null_nsCOMPtr|. Eliminating all callers, r=syd, rs=mozbot.
git-svn-id: svn://10.0.0.236/trunk@104764 18797224-902f-48f8-a5cc-f745e15eee43
2001-10-07 10:58:39 +00:00
jaggernaut%netscape.com
5bcb5cf396 Clean up REQUIRES lines.
git-svn-id: svn://10.0.0.236/trunk@104763 18797224-902f-48f8-a5cc-f745e15eee43
2001-10-07 10:35:41 +00:00
pavlov%netscape.com
09d46c88ee Adding xptcinvoke code for the MIPS O32 ABI. r=pavlov sr=brendan
git-svn-id: svn://10.0.0.236/trunk@104719 18797224-902f-48f8-a5cc-f745e15eee43
2001-10-06 03:45:29 +00:00