419 Commits

Author SHA1 Message Date
warren%netscape.com
c6b67eceeb Bug 47207. Changing printf to PRINTF to use new logging facility. r=valeski,sr=waterson
git-svn-id: svn://10.0.0.236/trunk@81885 18797224-902f-48f8-a5cc-f745e15eee43
2000-10-27 22:43:51 +00:00
jst%netscape.com
66b122adb1 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
git-svn-id: svn://10.0.0.236/trunk@80637 18797224-902f-48f8-a5cc-f745e15eee43
2000-10-07 01:53:56 +00:00
disttsc%bart.nl
4440bdbb28 Add |.get()| to NS_ConvertUCS2toUTF8 to make getting rid of some MLKs easier, bug=54740, r=scc, a=waterson
git-svn-id: svn://10.0.0.236/trunk@80623 18797224-902f-48f8-a5cc-f745e15eee43
2000-10-07 00:08:47 +00:00
hyatt%netscape.com
c13defe82d Fix win32 build bustage, r=scc
git-svn-id: svn://10.0.0.236/trunk@80437 18797224-902f-48f8-a5cc-f745e15eee43
2000-10-05 07:48:20 +00:00
scc%mozilla.org
2a523643d1 and trying to fix OS/2 bustage
git-svn-id: svn://10.0.0.236/trunk@80436 18797224-902f-48f8-a5cc-f745e15eee43
2000-10-05 07:24:51 +00:00
scc%mozilla.org
e32cf73b72 and a access error ... r=waterson on this fix
git-svn-id: svn://10.0.0.236/trunk@80413 18797224-902f-48f8-a5cc-f745e15eee43
2000-10-05 03:28:41 +00:00
scc%mozilla.org
987356386c damn typo
git-svn-id: svn://10.0.0.236/trunk@80406 18797224-902f-48f8-a5cc-f745e15eee43
2000-10-05 01:51:52 +00:00
scc%mozilla.org
c06e84b625 bug #54601: r=waterson, a=brendan. Fix string allocation policy -- allocate exact size, double on fault ... thanks to everybody who helped me test this patch.
git-svn-id: svn://10.0.0.236/trunk@80401 18797224-902f-48f8-a5cc-f745e15eee43
2000-10-05 01:22:00 +00:00
scc%mozilla.org
0c546d8367 fixed comments (so people are aware of the allocation policy)
git-svn-id: svn://10.0.0.236/trunk@80397 18797224-902f-48f8-a5cc-f745e15eee43
2000-10-05 01:07:40 +00:00
scc%mozilla.org
fbd0ea0893 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}
git-svn-id: svn://10.0.0.236/trunk@80396 18797224-902f-48f8-a5cc-f745e15eee43
2000-10-05 01:07:02 +00:00
scc%mozilla.org
6dd3b2cf12 adding |.get()| for the other half of |NS_LITERAL_STRING|
git-svn-id: svn://10.0.0.236/trunk@78964 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-13 03:44:58 +00:00
scc%mozilla.org
8ed2788f81 fix typo
git-svn-id: svn://10.0.0.236/trunk@78958 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-13 02:56:13 +00:00
scc%mozilla.org
31d7ddd4e2 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
git-svn-id: svn://10.0.0.236/trunk@78954 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-13 02:41:06 +00:00
scc%mozilla.org
9b701c3845 fixed ugly name |nsXXXBufferHandle| --> |nsFlexBufferHandle|; hey, it may not be perfect, but it's better than 'XXX'
git-svn-id: svn://10.0.0.236/trunk@78952 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-13 02:27:11 +00:00
scc%mozilla.org
9cf316f94c fixing signatures, includes
git-svn-id: svn://10.0.0.236/trunk@78950 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-13 02:24:55 +00:00
scc%mozilla.org
3dfbe8d7b7 finishing up the special string class for the parser
git-svn-id: svn://10.0.0.236/trunk@78719 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-11 05:24:49 +00:00
scc%mozilla.org
49b4e02370 more HPUX fixes
git-svn-id: svn://10.0.0.236/trunk@78625 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-09 13:26:07 +00:00
scc%mozilla.org
506f2ce6ae HPUX is smarter than me
git-svn-id: svn://10.0.0.236/trunk@78624 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-09 12:53:38 +00:00
scc%mozilla.org
9a06126e26 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
git-svn-id: svn://10.0.0.236/trunk@78622 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-09 11:57:43 +00:00
scc%mozilla.org
0b82101f78 fixing some bugs in the new parser string code; changing some names
git-svn-id: svn://10.0.0.236/trunk@78621 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-09 11:31:04 +00:00
scc%mozilla.org
4e5ca44047 added method to make linking possible :-)
git-svn-id: svn://10.0.0.236/trunk@78620 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-09 10:30:49 +00:00
scc%mozilla.org
3807f9b6c2 fixing linux bustage
git-svn-id: svn://10.0.0.236/trunk@78619 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-09 10:24:45 +00:00
scc%mozilla.org
39a896fd51 fix |const| error
git-svn-id: svn://10.0.0.236/trunk@78617 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-09 10:17:45 +00:00
scc%mozilla.org
dbd8f750b0 fixing the build for VC++
git-svn-id: svn://10.0.0.236/trunk@78615 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-09 09:48:12 +00:00
scc%mozilla.org
bf44e1bf27 fixes for VC++
git-svn-id: svn://10.0.0.236/trunk@78614 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-09 09:44:45 +00:00
scc%mozilla.org
a005d85406 fixes to make it compile on VC++
git-svn-id: svn://10.0.0.236/trunk@78613 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-09 09:39:44 +00:00
scc%mozilla.org
7955a31be5 refactoring |ToUpperCase|, |ToLowerCase|
git-svn-id: svn://10.0.0.236/trunk@78604 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-09 07:30:55 +00:00
scc%mozilla.org
8ba6b76fcc nobody uses |nsFragmentedString| as yet ... changing it now to be based on the new work from |nsSlidingString|/|nsSlidingSubstring| for the parser
git-svn-id: svn://10.0.0.236/trunk@78602 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-09 06:42:45 +00:00
scc%mozilla.org
0734b418da adding a |#if|d out hunk of code to remind me of something later
git-svn-id: svn://10.0.0.236/trunk@78601 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-09 06:40:49 +00:00
scc%mozilla.org
7b2818e2bd closer to getting the parser strings in; these files are still not part of the build
git-svn-id: svn://10.0.0.236/trunk@78600 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-09 06:35:16 +00:00
scc%mozilla.org
a62ca7b8b0 fix |const| errors, this file is not yet part of the build
git-svn-id: svn://10.0.0.236/trunk@78599 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-09 06:32:46 +00:00
scc%mozilla.org
27d3422b96 fix a |const| error
git-svn-id: svn://10.0.0.236/trunk@78586 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-09 05:02:19 +00:00
scc%mozilla.org
f40045b221 more work towards a working |nsSlidingString|, |nsSlidingSubstring| for the parser, these files are not yet part of the build
git-svn-id: svn://10.0.0.236/trunk@78583 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-09 04:42:19 +00:00
scc%mozilla.org
65c55fd9b9 fixing comments, not yet part of the build
git-svn-id: svn://10.0.0.236/trunk@78582 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-09 04:40:38 +00:00
scc%mozilla.org
c9d2f83891 adding comments
git-svn-id: svn://10.0.0.236/trunk@78581 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-09 04:40:01 +00:00
scc%mozilla.org
5e094f3a0e fixing includes
git-svn-id: svn://10.0.0.236/trunk@78580 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-09 04:39:25 +00:00
scc%mozilla.org
14b6bfe7a9 not part of the build, getting closer to turning on the new parser strings
git-svn-id: svn://10.0.0.236/trunk@78556 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-09 00:25:00 +00:00
scc%mozilla.org
31b28b9902 adding license and include guards
git-svn-id: svn://10.0.0.236/trunk@78555 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-09 00:02:48 +00:00
scc%mozilla.org
adcba910bf not yet part of the build, this is the bulk of the work for the special parser strings
git-svn-id: svn://10.0.0.236/trunk@78553 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-08 23:54:23 +00:00
scc%mozilla.org
047ee3b53a bug #51662, r=bienvenu
git-svn-id: svn://10.0.0.236/trunk@78526 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-08 22:07:14 +00:00
scc%mozilla.org
b4462af987 A good place to hang the gcc fix, thanks dbaron!, and backing out previous failed fix ideas (|Concat|), r=dbaron
git-svn-id: svn://10.0.0.236/trunk@78099 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-04 05:00:25 +00:00
scc%mozilla.org
e25e984f19 adding back a couple more |operator+|s for gcc
git-svn-id: svn://10.0.0.236/trunk@78096 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-04 01:34:04 +00:00
scc%mozilla.org
c292773239 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
git-svn-id: svn://10.0.0.236/trunk@78083 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-03 22:38:38 +00:00
scc%mozilla.org
ff4ff3adf3 now that constructors are explicit, we'll have to get rid of extra comparison operators ... in fact, this is to fix immediate bustage
git-svn-id: svn://10.0.0.236/trunk@78056 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-03 03:16:47 +00:00
scc%mozilla.org
5dd484e3e6 adding |Concat| function to fix pravda and speedracer bustage
git-svn-id: svn://10.0.0.236/trunk@78049 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-03 01:38:27 +00:00
scc%mozilla.org
9fc340d07f 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
git-svn-id: svn://10.0.0.236/trunk@78027 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-02 20:53:31 +00:00
scc%mozilla.org
e0c64797b0 fixing build bustage for OS2 and AIX
git-svn-id: svn://10.0.0.236/trunk@78018 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-02 12:25:27 +00:00
scc%mozilla.org
695113d75b fix build bustage for hpux
git-svn-id: svn://10.0.0.236/trunk@78017 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-02 12:20:49 +00:00
mcafee%netscape.com
d290cd5114 Solaris bustage fix from scc/bruce/#mozilla
git-svn-id: svn://10.0.0.236/trunk@78010 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-02 07:14:59 +00:00
scc%mozilla.org
7656847708 time to add that specialization of |nsCharSourceTraits<PRUnichar>|, not having it is probably hosing speedracer, r=waldemar
git-svn-id: svn://10.0.0.236/trunk@78007 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-02 06:03:50 +00:00