Commit Graph
108 Commits
Author SHA1 Message Date
[email protected] 4c322a1807 bug #53071: r=danm, sr=alecf. Eliminate redundant implemenations, resolve resulting ambiguities. 2001-02-06 23:07:24 +00:00
[email protected] 5d0ca658ca Changes to parser to allow less copying. Use of the new nsSliding[Sub]String classes so that tokens can hold substrings that keep references into the scanner buffer. Cleaned up token interface and general string usage. r=harishd,heikki sr=jst 2000-12-12 21:58:14 +00:00
[email protected] 0462ea4ce8 Bug 47207. Backing out logging/PRINTF changes until we can fix stopwatch.h, introduce double parens, etc. 2000-10-28 22:17:53 +00:00
[email protected] 7730ce0cd3 Bug 47207. Changing printf to PRINTF to use new logging facility. r=valeski,sr=waterson 2000-10-27 22:43:51 +00:00
[email protected] 65ca787bc1 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
[email protected] 3ba32f670e 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
[email protected] 61b9093b7d 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
[email protected] ae12879442 better comments re: the formal specification of |SetCapacity|; jag's |ToInteger| patch as per bug #46898; r|a=waterson 2000-08-09 08:26:23 +00:00
[email protected] daaf1e747b 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 2000-07-29 03:11:59 +00:00
[email protected] 5be5c8ca73 Final part of bug 40027. r,[email protected] 2000-07-27 06:12:49 +00:00
[email protected] a5081177a2 fix purify errors - uninitialized memory on poorly formatted CID strings, and FMM on nsString::fputs
r=waterson, scc a=waterson
2000-06-08 23:34:53 +00:00
[email protected] 6a06dfc026 Renaming nsIAllocator to nsIMemory (and nsAllocator to nsMemory). API cleanup/freeze. Bug #18433 2000-06-03 09:46:12 +00:00
[email protected] 3ce49a2adc Bugs 41279, 41280, 41290. Implement NS_ConvertUTF8toUCS2, r=ftang. Fix NS_ConvertUCS2toUTF8 to set mLength, r=ftang. Re-implement ToNew[*]String to be less bloaty, r=scc,brendan 2000-06-02 20:06:54 +00:00
[email protected] 3c3830298b Bug 40461. Implement NS_ConvertUCS2toUTF8, r=scc,brendan 2000-05-26 22:24:34 +00:00
[email protected] 24ed6675fa turning on the new strings API. 2000-05-16 07:18:04 +00:00
[email protected] e3c5a5a182 changes to fix some errors constructing autostrings from null pointers that led to crashes 2000-05-15 03:10:19 +00:00
[email protected] 98251495be fix IsAscii function. The origional one report Latin1 characters as ASCII 2000-05-03 07:05:19 +00:00
[email protected] 25cfcb8e6a # 34082
r= [email protected]
OS/2 bring up continues - Adding PR_CALLBACKs for VisualAge Compiler
2000-05-02 22:38:04 +00:00
[email protected] 261fdc1d6c making string conversions explicit; this checkin stops the back-sliding before we turn on NEW_STRING_APIS. 2000-04-27 20:37:54 +00:00
[email protected] 2bc09ddb86 scc string fixes 2000-04-26 00:55:37 +00:00
[email protected] 72e3991fc3 Added an additional permitting and denying signatures for |NS_ConvertASCIItoUCS2| 2000-04-23 01:03:28 +00:00
[email protected] 4cbc876bc4 there were a bunch of routines that returned references to this and were abused as much as they were used correctly. now they return |void| 2000-04-21 06:59:14 +00:00
[email protected] 554b83dc29 needed to make the implementation of |EqualsIgnoreCase(nsIAtom*, ...)| available. 2000-04-17 14:50:07 +00:00
[email protected] eb0fc10492 no, the |Equals(PRUnichar*, PRUnichar*, ...)| form is not what you think it is. It has to go. Make comparing with |nsIAtoms| remain avalailable even in |NEW_STRINGS_APIS| 2000-04-16 11:09:16 +00:00
[email protected] d30643cb68 new ideas about string conversion 2000-04-15 00:05:17 +00:00
[email protected] 6a5ab5a71a Explicit conversion required for NEW_STRING_APIS. r=scc 2000-04-04 06:03:20 +00:00
[email protected] 6008cabfb9 more work bringing |ns[C]String| into line with the new implementations. Again, this is no change when |NEW_STRING_APIS| is not defined. 2000-03-31 07:26:13 +00:00
[email protected] 4ec15a1e24 adjustments to the string interfaces that should have no effect in the non-|NEW_STRING_APIS| case (yes, I built all changes to verify) 2000-03-30 22:51:51 +00:00
[email protected] 4e71931848 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
[email protected] 662a8f855d 2x perf. improvement StripChar(); r=rods 2000-03-28 00:02:41 +00:00
[email protected] 7a81270f2b 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
[email protected] d84fc4ef32 WIP for new string library, and defensive coding improvement in SetCapcity; r=buster 2000-03-24 07:21:56 +00:00
[email protected] d62c27d7a8 Condition nsAutoString operator=() and some Assign() based on NEW_STRING_APIS. r=scc 2000-03-24 00:40:47 +00:00
[email protected] eea32174ae resolving ambiguities; getting the new string APIs to build everywhere 2000-03-23 22:42:34 +00:00
[email protected] 6783c60a70 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
[email protected] 25c9ebab14 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
[email protected] 68a909efcd landing phase 2 to remove deprecated string calls 2000-03-12 11:10:07 +00:00
[email protected] fe68d885ab fixed pdt+ bug 29749; r=pollman; a=jar 2000-03-08 06:16:29 +00:00
[email protected] 682eb05eec 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
[email protected] 1796bd286e fixed bug28837 (r=troy; a=jar). Removed warnings (r=troy) 2000-02-24 08:20:03 +00:00
[email protected] c059d671a5 changed 'embedded nulls' asserts to warnings in nsString 2000-02-19 09:17:49 +00:00
[email protected] 5155caf52d major perf mods for bug 27524, and removed deprecated methods; r=harishd 2000-02-13 17:46:15 +00:00
[email protected] b152c52f10 added return type on new method 2000-02-11 15:19:17 +00:00
[email protected] c3f3b0402f fixed25049; r=harishd 2000-02-11 12:11:03 +00:00
[email protected] 6ad8e1ac2e bug24015; r=rods a=chofmann 2000-01-18 21:06:05 +00:00
[email protected] 2d7ce57d5a fixed PDT+19121; r=kmcclusk 1999-12-03 00:30:29 +00:00
[email protected] 6b3a6612fa fixed off-by-1 error in compare, and added ReplaceSubstring(). r=syd 1999-12-02 10:14:38 +00:00
[email protected] e33247c9a0 added DebugDump() to nsString classes for terminal output. Also slightly improved documentation. r=buster 1999-11-19 08:05:30 +00:00
[email protected] 6a1922ca5c reenabled safer version of assertion 1999-11-15 17:10:06 +00:00
[email protected] 45680ec87e disable overambitious assert for now; r=rods; a=leaf 1999-11-15 16:38:29 +00:00