pinkerton%netscape.com
7ea7daadb2
add a |do_AppendFromElement(PRUnichar)| to help speed up some things in wallet initialization (bug 44514) r/a=scc.
...
git-svn-id: svn://10.0.0.236/trunk@76613 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-18 04:48:29 +00:00
scc%mozilla.org
cf1b290be1
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
...
git-svn-id: svn://10.0.0.236/trunk@76579 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-17 21:07:45 +00:00
scc%mozilla.org
c91876a661
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.
...
git-svn-id: svn://10.0.0.236/trunk@76526 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-17 01:08:30 +00:00
jband%netscape.com
a4e301356a
initial checkin - NOT PART OF BUILD
...
git-svn-id: svn://10.0.0.236/trunk@76388 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-16 02:07:37 +00:00
warren%netscape.com
fcb1b8f06c
Changes to allow uncopied string keys. Changes to copy string key's null byte. code=jband, r=warren
...
git-svn-id: svn://10.0.0.236/trunk@76367 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-16 00:32:59 +00:00
jband%netscape.com
8e8146c9c7
Pass the buffer length in bytes to nsCRT::memcmp. a=warren
...
git-svn-id: svn://10.0.0.236/trunk@76170 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-11 23:46:09 +00:00
scc%mozilla.org
12978905ce
bug #48464 . explicitly picking my own or the auto-generated function, in particular |operator=|. r={vidur, waterson}, a=vidur
...
git-svn-id: svn://10.0.0.236/trunk@76062 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-11 00:42:41 +00:00
warren%netscape.com
ee959ee62f
Fixed warnings.
...
git-svn-id: svn://10.0.0.236/trunk@75986 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-10 07:05:13 +00:00
scc%mozilla.org
e98f6c2c7c
fixes needed to get multi-fragment strings working; r|a=waterson
...
git-svn-id: svn://10.0.0.236/trunk@75978 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-10 06:36:54 +00:00
warren%netscape.com
fac6eb1451
Fixed nscom.h -> nsCom.h
...
git-svn-id: svn://10.0.0.236/trunk@75977 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-10 06:35:34 +00:00
warren%netscape.com
e5706a7236
Bug 46711. Removed nsAutoString travisty from nsStringKey. Introduced nsCStringKey. Made them both share the underlying string when possible. r=waterson
...
git-svn-id: svn://10.0.0.236/trunk@75975 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-10 06:19:37 +00:00
scc%mozilla.org
a8fa84f5e5
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|.
...
git-svn-id: svn://10.0.0.236/trunk@75934 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-10 00:45:33 +00:00
scc%mozilla.org
cdb44d875e
better comments re: the formal specification of |SetCapacity|; jag's |ToInteger| patch as per bug #46898 ; r|a=waterson
...
git-svn-id: svn://10.0.0.236/trunk@75880 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-09 08:26:23 +00:00
scc%mozilla.org
cec3e96639
fixed |nsCharSinkTraits<T>::write| as per bug #46462 ; r=beard, a=waterson
...
git-svn-id: svn://10.0.0.236/trunk@75879 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-09 08:26:12 +00:00
scc%mozilla.org
98e7fedae2
fixed |BeginWriting| and |EndWriting| to no longer take an offset, fallout from the new multi-fragment string implementation; fixed a bug in |operator-=| exposed by the change to |EndWriting|; fixed |nsWritingIterator<CharT>::write| as per bug #46462 ; fixed comments galore, significantly better specifying |SetLength| and |SetCapacity|; since |SetCapacity| is just a hint, give it a default implementation rather than making it pure virtual; fixed a couple of the |do_...| routines to unify the code path minimizing overides; r|a=waterson
...
git-svn-id: svn://10.0.0.236/trunk@75878 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-09 08:26:08 +00:00
scc%mozilla.org
14a9f6633b
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
...
git-svn-id: svn://10.0.0.236/trunk@75877 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-09 08:26:00 +00:00
scc%mozilla.org
2afa96eead
not part of the build; further work on multi-fragment strings. Moved the bulk of the template implementation to the header file. This file needs to continue to exist for when I finally un-templatize the interfaces
...
git-svn-id: svn://10.0.0.236/trunk@75854 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-09 02:48:27 +00:00
scc%mozilla.org
fe25ceec15
not part of the build; further work on multi-fragment strings
...
git-svn-id: svn://10.0.0.236/trunk@75853 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-09 02:47:33 +00:00
scc%mozilla.org
f09ffefddb
not part of the build; initial work on multi-fragment strings
...
git-svn-id: svn://10.0.0.236/trunk@75738 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-08 00:14:35 +00:00
scc%mozilla.org
ac6dc5a34a
not part of the build yet; initial work on multi-fragment strings
...
git-svn-id: svn://10.0.0.236/trunk@75737 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-08 00:14:14 +00:00
scc%mozilla.org
ec704488bd
also including "nsAWritableString.h" to satisfy speedracer
...
git-svn-id: svn://10.0.0.236/trunk@75648 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-05 08:32:18 +00:00
scc%mozilla.org
fc3595e83f
need |NS_COM| in the declarations too
...
git-svn-id: svn://10.0.0.236/trunk@75646 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-05 08:20:50 +00:00
scc%mozilla.org
8044c9fc61
adding new files to the build to provide |ToNewCString|, |ToNewUnicode|, and |IsASCII| that work on |nsAReadable[C]String|s, as per Vidur's needs in converting the DOM.
...
git-svn-id: svn://10.0.0.236/trunk@75645 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-05 07:50:28 +00:00
scc%mozilla.org
efe34a743d
make sure the new functions are exported; still not in the build
...
git-svn-id: svn://10.0.0.236/trunk@75644 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-05 07:44:08 +00:00
scc%mozilla.org
d1f2f5f430
added comments and made some changes suggested by reviewers; still not in the build
...
git-svn-id: svn://10.0.0.236/trunk@75634 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-05 04:25:49 +00:00
scc%mozilla.org
2bca44595d
everything's in and working correctly (as far as my tests show), still not in the build, but that's what I'm about to change with my next set of checkins
...
git-svn-id: svn://10.0.0.236/trunk@75632 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-05 03:32:36 +00:00
scc%mozilla.org
ac22cf0d43
still not part of the build; I think everything's there, though. Some further testing and I'll add it to the build
...
git-svn-id: svn://10.0.0.236/trunk@75625 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-05 02:13:59 +00:00
scc%mozilla.org
b4f3e207de
still not part of the build; more work adding the new functions. More to come
...
git-svn-id: svn://10.0.0.236/trunk@75623 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-05 01:15:45 +00:00
scc%mozilla.org
6666966a06
These files are not yet part of the build; making global versions of |IsASCII|, |ToNewCString|, and |ToNewUnicode| that apply to readables, since we don't want them as member functions (where they were in |ns[C]String|). Vidur needs these to convert DOM interfaces over to readables.
...
git-svn-id: svn://10.0.0.236/trunk@75619 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-05 00:51:37 +00:00
scc%mozilla.org
6ef6f1fd36
fixes for bugs #46898 and #46899 : bad behavior in |nsCString::ToInteger| and a feature request for |ns[C]String::SetCapacity(0)| respectively. r={harishd, waterson}, a=waterson
...
git-svn-id: svn://10.0.0.236/trunk@75144 18797224-902f-48f8-a5cc-f745e15eee43
2000-07-29 03:11:59 +00:00
waterson%netscape.com
2888132355
Bug 46702. Move nsFixedSizeAllocator.[h|cpp] to xpcom/ds so that we can use it outside of RDF.
...
git-svn-id: svn://10.0.0.236/trunk@75142 18797224-902f-48f8-a5cc-f745e15eee43
2000-07-29 02:58:43 +00:00
waterson%netscape.com
7d3c7affc8
Bug 46702. Move nsFixedSizeAllocator.[h|cpp] to xpcom/ds so that it can be used outside of RDF.
...
git-svn-id: svn://10.0.0.236/trunk@75141 18797224-902f-48f8-a5cc-f745e15eee43
2000-07-29 02:58:10 +00:00
waterson%netscape.com
37cde4ad0b
Bug 46702. Move nsFixedSizeAllocator.[h|cpp] out of rdf/base/src. Not yet part of the build.
...
git-svn-id: svn://10.0.0.236/trunk@75121 18797224-902f-48f8-a5cc-f745e15eee43
2000-07-29 01:00:37 +00:00
warren%netscape.com
48c2a980b3
Fixed declaration of nsHashtableCloneElementFunc to have PR_CALLBACK.
...
git-svn-id: svn://10.0.0.236/trunk@75022 18797224-902f-48f8-a5cc-f745e15eee43
2000-07-28 06:48:32 +00:00
bratell%lysator.liu.se
ec28beac4b
Final part of bug 40027. r,a=waterson@netscape.com
...
git-svn-id: svn://10.0.0.236/trunk@74889 18797224-902f-48f8-a5cc-f745e15eee43
2000-07-27 06:12:49 +00:00
bratell%lysator.liu.se
30ea99bee8
Bug 40027, reads past buffer in nsString::ToCString, r,a=waterson
...
git-svn-id: svn://10.0.0.236/trunk@74784 18797224-902f-48f8-a5cc-f745e15eee43
2000-07-26 00:05:55 +00:00
jband%netscape.com
c39ada7a84
fix uninitialized variable
...
git-svn-id: svn://10.0.0.236/trunk@74657 18797224-902f-48f8-a5cc-f745e15eee43
2000-07-22 22:50:35 +00:00
waterson%netscape.com
9f71ef28c6
Inline 'operator PRUnichar*()', 'operator char*()'; add inline 'get()' methods. r=brendan
...
git-svn-id: svn://10.0.0.236/trunk@74147 18797224-902f-48f8-a5cc-f745e15eee43
2000-07-13 03:20:28 +00:00
ftang%netscape.com
7b0b6650b9
fix bug 21418. change the converter to UTF-8 and handle the \uxxxx and \r \n \t in the
...
lexical level (scanner) r=tao
git-svn-id: svn://10.0.0.236/trunk@74011 18797224-902f-48f8-a5cc-f745e15eee43
2000-07-11 19:14:59 +00:00
cls%seawood.org
91d683a067
Removed obsolete REQUIRES variable from every Makefile.in/makefile.win
...
git-svn-id: svn://10.0.0.236/trunk@73583 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-30 08:08:04 +00:00
scc%mozilla.org
e2e3b170e1
fix self assignment, self append, self replace problems. r=waterson
...
git-svn-id: svn://10.0.0.236/trunk@73545 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-29 22:17:53 +00:00
mkaply%us.ibm.com
3e32a6af4d
#43877
...
r=dougt, a=dougt
Using this pointer rather than other pointer causes crash
git-svn-id: svn://10.0.0.236/trunk@73406 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-28 14:37:25 +00:00
scc%mozilla.org
a6b40ede8b
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
...
git-svn-id: svn://10.0.0.236/trunk@72736 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-21 05:13:10 +00:00
mkaply%us.ibm.com
9698e13717
# 42637
...
r = valeski, a = brendan
OS/2 bring-up - PR_CALLBACK for VisualAge
git-svn-id: svn://10.0.0.236/trunk@72693 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-21 00:07:57 +00:00
scc%mozilla.org
a53138318f
removing nsWork[C]String. It's already been removed from the Mac manifest, the windows and unix makefiles, and the string factoring test project. The header is not included anywhere else. After discussion with waterson, decided this class is not what or where we want it
...
git-svn-id: svn://10.0.0.236/trunk@72622 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-20 04:36:25 +00:00
scc%mozilla.org
ba5ba16a17
removed "nsWorkString.h" as discussed with waterson
...
git-svn-id: svn://10.0.0.236/trunk@72621 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-20 04:33:52 +00:00
scc%mozilla.org
6c6171d864
fix for bug #43085 . r=waterson, a=waterson
...
git-svn-id: svn://10.0.0.236/trunk@72617 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-20 04:25:20 +00:00
scc%mozilla.org
2a2a840b4d
fixing OS/2 VisualAge platform bustage, and bad dates in licenses
...
git-svn-id: svn://10.0.0.236/trunk@72507 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-18 05:00:31 +00:00
waterson%netscape.com
e32e7767b4
Bug 42836. Handle null string in NS_ConvertUCS2toUTF8::Init().
...
git-svn-id: svn://10.0.0.236/trunk@72465 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-17 01:24:39 +00:00
scc%mozilla.org
900f215543
undo the change of the 10th. The code is still in, conditioned on |NS_DONT_USE_CHUNKY_STRING_ALLOCATION|. The performance hit was unacceptable, and checking the original change in on the tip was a mistake. r=rpotts; a=leaf, phil
...
git-svn-id: svn://10.0.0.236/trunk@72327 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-15 22:13:19 +00:00