Граф коммитов

228 Коммитов

Автор SHA1 Сообщение Дата
scc%netscape.com 62f74bfd17 First Checked In. 2000-03-29 08:11:59 +00:00
warren%netscape.com d60b12b153 Necko API changes: primarily nsIChannel, changing initialization parameters to accessors. Got javascript: evaluation to happen at the right time (when AsyncRead is called) as well as on the right thread. 2000-03-29 03:58:50 +00:00
scc%netscape.com 7379e92bad rename |string_copy| and |string_copy_backward| to |copy_string| and |copy_string_backward| 2000-03-29 00:54:12 +00:00
scc%netscape.com 4f1ac4a894 finer grain control of which current string assignments are still available after |NEW_STRING_APIS|. Added |AssignWithConversion| signatures. Made appropriate current |Assign|s be synonyms. 2000-03-29 00:06:31 +00:00
scc%netscape.com e34e046ae4 Adding some macros that allow me to start using literal strings 2000-03-28 22:37:51 +00:00
waterson%netscape.com e2976c60e9 Beef up autoconf tests to differentiate 'ambiguity resolving' and 'access changing' support of the 'using' keyword. Add a test to see if the 'std' namespace is used on the platform. r=scc 2000-03-28 07:01:37 +00:00
rickg%netscape.com 9a6dbab6c9 2x perf. improvement StripChar(); r=rods 2000-03-28 00:02:41 +00:00
scc%netscape.com e3cac710d4 fixing an off-by-one bug, and the associated problem when |mCapacity| and |mLength| are both |0|. r=waterson 2000-03-27 22:13:41 +00:00
jst%netscape.com 96a8f00fc0 Backing out scc's last checking to this file, it causes linux builds to dump core on startup. a=leaf 2000-03-27 15:10:12 +00:00
scc%netscape.com 92b5b65386 traded in |copy_chunky_backward| for |string_copy_backward| and moved it to "nsAReadableString.h" along with the |string_copy|s. Added tests for |SetLength|, which would have caught the problem in |nsString| I fixed earlier, and one for |Insert| that exposed the trouble in |copy_chunky_backward|. 2000-03-27 09:06:37 +00:00
scc%netscape.com bf02af838a fixing an off-by-one bug 2000-03-27 07:46:02 +00:00
scc%netscape.com 683bbe9fd6 Trying to fix for Solaris 2000-03-25 07:55:07 +00:00
pavlov%netscape.com 65f297564c add some #if[n]def STASTANDALONE_STRING_TESTS r=scc 2000-03-25 02:07:34 +00:00
scc%netscape.com 57bf24f8f9 Making the tests run on all platforms. Removing some confusion about iostreams. 2000-03-25 00:59:29 +00:00
scc%netscape.com 92964e17ff Incremental changes. These files are not yet part of the build. 2000-03-25 00:47:02 +00:00
scc%netscape.com ea8e807dda Lots of changes to get this stuff building on Solaris, et al. None of these changes effect the mainline build yet, and won't until |NEW_STRING_APIS| is defined for everyone (coming soon) 2000-03-24 22:06:57 +00:00
rickg%netscape.com face54c533 WIP for new string library, and defensive coding improvement in SetCapcity; r=buster 2000-03-24 07:21:56 +00:00
rickg%netscape.com 35752c6ceb correct off-by-one error (edge case); r=buster 2000-03-24 07:19:00 +00:00
waterson%netscape.com 5e4e6bcf37 Fully qualify ReadingIterator when used inside template (so it compiles on egcs-1.1.2). r=scc 2000-03-24 06:02:59 +00:00
waterson%netscape.com 20f04bf551 Fully qualify ReadingIterator when used inside template (so it compiles on egcs-1.1.2). Minor silly fixes. 2000-03-24 06:02:37 +00:00
waterson%netscape.com 52bd9b75b0 Condition nsAutoCString operator=() on NEW_STRING_APIS. r=scc 2000-03-24 00:41:40 +00:00
waterson%netscape.com 65ebda579d Condition nsAutoString operator=() and some Assign() based on NEW_STRING_APIS. r=scc 2000-03-24 00:40:47 +00:00
waterson%netscape.com deddb4dac9 Use NS_MIN and NS_MAX instead of std::min and std::max. r=scc 2000-03-24 00:39:44 +00:00
scc%netscape.com 310d8b83c3 fixing ambiguities caused by name hiding 2000-03-23 22:53:53 +00:00
scc%netscape.com 440183335b resolving ambiguities; getting the new string APIs to build everywhere 2000-03-23 22:42:34 +00:00
scc%netscape.com 545b27e7e1 Added "nsCharTraits.h"; no longer relying on |std::char_traits|. Renamed some things so overloading wouldn't fight with overriding. 2000-03-23 21:15:01 +00:00
scc%netscape.com 0141c419a7 First Checked In. 2000-03-23 21:09:27 +00:00
scc%netscape.com c1f3d7ef89 Conditionally enable the new string APIs. Don't worry, they're not turned on yet. All changes r=waterson. Changes that effect |nsString| unconditionally, r=rickg. 2000-03-23 02:12:23 +00:00
scc%netscape.com 6a2c40a498 Getting rid of warnings. These files are not yet part of the build. 2000-03-22 22:51:18 +00:00
scc%netscape.com 09052fa5c9 Made critical operations exploit chunky iterators. These files are not yet part of the build. 2000-03-22 08:19:48 +00:00
scc%netscape.com c1101bb230 Incremental changes. Fixed some things that were stopping rickg from compiling. This file is not part of the build. 2000-03-14 17:10:03 +00:00
rickg%netscape.com a5ced8c9ee WIP for removal of deprecated string methods 2000-03-12 22:21:14 +00:00
scc%netscape.com 4a1be96cd9 Incremental changes. Provided implementations for the virtual functions that were previously pure virtual. These implementations were common, after all, even just between |nsString| and |nsCString|. These files are not part of the build. 2000-03-12 20:57:35 +00:00
scc%netscape.com 0bbf2aae71 Incremental changes. Added |Implementation()| member to allow rick to implement copy-on-write. Added more virtual members to writable. More to come. These files are not part of the build. 2000-03-12 17:39:49 +00:00
rickg%netscape.com 7c4f6b3293 landing phase 2 to remove deprecated string calls 2000-03-12 11:10:07 +00:00
scc%netscape.com 7ac3541035 Incremental changes. Reorganized code; implemented more factored methods. Moved string owner from fragment to iterator. Renamed the |const| version of |GetFragment| to |GetConstFragment| so we didn't mix overloading with overriding; eliminating need for some uses of |using| ... may want to do the same thing with |Begin| and |End|. These files are not part of the build. 2000-03-12 01:28:16 +00:00
scc%netscape.com dcca8d2751 Incremental changes. Modified the strategy for nested |nsPromiseConcatenation| objects. Changed the type of the fragment identifier in a fragment. These files are not part of the build. 2000-03-10 07:04:09 +00:00
scc%netscape.com 2d32454823 Incremental changes, renamed |nsConcatString| to |nsPromiseConcatenation|. Added |nsPromiseSubstring|. Got rid of upper/lower signatures. Added |Assign|. Fixed comparison macros. Added |operator+=| and |operator=|. These files are not part of the build. 2000-03-10 02:30:14 +00:00
scc%netscape.com 211ec74d84 Incremental changes. Getting the comparison operators right. Making |operator+()| do the right thing. These files are not part of the build yet. 2000-03-09 06:37:45 +00:00
scc%netscape.com 5cda0d317c Incremental changes. These files are not yet part of the build. a=don 2000-03-08 21:57:14 +00:00
rickg%netscape.com e4fc3bdc1c fixed pdt+ bug 29749; r=pollman; a=jar 2000-03-08 06:16:29 +00:00
scc%netscape.com 12ed65112f Not part of the build. Developing interfaces. Incremental changes to share with rickg, et al. 2000-03-07 20:56:07 +00:00
scc%netscape.com c33584cf42 First Checked In. 2000-03-07 01:02:10 +00:00
ftang%netscape.com e5cb538388 fix 29333 make the initial construction passing "" for performance and legal nsString usage. r=rickg a=bobj 2000-02-29 06:59:55 +00:00
rickg%netscape.com 39a604256b fixed bug28837 (r=troy; a=jar). Removed warnings (r=troy) 2000-02-24 08:20:03 +00:00
waterson%netscape.com b191d48821 My bad; I reviewed this code and I suck. This is the right fix. 2000-02-24 06:42:36 +00:00
gagan%netscape.com c6eb1678bb Avoid calling Copy from operator= if we are just resetting the nsXPIDLString. So now it is safe to reset an nsXPIDLCString or nsXPIDLString by setting it to null. r=waterson,a=jevering 2000-02-24 05:34:28 +00:00
valeski%netscape.com 058c2720cf 28782. a=jar. r=rickg. nsCAutoString couldn't handle a '=' of a PRUnichar*, now it can 2000-02-23 22:47:03 +00:00
rickg%netscape.com 16c81a6a91 changed 'embedded nulls' asserts to warnings in nsString 2000-02-19 09:17:49 +00:00
rickg%netscape.com 5b1245efd2 partial fix for 23418; r=rhp; a=phil 2000-02-19 09:17:14 +00:00