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

946 Коммитов

Автор SHA1 Сообщение Дата
scc%mozilla.org 8271620013 fixes for VC++ 2000-09-09 09:44:45 +00:00
scc%mozilla.org 52146b8bc8 fixes to make it compile on VC++ 2000-09-09 09:39:44 +00:00
scc%mozilla.org ef2e163089 adding new string files to the build 2000-09-09 09:05:16 +00:00
scc%mozilla.org b957ef46c6 adding new string headers to exports 2000-09-09 08:53:39 +00:00
scc%mozilla.org fc5dcc58b5 adding new string headers to exports 2000-09-09 08:24:31 +00:00
scc%mozilla.org 26fdf3a955 refactoring |ToUpperCase|, |ToLowerCase| 2000-09-09 07:30:55 +00:00
scc%mozilla.org f9628a5ea2 nobody uses |nsFragmentedString| as yet ... changing it now to be based on the new work from |nsSlidingString|/|nsSlidingSubstring| for the parser 2000-09-09 06:42:45 +00:00
scc%mozilla.org 2f06e33fc1 adding a |#if|d out hunk of code to remind me of something later 2000-09-09 06:40:49 +00:00
scc%mozilla.org d20b91809f closer to getting the parser strings in; these files are still not part of the build 2000-09-09 06:35:16 +00:00
scc%mozilla.org 2e1d1cad8f fix |const| errors, this file is not yet part of the build 2000-09-09 06:32:46 +00:00
scc%mozilla.org 1b5dad648c fix a |const| error 2000-09-09 05:02:19 +00:00
scc%mozilla.org 59389ddca9 more work towards a working |nsSlidingString|, |nsSlidingSubstring| for the parser, these files are not yet part of the build 2000-09-09 04:42:19 +00:00
scc%mozilla.org cff3c8e744 fixing comments, not yet part of the build 2000-09-09 04:40:38 +00:00
scc%mozilla.org 4337bf7aef adding comments 2000-09-09 04:40:01 +00:00
scc%mozilla.org 9c9a645de8 fixing includes 2000-09-09 04:39:25 +00:00
scc%mozilla.org f2845da892 not part of the build, getting closer to turning on the new parser strings 2000-09-09 00:25:00 +00:00
scc%mozilla.org 1792573bee adding license and include guards 2000-09-09 00:02:48 +00:00
scc%mozilla.org 9cdf61fe64 not yet part of the build, this is the bulk of the work for the special parser strings 2000-09-08 23:54:23 +00:00
scc%mozilla.org 75c8ca9c3d bug #51662, r=bienvenu 2000-09-08 22:07:14 +00:00
scc%mozilla.org d92a2df1aa 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 4bc5b685d6 adding back a couple more |operator+|s for gcc 2000-09-04 01:34:04 +00:00
scc%mozilla.org 0caf9417c2 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 2000-09-03 22:38:38 +00:00
scc%mozilla.org 766ce2dea2 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 65a05bda2a adding |Concat| function to fix pravda and speedracer bustage 2000-09-03 01:38:27 +00:00
scc%mozilla.org 96b9a39082 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
scc%mozilla.org b67501b4c1 fixing build bustage for OS2 and AIX 2000-09-02 12:25:27 +00:00
scc%mozilla.org 76a73c1015 fix build bustage for hpux 2000-09-02 12:20:49 +00:00
mcafee%netscape.com 33f49a5690 Solaris bustage fix from scc/bruce/#mozilla 2000-09-02 07:14:59 +00:00
scc%mozilla.org 13b55a5fda time to add that specialization of |nsCharSourceTraits<PRUnichar>|, not having it is probably hosing speedracer, r=waldemar 2000-09-02 06:03:50 +00:00
scc%mozilla.org c18e089b7a oops. fix windows bustage 2000-09-02 04:57:36 +00:00
scc%mozilla.org e52e438806 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
valeski%netscape.com 1c0c8d7b63 32185. r=wan-teh. Fixing hashtable enumeration lossage. 2000-09-01 19:11:24 +00:00
scc%mozilla.org 387fffdcbc 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 cc2d66fff1 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 b1ef2faa2c fixing build bustage. r=scc 2000-08-31 06:00:21 +00:00
mscott%netscape.com 7e54962a72 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 57a58f3599 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
brendan%mozilla.org 2b858a9a05 Forgot to round capacity up to nearest power of two\! r=bienvenu. 2000-08-31 03:12:40 +00:00
waterson%netscape.com d7d0dad09e Add pldhash.h to the build. 2000-08-31 02:17:29 +00:00
brendan%mozilla.org da11005af4 Add pldhash.[ch], sed-translated from js/src/jsdhash.[ch]. 2000-08-30 19:32:03 +00:00
akkana%netscape.com bd7f472335 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 42f438ff51 Fixing AIX and SunOS 5.7 bustage. r=scc&vidur 2000-08-24 22:17:25 +00:00
hyatt%netscape.com 985e328964 Fix bug in void array's assignment operator. r=scc 2000-08-24 09:26:58 +00:00
jdunn%netscape.com 7eb04ed28d fixing hpux bustage
r=vidur@netscape.com
2000-08-23 23:57:00 +00:00
jst%netscape.com 1a18c182df Attempting to fix AIX and OS2 bustage, code written by scc, r=jst 2000-08-23 23:36:58 +00:00
jst%netscape.com 5da5a8ecc8 Fix to ToUpperCase and ToLowerCase so that we actually hit all characters. r=scc 2000-08-23 19:23:15 +00:00
jst%netscape.com 9abec73fbe 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
warren%netscape.com e05eef45e9 Bug 46777. Redesigned stream interfaces to allows stream observers to be decoupled from pipe implementation. Needed for embedding to fix 'spin' problem. r=rpotts,valeski,ruslan 2000-08-22 07:03:33 +00:00
jband%netscape.com 6c95754e2c add nsStaticNameTable to the builds. Needed to fix bug 48855. r=harishd,attinasi 2000-08-22 05:59:06 +00:00
warren%netscape.com d43828f23c Added back in nsOpaqueKey, used in nsMemCache. Went back to 37 as the magic number (prime). 2000-08-21 02:37:20 +00:00
warren%netscape.com c82a2efd44 After a little more analysis, I think using 33 instead of 37 as the magic multiplier gives just as good a distribution, but is a little faster to compute. 2000-08-20 22:28:12 +00:00
warren%netscape.com a94aa1aa52 Fix for hash code performance problem discovered by bienvenu. 'Sampling' hash code was statistically evil. 2000-08-20 21:29:10 +00:00
waterson%netscape.com 179f993e8b Fix nsCString::AppendWithConversion() to work. 2000-08-20 20:41:31 +00:00
scc%mozilla.org 794bf08cde temporarily backing out the headers with the explicit change (we haven't finished platform specific code or commercial yet) 2000-08-20 07:40:30 +00:00
scc%mozilla.org ad963283c3 fixing code that relied on implicit string construction 2000-08-20 06:59:07 +00:00
scc%mozilla.org aae8dfd4db adding |AppendWithConverison(const PRUnichar*, PRInt32)|, the need for which was brought out by making constructors |explicit| 2000-08-19 19:34:00 +00:00
warren%netscape.com 9d781138b0 Correct error code. 2000-08-18 20:54:28 +00:00
pinkerton%netscape.com b7e5078b6c 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
scc%mozilla.org 4e46a37d08 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 2000-08-17 21:07:45 +00:00
scc%mozilla.org 959c07dea2 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. 2000-08-17 01:08:30 +00:00
jband%netscape.com 3998d0b8d6 initial checkin - NOT PART OF BUILD 2000-08-16 02:07:37 +00:00
warren%netscape.com e8b9347907 Changes to allow uncopied string keys. Changes to copy string key's null byte. code=jband, r=warren 2000-08-16 00:32:59 +00:00
jband%netscape.com d98735c0ea Pass the buffer length in bytes to nsCRT::memcmp. a=warren 2000-08-11 23:46:09 +00:00
scc%mozilla.org 5082251b3e 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
warren%netscape.com a35f9c8adb Fixed warnings. 2000-08-10 07:05:13 +00:00
scc%mozilla.org cc67834dfe fixes needed to get multi-fragment strings working; r|a=waterson 2000-08-10 06:36:54 +00:00
warren%netscape.com 501b575efa Fixed nscom.h -> nsCom.h 2000-08-10 06:35:34 +00:00
warren%netscape.com 84b5fd67e3 Bug 46711. Removed nsAutoString travisty from nsStringKey. Introduced nsCStringKey. Made them both share the underlying string when possible. r=waterson 2000-08-10 06:19:37 +00:00
scc%mozilla.org d369a0d0d0 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|. 2000-08-10 00:45:33 +00:00
scc%mozilla.org 333974e822 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
scc%mozilla.org 332cbbead7 fixed |nsCharSinkTraits<T>::write| as per bug #46462; r=beard, a=waterson 2000-08-09 08:26:12 +00:00
scc%mozilla.org 7a4bbc2688 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 2000-08-09 08:26:08 +00:00
scc%mozilla.org 454fd1db7e 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 121b1c59e0 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 2000-08-09 02:48:27 +00:00
scc%mozilla.org 744280c781 not part of the build; further work on multi-fragment strings 2000-08-09 02:47:33 +00:00
scc%mozilla.org f4c2ca5073 not part of the build; initial work on multi-fragment strings 2000-08-08 00:14:35 +00:00
scc%mozilla.org e290b14ff8 not part of the build yet; initial work on multi-fragment strings 2000-08-08 00:14:14 +00:00
scc%mozilla.org e442ddaee4 also including "nsAWritableString.h" to satisfy speedracer 2000-08-05 08:32:18 +00:00
scc%mozilla.org be5ab5a689 need |NS_COM| in the declarations too 2000-08-05 08:20:50 +00:00
scc%mozilla.org e94ee44bff 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. 2000-08-05 07:50:28 +00:00
scc%mozilla.org 6a4f710e7d make sure the new functions are exported; still not in the build 2000-08-05 07:44:08 +00:00
scc%mozilla.org 8bf207c3fb added comments and made some changes suggested by reviewers; still not in the build 2000-08-05 04:25:49 +00:00
scc%mozilla.org 2637d04af7 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 2000-08-05 03:32:36 +00:00
scc%mozilla.org f7a6b498a9 still not part of the build; I think everything's there, though. Some further testing and I'll add it to the build 2000-08-05 02:13:59 +00:00
scc%mozilla.org 1d41a0a81b still not part of the build; more work adding the new functions. More to come 2000-08-05 01:15:45 +00:00
scc%mozilla.org c179048fab 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. 2000-08-05 00:51:37 +00:00
scc%mozilla.org 9d0e5978e2 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
waterson%netscape.com f49e884774 Bug 46702. Move nsFixedSizeAllocator.[h|cpp] to xpcom/ds so that we can use it outside of RDF. 2000-07-29 02:58:43 +00:00
waterson%netscape.com d1a16798a6 Bug 46702. Move nsFixedSizeAllocator.[h|cpp] to xpcom/ds so that it can be used outside of RDF. 2000-07-29 02:58:10 +00:00
waterson%netscape.com fd461d7b41 Bug 46702. Move nsFixedSizeAllocator.[h|cpp] out of rdf/base/src. Not yet part of the build. 2000-07-29 01:00:37 +00:00
warren%netscape.com 0c4c474fb7 Fixed declaration of nsHashtableCloneElementFunc to have PR_CALLBACK. 2000-07-28 06:48:32 +00:00
bratell%lysator.liu.se 9bfe3f2e81 Final part of bug 40027. r,a=waterson@netscape.com 2000-07-27 06:12:49 +00:00
bratell%lysator.liu.se c0a8b69048 Bug 40027, reads past buffer in nsString::ToCString, r,a=waterson 2000-07-26 00:05:55 +00:00
jband%netscape.com 1ddaab22f3 fix uninitialized variable 2000-07-22 22:50:35 +00:00
waterson%netscape.com 11fbbe38a5 Inline 'operator PRUnichar*()', 'operator char*()'; add inline 'get()' methods. r=brendan 2000-07-13 03:20:28 +00:00
ftang%netscape.com 478c04fe2f fix bug 21418. change the converter to UTF-8 and handle the \uxxxx and \r \n \t in the
lexical level (scanner) r=tao
2000-07-11 19:14:59 +00:00
cls%seawood.org 1f3b6d75ab Removed obsolete REQUIRES variable from every Makefile.in/makefile.win 2000-06-30 08:08:04 +00:00
scc%mozilla.org 0b41ff950a fix self assignment, self append, self replace problems. r=waterson 2000-06-29 22:17:53 +00:00
mkaply%us.ibm.com c7cc467aac #43877
r=dougt, a=dougt
Using this pointer rather than other pointer causes crash
2000-06-28 14:37:25 +00:00
scc%mozilla.org e00741f6fd 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