Commit Graph

877 Commits

Author SHA1 Message Date
scc%mozilla.org
d92a2df1aa A good place to hang the gcc fix, thanks dbaron!, and backing out previous failed fix ideas (|Concat|), r=dbaron 2000-09-04 05:00:25 +00:00
scc%mozilla.org
4bc5b685d6 adding back a couple more |operator+|s for gcc 2000-09-04 01:34:04 +00:00
scc%mozilla.org
0caf9417c2 bustage fix for old gcc; already built on speedracer to ensure that it works, and on Mac to ensure that doesn't break modern compilers 2000-09-03 22:38:38 +00:00
scc%mozilla.org
766ce2dea2 now that constructors are explicit, we'll have to get rid of extra comparison operators ... in fact, this is to fix immediate bustage 2000-09-03 03:16:47 +00:00
scc%mozilla.org
65a05bda2a adding |Concat| function to fix pravda and speedracer bustage 2000-09-03 01:38:27 +00:00
scc%mozilla.org
96b9a39082 making all string construction explicit; plus (now that the DOM APIs are turned on and you can no longer build without NEW_STRING_APIS) chopping out |#ifdef|ed code 2000-09-02 20:53:31 +00:00
scc%mozilla.org
b67501b4c1 fixing build bustage for OS2 and AIX 2000-09-02 12:25:27 +00:00
scc%mozilla.org
76a73c1015 fix build bustage for hpux 2000-09-02 12:20:49 +00:00
mcafee%netscape.com
33f49a5690 Solaris bustage fix from scc/bruce/#mozilla 2000-09-02 07:14:59 +00:00
scc%mozilla.org
13b55a5fda time to add that specialization of |nsCharSourceTraits<PRUnichar>|, not having it is probably hosing speedracer, r=waldemar 2000-09-02 06:03:50 +00:00
scc%mozilla.org
c18e089b7a oops. fix windows bustage 2000-09-02 04:57:36 +00:00
scc%mozilla.org
e52e438806 bug #49817: fix |normalize_forward|, |normalize_backward|; make |Begin(Read|Writ)ing| call |normalize_forward|; pass iterators by reference. r=mjudge 2000-09-02 04:10:44 +00:00
valeski%netscape.com
1c0c8d7b63 32185. r=wan-teh. Fixing hashtable enumeration lossage. 2000-09-01 19:11:24 +00:00
scc%mozilla.org
387fffdcbc don't know how I omitted this last night, particularly since mscott tested. must shift the bit in the mask to get a new position. This should fix the string hang 2000-08-31 17:56:28 +00:00
scc%mozilla.org
cc2d66fff1 make |Last| not try to adjust an iterator into an empty string (stops illegal calls to |Last| on an empty string from going into an infinite looop), r=mscott 2000-08-31 06:12:35 +00:00
beard%netscape.com
b1ef2faa2c fixing build bustage. r=scc 2000-08-31 06:00:21 +00:00
mscott%netscape.com
7e54962a72 back out my change until we can get it to build on the mac. This re-introduces the infinite loops when you run the browser though
so be warned.
2000-08-31 05:43:21 +00:00
mscott%netscape.com
57a58f3599 Bug #50853 --> fix a nasty infinite loop on windows. The compiler was choosing the wrong overloader method for nsPromiseConcatenation::operator+
which caused it to fail to inherit a mask bit which in turn led to the infinite loop.

this code came from scc.
r=mscott
2000-08-31 04:29:42 +00:00
brendan%mozilla.org
2b858a9a05 Forgot to round capacity up to nearest power of two\! r=bienvenu. 2000-08-31 03:12:40 +00:00
waterson%netscape.com
d7d0dad09e Add pldhash.h to the build. 2000-08-31 02:17:29 +00:00
brendan%mozilla.org
da11005af4 Add pldhash.[ch], sed-translated from js/src/jsdhash.[ch]. 2000-08-30 19:32:03 +00:00
akkana%netscape.com
bd7f472335 From scc, to help with bug 44372: add NS_NAMED_LITERAL_STRING macros. r=me 2000-08-30 00:24:57 +00:00
jst%netscape.com
42f438ff51 Fixing AIX and SunOS 5.7 bustage. r=scc&vidur 2000-08-24 22:17:25 +00:00
hyatt%netscape.com
985e328964 Fix bug in void array's assignment operator. r=scc 2000-08-24 09:26:58 +00:00
jdunn%netscape.com
7eb04ed28d fixing hpux bustage
r=vidur@netscape.com
2000-08-23 23:57:00 +00:00
jst%netscape.com
1a18c182df Attempting to fix AIX and OS2 bustage, code written by scc, r=jst 2000-08-23 23:36:58 +00:00
jst%netscape.com
5da5a8ecc8 Fix to ToUpperCase and ToLowerCase so that we actually hit all characters. r=scc 2000-08-23 19:23:15 +00:00
jst%netscape.com
9abec73fbe DOM string changes. All nsString& in DOM interfaces (and interfaces needed by DOM implementations) have been changed to nsAReadableString& and nsAWritableString&. String implementation additions (sanctioned by scc) to support DOM needs. Bug 49091. r=vidur,jst,scc 2000-08-23 17:27:06 +00:00
warren%netscape.com
e05eef45e9 Bug 46777. Redesigned stream interfaces to allows stream observers to be decoupled from pipe implementation. Needed for embedding to fix 'spin' problem. r=rpotts,valeski,ruslan 2000-08-22 07:03:33 +00:00
jband%netscape.com
6c95754e2c add nsStaticNameTable to the builds. Needed to fix bug 48855. r=harishd,attinasi 2000-08-22 05:59:06 +00:00
warren%netscape.com
d43828f23c Added back in nsOpaqueKey, used in nsMemCache. Went back to 37 as the magic number (prime). 2000-08-21 02:37:20 +00:00
warren%netscape.com
c82a2efd44 After a little more analysis, I think using 33 instead of 37 as the magic multiplier gives just as good a distribution, but is a little faster to compute. 2000-08-20 22:28:12 +00:00
warren%netscape.com
a94aa1aa52 Fix for hash code performance problem discovered by bienvenu. 'Sampling' hash code was statistically evil. 2000-08-20 21:29:10 +00:00
waterson%netscape.com
179f993e8b Fix nsCString::AppendWithConversion() to work. 2000-08-20 20:41:31 +00:00
scc%mozilla.org
794bf08cde temporarily backing out the headers with the explicit change (we haven't finished platform specific code or commercial yet) 2000-08-20 07:40:30 +00:00
scc%mozilla.org
ad963283c3 fixing code that relied on implicit string construction 2000-08-20 06:59:07 +00:00
scc%mozilla.org
aae8dfd4db adding |AppendWithConverison(const PRUnichar*, PRInt32)|, the need for which was brought out by making constructors |explicit| 2000-08-19 19:34:00 +00:00
warren%netscape.com
9d781138b0 Correct error code. 2000-08-18 20:54:28 +00:00
pinkerton%netscape.com
b7e5078b6c add a |do_AppendFromElement(PRUnichar)| to help speed up some things in wallet initialization (bug 44514) r/a=scc. 2000-08-18 04:48:29 +00:00
scc%mozilla.org
4e46a37d08 not part of the build; temporarily patching these files to use the old (what is currently in the tree) |GetReadableFragment| scheme, so that clients can start using this now both on the tip and on the DOMAPI... branch 2000-08-17 21:07:45 +00:00
scc%mozilla.org
959c07dea2 not yet part of the build, this new class provides a more consistent and flexible answer to the need for functions like |AppendInt| and |AppendFloat|. It is a short readable string produced with printf. 2000-08-17 01:08:30 +00:00
jband%netscape.com
3998d0b8d6 initial checkin - NOT PART OF BUILD 2000-08-16 02:07:37 +00:00
warren%netscape.com
e8b9347907 Changes to allow uncopied string keys. Changes to copy string key's null byte. code=jband, r=warren 2000-08-16 00:32:59 +00:00
jband%netscape.com
d98735c0ea Pass the buffer length in bytes to nsCRT::memcmp. a=warren 2000-08-11 23:46:09 +00:00
scc%mozilla.org
5082251b3e bug #48464. explicitly picking my own or the auto-generated function, in particular |operator=|. r={vidur, waterson}, a=vidur 2000-08-11 00:42:41 +00:00
warren%netscape.com
a35f9c8adb Fixed warnings. 2000-08-10 07:05:13 +00:00
scc%mozilla.org
cc67834dfe fixes needed to get multi-fragment strings working; r|a=waterson 2000-08-10 06:36:54 +00:00
warren%netscape.com
501b575efa Fixed nscom.h -> nsCom.h 2000-08-10 06:35:34 +00:00
warren%netscape.com
84b5fd67e3 Bug 46711. Removed nsAutoString travisty from nsStringKey. Introduced nsCStringKey. Made them both share the underlying string when possible. r=waterson 2000-08-10 06:19:37 +00:00
scc%mozilla.org
d369a0d0d0 not part of the build; further work on multi-fragment strings. They are now limping along and can actually be used. They pass all tests not related to |Substring| and |nsPromiseConcatenation|. 2000-08-10 00:45:33 +00:00