dbaron%fas.harvard.edu
|
305ae0863f
|
Remove extraneous line I introduced in previous checkin. r=waterson
|
2000-10-31 05:39:34 +00:00 |
dbaron%fas.harvard.edu
|
2950d05f29
|
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
|
2000-10-31 04:33:32 +00:00 |
jst%netscape.com
|
9c1d9336f0
|
Fixing rtm++ bug 55587. nsAReadableString::FindChar() was returning the index from the offset to the character if found in stead of the index from the beginning of the string. r=kin, sr&a=scc
|
2000-10-07 01:50:36 +00:00 |
hyatt%netscape.com
|
1e7caf9ea7
|
Fix win32 build bustage, r=scc
|
2000-10-05 07:48:20 +00:00 |
scc%mozilla.org
|
30ae0dfa95
|
and trying to fix OS/2 bustage
|
2000-10-05 07:24:51 +00:00 |
scc%mozilla.org
|
b0e94a7f54
|
and a access error ... r=waterson on this fix
|
2000-10-05 03:28:41 +00:00 |
scc%mozilla.org
|
6a1323eb68
|
damn typo
|
2000-10-05 01:51:52 +00:00 |
scc%mozilla.org
|
e61e3bb742
|
bug #54712, r=rjc, a=waterson. Added a |Distance| function to calculate the span between two iterators, then added a constructor and appropriate global function to allow |Substring|s to be made from iterators in addition to the old scheme of {index,length}
|
2000-10-05 01:07:02 +00:00 |
scc%mozilla.org
|
d8c335f9f1
|
fix typo
|
2000-09-13 02:56:13 +00:00 |
scc%mozilla.org
|
45bdeed06d
|
fixed indentation, added inheritance that makes classes cooperate in our buffer sharing strategy, added |get()| to flat classes, as we're deprecating implicit operators for this task
|
2000-09-13 02:41:06 +00:00 |
scc%mozilla.org
|
5dc8f6b463
|
moved |Mid|, |Left|, and |Right| to "nsAWritableString.h" since on SunOS, they couldn't compile until after they'd seen the definition of |basic_nsAWritableString|. They're still members or readable ... got to get rid of these functions
|
2000-09-09 11:57:43 +00:00 |
scc%mozilla.org
|
67313abb1f
|
fix a |const| error
|
2000-09-09 05:02:19 +00:00 |
scc%mozilla.org
|
b24a6f0f2c
|
bug #51662, r=bienvenu
|
2000-09-08 22:07:14 +00:00 |
scc%mozilla.org
|
539877e022
|
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
|
457454c555
|
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
|
a84e76fe17
|
adding |Concat| function to fix pravda and speedracer bustage
|
2000-09-03 01:38:27 +00:00 |
mcafee%netscape.com
|
6dd1eca956
|
Solaris bustage fix from scc/bruce/#mozilla
|
2000-09-02 07:14:59 +00:00 |
scc%mozilla.org
|
3fa71edbc6
|
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 |
scc%mozilla.org
|
015d37393f
|
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
|
c597b81a96
|
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
|
305550b2a0
|
fixing build bustage. r=scc
|
2000-08-31 06:00:21 +00:00 |
mscott%netscape.com
|
3dd88adffe
|
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
|
683539b3d5
|
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 |
akkana%netscape.com
|
13c644d052
|
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
|
6c60728277
|
Fixing AIX and SunOS 5.7 bustage. r=scc&vidur
|
2000-08-24 22:17:25 +00:00 |
jdunn%netscape.com
|
80e92797ec
|
fixing hpux bustage
r=vidur@netscape.com
|
2000-08-23 23:57:00 +00:00 |
jst%netscape.com
|
b3a4ade60d
|
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 |
scc%mozilla.org
|
00dda8db96
|
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 |
scc%mozilla.org
|
6835c7e5c5
|
fixes needed to get multi-fragment strings working; r|a=waterson
|
2000-08-10 06:36:54 +00:00 |
scc%mozilla.org
|
d5a9845d79
|
fixed |BeginReading| and |EndReading| to no longer take an offset, fallout from the new multi-fragment string implementation; fixed a bug in |operator-=| exposed by the change to |EndReading|; fixed the |CharAt| family of routines accordingly; fixed comments galore; r|a=waterson
|
2000-08-09 08:26:00 +00:00 |
scc%mozilla.org
|
a2e2352e1e
|
fix for commercial bustage on Mac (adding |operator const CharT*() const| to |basic_nsLiteralString|). fix for blizzards linux changes needing working |Substring|. r=beard,syd
|
2000-06-21 05:13:10 +00:00 |
scc%mozilla.org
|
0aca2ee58f
|
fixing OS/2 VisualAge platform bustage, and bad dates in licenses
|
2000-06-18 05:00:31 +00:00 |
scc%mozilla.org
|
2f8ac64d97
|
provide real definitions for |NS_LITERAL_STRING| (one of which exploits |wchar_t|); add a range-check assertion to |CharAt|; add another constructor to |nsPromiseConcatenation| to allow per-class |operator+()| (which some compilers need to resolve ambiguity) to work; fiddled with inlining to reduce bloat ... more experiments needed
|
2000-06-11 01:00:08 +00:00 |
scc%mozilla.org
|
8db7c18353
|
Exploiting a user-defined |operator->()| when the result is a pointer to a primitive type is problematic for the OS/2 VisualAge compiler. Eliminate such uses in the new string facilities. r=waterson
|
2000-06-01 06:01:18 +00:00 |
waterson%netscape.com
|
0bf691600f
|
Bug 39424. Fix Sun Workshop compiler bustage by conditioning NS_READABLE_CAST's funkiness on NEED_CPP_TEMPLATE_CAST_TO_BASE. r=scc
|
2000-05-27 05:51:56 +00:00 |
waterson%netscape.com
|
494618c088
|
Back out changes that I didn't mean to check in.
|
2000-05-27 00:17:36 +00:00 |
waterson%netscape.com
|
1415b703eb
|
Fix boneheaded mistake: I left the return type of NS_ConvertUCS2toUTF8::Init().
|
2000-05-27 00:17:10 +00:00 |
scc%mozilla.org
|
e16c3964fe
|
Bug #39963. The NS_LITERAL_[C]STRING macros incorrectly counted the null terminator for a literal string in the length. This may not be the complete solution. r=sdagley
|
2000-05-21 01:45:19 +00:00 |
scc%mozilla.org
|
09ea95c306
|
Bug #39686. Made an |NS_COUNT|. Put it in the new file "nsAlgorithm.h", to which I also moved |NS_MIN| and |NS_MAX| from "nscore.h", and |copy_string| and |copy_string_backward| from "nsAReadableString.h". Also fixed non-standard include-guards. r={sford, jag}
|
2000-05-20 20:43:26 +00:00 |
scc%netscape.com
|
9cdd1c4d19
|
fixed a problem with cut and advancing past the end of a string with an iterator r=waterson
|
2000-05-16 10:13:23 +00:00 |
waterson%netscape.com
|
5761d5cb3f
|
Revert NS_READABLE_CAST. Without the reference, it didn't work.
|
2000-05-16 07:01:30 +00:00 |
waterson%netscape.com
|
48c9901fe8
|
Clean up some of the last warnings.
|
2000-05-16 00:45:38 +00:00 |
waterson%netscape.com
|
d8d4f434ce
|
Flip NS_READABLE_CAST back the other way: more important to placate egcs that gcc-2.7.2.3
|
2000-05-15 23:06:25 +00:00 |
scc%netscape.com
|
c84fe3a063
|
adding macros and uses to support Solaris' inability to pick operator+
|
2000-05-15 07:28:00 +00:00 |
scc%netscape.com
|
bdc40d3a04
|
added macro code to help define more comparison operators. Got rid of |typename|. We can live with the warnings, maybe; but windows can't digest it in this context.
|
2000-05-15 05:14:40 +00:00 |
scc%netscape.com
|
8b82758f42
|
changes to fix some errors constructing autostrings from null pointers that led to crashes
|
2000-05-15 03:10:19 +00:00 |
scc%netscape.com
|
32e96c5f6a
|
...oops, have to comment out the body too. Sorry.
|
2000-05-15 00:16:30 +00:00 |
scc%netscape.com
|
d5ba894b3c
|
commented out an |NS_WARNING| that will overwhelm you, I'll turn it into an assertion for me only, later. Also got rid of |Equals(*, int)| temporarily, as with |Compare| to catch clients who should be using |EqualsWithConversion|
|
2000-05-15 00:13:57 +00:00 |
scc%netscape.com
|
8b3d993edd
|
disable a not helpful warning for VC++
|
2000-05-14 23:33:05 +00:00 |
scc%netscape.com
|
a3d2146f0b
|
comment out |Compare| with a length to help find callers of the old compare function that need to become to |CompareWithConversion|.
|
2000-05-14 22:32:30 +00:00 |