973 Commits

Author SHA1 Message Date
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
waterson%netscape.com
1ef6e620b4 Bug 68213. Require users of nsFixedSizeAllocator to specify object size at Free() time to avoid 8 byte overhead per allocation. r=harishd, brendan, shaver, hyatt; sr=scc
git-svn-id: svn://10.0.0.236/trunk@91251 18797224-902f-48f8-a5cc-f745e15eee43
2001-04-04 05:00:08 +00:00
valeski%netscape.com
1174356dfa sr=waterson. comment change only
git-svn-id: svn://10.0.0.236/trunk@91200 18797224-902f-48f8-a5cc-f745e15eee43
2001-04-03 23:30:30 +00:00
scc%mozilla.org
7b06841b03 landing string branch; see bug #73786
git-svn-id: svn://10.0.0.236/trunk@91049 18797224-902f-48f8-a5cc-f745e15eee43
2001-04-02 19:40:52 +00:00
valeski%netscape.com
3077b98973 sr=alecf. javadoc'ing comments and changing a param name
git-svn-id: svn://10.0.0.236/trunk@90541 18797224-902f-48f8-a5cc-f745e15eee43
2001-03-27 15:12:57 +00:00
waterson%netscape.com
03cb2db790 Bug 73540. Make sure [JS|PL]DHashTable clear live entries while finalizing. Remove induction variable from [JS|PL]_DHashEnumerate() along the way. r=brendan, sr=shaver
git-svn-id: svn://10.0.0.236/trunk@90488 18797224-902f-48f8-a5cc-f745e15eee43
2001-03-27 06:24:25 +00:00
mkaply%us.ibm.com
e324a073a6 #73191
r=beard, sr=brendan
Remove CRT_CALL - change to PR_CALLBACK or JS_DLL_CALLBACK appropriately


git-svn-id: svn://10.0.0.236/trunk@90446 18797224-902f-48f8-a5cc-f745e15eee43
2001-03-26 23:21:53 +00:00
valeski%netscape.com
e028f93870 r=rpotts. comment changes only. 48726. adding status to idl files of api rev. ifaces.
git-svn-id: svn://10.0.0.236/trunk@90298 18797224-902f-48f8-a5cc-f745e15eee43
2001-03-24 00:22:18 +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
brendan%mozilla.org
47c8105e26 Fix bug 69271, r=waterson, sr=shaver:
- Don't ape java.lang.String's bogo-sampling hash function for "long" (>=16
  char) strings.
- Theory and practice comment in pldhash.h helps analyze when to use double
  hashing (most of the time) vs. when to use chaining.
- Subroutine ChangeTable from PL_DHashTableOperate so it can be called from
  PL_DHashTableEnumerate, if the latter finds that enough entries have been
  removed to be worth a shrink or compress cycle.


git-svn-id: svn://10.0.0.236/trunk@89639 18797224-902f-48f8-a5cc-f745e15eee43
2001-03-14 07:48:07 +00:00
disttsc%bart.nl
4362910022 Fix bad nsPromiseFlatString usage in nsAtomTable, bug=71759, r=bryner, sr=shaver
git-svn-id: svn://10.0.0.236/trunk@89636 18797224-902f-48f8-a5cc-f745e15eee43
2001-03-14 07:41:08 +00:00
scc%mozilla.org
3b8921ebb9 bug #64592: r=waterson, sr=vidur. Fix |nsCRT::HashCode| and |nsCRT::BufferHashCode| to use a better hash (in this case, the same scheme as |PL_HashString|).
git-svn-id: svn://10.0.0.236/trunk@89264 18797224-902f-48f8-a5cc-f745e15eee43
2001-03-11 02:15:36 +00:00
sfraser%netscape.com
149c6222b3 Fix bug 69729, nsIObserverList had bogus params. Also make it possible to CreateInstance one. r=jag, sr=alecf.
git-svn-id: svn://10.0.0.236/trunk@88439 18797224-902f-48f8-a5cc-f745e15eee43
2001-03-03 01:24:36 +00:00
disttsc%bart.nl
d30c2be76b Preparation of removing nsCString::GetBuffer. Landing everything but the actual commenting out of nsCString::GetBuffer. bug=64016, r=timeless, sr=scc
git-svn-id: svn://10.0.0.236/trunk@88396 18797224-902f-48f8-a5cc-f745e15eee43
2001-03-02 09:26:57 +00:00
disttsc%bart.nl
edc70961f6 Mass REQUIRES update to synch up with string lib and xul changes in an attempt to fix senna bustage. r=jst, sr=cls
git-svn-id: svn://10.0.0.236/trunk@87655 18797224-902f-48f8-a5cc-f745e15eee43
2001-02-22 09:35:51 +00:00
waterson%netscape.com
4d9333a0b1 Remove nsReadableUtils.obj and nsSharedBufferList.obj from build; moved to top-level strings directory yesterday.
git-svn-id: svn://10.0.0.236/trunk@87639 18797224-902f-48f8-a5cc-f745e15eee43
2001-02-22 05:17:28 +00:00
scc%mozilla.org
0ad00947ce bug #59429: CVS remove all the files that have moved to the new string library
git-svn-id: svn://10.0.0.236/trunk@87629 18797224-902f-48f8-a5cc-f745e15eee43
2001-02-22 04:03:36 +00:00
scc%mozilla.org
727c3ba7dc bug #59429: xpcom gets string code from mozilla/string instead of locally
git-svn-id: svn://10.0.0.236/trunk@87576 18797224-902f-48f8-a5cc-f745e15eee43
2001-02-21 14:05:29 +00:00
scc%mozilla.org
9a6e52725a bug #69315: removing unused and confusing string files
git-svn-id: svn://10.0.0.236/trunk@87349 18797224-902f-48f8-a5cc-f745e15eee43
2001-02-19 11:27:41 +00:00
scc%mozilla.org
368313f173 bug #69315: r=dbaron, a=ben. Remove unused experimental string files that have never been part of the build
git-svn-id: svn://10.0.0.236/trunk@87313 18797224-902f-48f8-a5cc-f745e15eee43
2001-02-19 01:34:34 +00:00
scc%mozilla.org
c1d8f1bc86 bug #66562: r=harish, sr=brendan, a=blizzard. Make |document.write| work.
git-svn-id: svn://10.0.0.236/trunk@86935 18797224-902f-48f8-a5cc-f745e15eee43
2001-02-13 21:26:58 +00:00
alecf%netscape.com
2a3af2590c fix for 67475 sr=scc, waterson, r=blizzard, jag
observer stuff was using nsString junk when it didn't need to


git-svn-id: svn://10.0.0.236/trunk@86868 18797224-902f-48f8-a5cc-f745e15eee43
2001-02-13 01:34:14 +00:00
scc%mozilla.org
1ee3d0b751 fix bustage caused by access violations not caught in CodeWarrior <sorry>
git-svn-id: svn://10.0.0.236/trunk@86722 18797224-902f-48f8-a5cc-f745e15eee43
2001-02-10 01:05:43 +00:00
scc%mozilla.org
9ffaf9da8b bug #66562: r=harishd, sr=brendan, a=brendan. Allow insertion into sliding string buffers
git-svn-id: svn://10.0.0.236/trunk@86715 18797224-902f-48f8-a5cc-f745e15eee43
2001-02-10 00:02:28 +00:00
dbaron%fas.harvard.edu
b7928862f7 Fix build bustage by removing extra right paren.
git-svn-id: svn://10.0.0.236/trunk@86446 18797224-902f-48f8-a5cc-f745e15eee43
2001-02-07 03:04:46 +00:00
scc%mozilla.org
28c68103ce bug #57087: r=dmose, sr=waterson. Allow for multi-line literals.
git-svn-id: svn://10.0.0.236/trunk@86439 18797224-902f-48f8-a5cc-f745e15eee43
2001-02-07 02:32:49 +00:00
scc%mozilla.org
fe019074bb bug #53067: r=danm, sr=alecf. Eliminate copying versions of |BeginReading|, |EndReading|, |BeginWriting|, |EndWriting|, and fix callers
git-svn-id: svn://10.0.0.236/trunk@86364 18797224-902f-48f8-a5cc-f745e15eee43
2001-02-06 23:18:20 +00:00
scc%mozilla.org
028f9f3180 bug #53071: r=danm, sr=alecf. Eliminate redundant implemenations, resolve resulting ambiguities.
git-svn-id: svn://10.0.0.236/trunk@86357 18797224-902f-48f8-a5cc-f745e15eee43
2001-02-06 23:07:24 +00:00
scc%mozilla.org
60326ad647 bug #66278: r=danm, sr=alecf. Fix signed vs. unsigned warngins in |nsFragmentedString::SetLength|
git-svn-id: svn://10.0.0.236/trunk@86350 18797224-902f-48f8-a5cc-f745e15eee43
2001-02-06 23:00:39 +00:00
dbaron%fas.harvard.edu
5f0a7ab9bd Remove trailing semicolons after all uses of MOZ_DECL_CTOR_COUNTER to quiet build warnings on Mac. b=60415 a=brendan@mozilla.org
git-svn-id: svn://10.0.0.236/trunk@85654 18797224-902f-48f8-a5cc-f745e15eee43
2001-01-27 23:06:33 +00:00
waterson%netscape.com
f15f96de69 Bug 65908. Reduce nsHashtable default size from 256 to 16 (the minimum that a PL_HashTable will allow). r=kandrot, sr=brendan.
git-svn-id: svn://10.0.0.236/trunk@85176 18797224-902f-48f8-a5cc-f745e15eee43
2001-01-19 21:20:52 +00:00
dprice%netscape.com
0ccbfc1487 busted linux, backing out.
git-svn-id: svn://10.0.0.236/trunk@84924 18797224-902f-48f8-a5cc-f745e15eee43
2001-01-13 07:24:24 +00:00
dprice%netscape.com
865f93f808 BUG 63013 Removes the STAND_ALONE_STRING_TESTS flag, sr=scc
git-svn-id: svn://10.0.0.236/trunk@84922 18797224-902f-48f8-a5cc-f745e15eee43
2001-01-13 07:03:35 +00:00
dbaron%fas.harvard.edu
11b7597695 Add nsDeque to leak stats. r=harishd@netscape.com sr=waterson@netscape.com b=63014
git-svn-id: svn://10.0.0.236/trunk@84703 18797224-902f-48f8-a5cc-f745e15eee43
2001-01-10 04:04:57 +00:00
ducarroz%netscape.com
7a8f294249 Part of fix for bug 42458. The Unichar version of nsCRT::strndup wasn't correctly terminating the string. R=varada, SR=mscott
git-svn-id: svn://10.0.0.236/trunk@84583 18797224-902f-48f8-a5cc-f745e15eee43
2001-01-08 19:58:12 +00:00
disttsc%bart.nl
62d90be0d3 Add |.get()| to nsCString. Bug=58284,r=dbaron, a=scc.
git-svn-id: svn://10.0.0.236/trunk@84035 18797224-902f-48f8-a5cc-f745e15eee43
2000-12-23 06:45:54 +00:00
sspitzer%netscape.com
becfeef73a fix for #58238. sr=bienvenu. fix crash when growing the hash table
that contained the list of atoms.  see bug report for all the details.
thanks to bienvenu, scc, brendan, and hyatt for the help.


git-svn-id: svn://10.0.0.236/trunk@83789 18797224-902f-48f8-a5cc-f745e15eee43
2000-12-18 19:58:20 +00:00
tao%netscape.com
3b1dbd114b 51327: mozilla doesn't parse java properties files correctly
patch from erik, r=tao,sr=alecf


git-svn-id: svn://10.0.0.236/trunk@83687 18797224-902f-48f8-a5cc-f745e15eee43
2000-12-15 00:52:09 +00:00
jst%netscape.com
9288eb059b Checking in scc's fix for blocker bug 62818, nsSlidingSubstring::GetReadableFragment(..., kFragmentAt, ...) wasn't implemented and that caused a crash when serializing HTML to plain text. r=me.
git-svn-id: svn://10.0.0.236/trunk@83653 18797224-902f-48f8-a5cc-f745e15eee43
2000-12-14 22:16:10 +00:00
mkaply%us.ibm.com
6e06af2d75 OS/2 TB breakage
r=jag, a=scc
Don't use initializer on template


git-svn-id: svn://10.0.0.236/trunk@83593 18797224-902f-48f8-a5cc-f745e15eee43
2000-12-13 04:07:21 +00:00
vidur%netscape.com
ab6a2520bd Fix for Solaris compiler warning from scc. r=vidur
git-svn-id: svn://10.0.0.236/trunk@83559 18797224-902f-48f8-a5cc-f745e15eee43
2000-12-12 23:02:01 +00:00
vidur%netscape.com
3e62b3f9f3 Changes to parser to allow less copying. Use of the new nsSliding[Sub]String classes so that tokens can hold substrings that keep references into the scanner buffer. Cleaned up token interface and general string usage. r=harishd,heikki sr=jst
git-svn-id: svn://10.0.0.236/trunk@83553 18797224-902f-48f8-a5cc-f745e15eee43
2000-12-12 21:58:14 +00:00
jst%netscape.com
2afdb2a411 Fixing compiler warnings, not part of the build yet. r=vidur
git-svn-id: svn://10.0.0.236/trunk@83550 18797224-902f-48f8-a5cc-f745e15eee43
2000-12-12 21:52:08 +00:00
vidur%netscape.com
00f259c6ae New file for buffer management for shared strings, written by scc. Not yet added to the build. r=vidur
git-svn-id: svn://10.0.0.236/trunk@83542 18797224-902f-48f8-a5cc-f745e15eee43
2000-12-12 20:13:33 +00:00
cls%seawood.org
6088dfbf6b Resurrect REQUIRES so that we have some sort of means to track intermodule dependencies. Bug #59454 r=blizzard@mozilla.org
git-svn-id: svn://10.0.0.236/trunk@82785 18797224-902f-48f8-a5cc-f745e15eee43
2000-11-20 07:16:06 +00:00
alecf%netscape.com
13743894ed fix for #45797 - fix NS_IMPL_ISUPPORTS consumers
r=dveditz a=self


git-svn-id: svn://10.0.0.236/trunk@82722 18797224-902f-48f8-a5cc-f745e15eee43
2000-11-17 03:41:41 +00:00
disttsc%bart.nl
868c5c4476 Fix iteration type in ConvertTo(Upper|Lower)Case in nsReadableUtils.cpp, bug=60047, r=dmose, a=scc
git-svn-id: svn://10.0.0.236/trunk@82630 18797224-902f-48f8-a5cc-f745e15eee43
2000-11-15 01:58:23 +00:00
dbaron%fas.harvard.edu
4cb75fda5a Remove the last remnants of the misspelled nsTextFormater and remove the misspelled files. r=erik@netscape.com sr=brendan@mozilla.org b=16951
git-svn-id: svn://10.0.0.236/trunk@82412 18797224-902f-48f8-a5cc-f745e15eee43
2000-11-08 03:02:17 +00:00
dbaron%fas.harvard.edu
9cc24c9854 Remove extraneous line I introduced in previous checkin. r=waterson
git-svn-id: svn://10.0.0.236/trunk@82088 18797224-902f-48f8-a5cc-f745e15eee43
2000-10-31 05:39:34 +00:00
dbaron%fas.harvard.edu
569c30eb6d Fix gcc 2.7.x bustage by defining |operator+()| for combinations involving |nsPromiseSubstring|, within |#ifdef NEED_CPP_DERIVED_TEMPLATE_OPERATORS|. (Based on scc's proposal earlier.) r=waterson
git-svn-id: svn://10.0.0.236/trunk@82087 18797224-902f-48f8-a5cc-f745e15eee43
2000-10-31 04:33:32 +00:00