scc%mozilla.org
154339463e
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
2000-06-15 22:13:19 +00:00
pete%alphanumerica.com
413cf4c3f4
r=dougt,brendan a=dougt
...
not part of the build.
--pete
2000-06-15 13:16:49 +00:00
waterson%netscape.com
a97ae58687
Fix UMRs.
2000-06-15 06:42:27 +00:00
dbaron%fas.harvard.edu
ccb545953e
Code for nsCOMPtr leak logging, a new tool to help debug memory leaks (not yet fully enabled on non-autoconf platforms). r=waterson@netscape.com
2000-06-15 02:23:55 +00:00
dbaron%fas.harvard.edu
2542937940
Change MOZ_DECL_CTOR_COUNTERs that I added to use ;, as all others do. r=waterson@netscape.com
2000-06-15 02:20:30 +00:00
dbaron%fas.harvard.edu
ce0a7feae1
Count various classes in leak/bloat logs. r=waterson@netscape.com
2000-06-15 02:18:32 +00:00
waterson%netscape.com
e608b04776
Fix leak I made. r=warren
2000-06-14 07:27:08 +00:00
cls%seawood.org
8deeb466c1
The WS5.0 problem cropped up again so I'm reapplying pavlov's previous fix.
2000-06-14 06:28:13 +00:00
scc%mozilla.org
9eac94d3fb
Adding |nsWork[C]String| classes
2000-06-14 05:47:30 +00:00
scc%mozilla.org
0046864d2b
adding |nsWork[C]String| classes
2000-06-14 05:41:05 +00:00
brendan%mozilla.org
c23c45c768
Fiddle whitespace style.
2000-06-14 04:46:22 +00:00
scc%mozilla.org
cc0aa5c6d7
Adding a new string class for to help fix performance problems.
2000-06-14 04:10:00 +00:00
waterson%netscape.com
8c03caa216
Bug 42360. Fix SUNWspro5.0 bustage. r=tor
2000-06-14 03:27:46 +00:00
scc%mozilla.org
1d6c6fadc5
Temporarily (till Thursday) commented out the definition that made |PRUnichar*| incompatible with |OLECHAR*| as a favor to the AIM team, so they can decide whether to cast in their code, or alter their headers. They know what to do in either case, and have agreed that this definnition can be re-activated on Thursday. r=vishy
2000-06-14 02:54:40 +00:00
mkaply%us.ibm.com
b3e435e1de
# 37239
...
r = valeski, a = brendan
OS/2 bring-up - Yes I know this is ugly.
We are getting a linker error on this delete.
We want to get our builds up by any means necessary,
so I need to comment this out for us for now.
2000-06-14 00:26:52 +00:00
bryner%uiuc.edu
f3584cb69d
Fix for blocker bug 42371 - unable to startup on Linux. r=akkana.
2000-06-13 20:26:30 +00:00
heikki%citec.fi
805cc13312
Fixed NS_ENSURE_ARG_MAX macro (a typo), it did not even compile if you tried to use it.
2000-06-13 08:36:06 +00:00
waterson%netscape.com
287eb64abe
Grow by power of two after reaching 16 elements; factor 'implementation' into a separate struct so the nsVoidArray object is one word when empty.
2000-06-13 08:33:19 +00:00
waterson%netscape.com
99378b6076
Add test for Iterator.
2000-06-13 08:02:30 +00:00
waterson%netscape.com
e29c915886
Fix else-after-break and other stylistic atrocities; add default and copy ctors for Iterator; add operator=() for Iterator.
2000-06-13 08:02:08 +00:00
waterson%netscape.com
1a90d1fa84
Fix gcc-2.7.2.3 bustage.
2000-06-13 06:32:09 +00:00
waterson%netscape.com
f3abbd6780
Sweet jesus.
2000-06-13 05:27:45 +00:00
waterson%netscape.com
ed47b9358c
How'd that get in there?
2000-06-13 05:26:00 +00:00
waterson%netscape.com
3964ecab91
Reduce index and data node size to eight words; pack bits harder so overhead per node is one word; add Iterator and make singleton iterator be simpler.
2000-06-13 05:16:02 +00:00
waterson%netscape.com
c8c5ae145c
Add TestVoidBTree to the build.
2000-06-13 04:57:14 +00:00
waterson%netscape.com
43246b762f
Add nsVoidBTree and nsStatistics to the build.
2000-06-13 04:56:38 +00:00
waterson%netscape.com
289d1365cc
Add nsStatistics.cpp and nsVoidBTree.cpp to the build.
2000-06-13 04:55:22 +00:00
waterson%netscape.com
b004a9e7ec
Add nsVoidBTree.cpp and nsStatistics.cpp to the build
2000-06-13 04:54:23 +00:00
waterson%netscape.com
4a1a4ccd33
Add nsVoidBTree.h and nsStatistics.h
2000-06-13 04:53:54 +00:00
waterson%netscape.com
21a95d8d93
Clean up egcs warnings.
2000-06-13 04:52:33 +00:00
waterson%netscape.com
465e5f19be
First checked in. Not yet in the build.
2000-06-13 04:30:45 +00:00
scc%mozilla.org
f96d29bcff
make |PRUnichar| be |wchar_t| on Mac. Soon on Windows, as well.
2000-06-13 00:05:18 +00:00
pavlov%netscape.com
139d01474d
reverting previous checkin to fix workshop5 bustage as it has been fixed elsewhere
2000-06-12 05:34:27 +00:00
scc%mozilla.org
f9832905c7
reduce bloat by not chunk-allocating strings (in |nsStr::Alloc|). Clients that don't benefit from this can explicitly call |SetCapacity|. We may re-introduce this functionality in the append of a single character when no space remains, if it turns out to be a problem. This optimization was suggested by profiling done by sfraser, who now promises to find out where it hurts us.
2000-06-12 02:54:22 +00:00
scc%mozilla.org
0dd133eef6
...and set the define for the test case
2000-06-12 02:50:27 +00:00
scc%mozilla.org
c7ed57b159
added some #ifdef logic to allow me to turn NEW_STRING_APIS off, so I can continue to profile for bloat; added an implementation specific |operator+()| to resolve ambiguity with promises on some platforms
2000-06-11 04:35:02 +00:00
scc%mozilla.org
1d482b725a
fixed tabs and spacing
2000-06-11 01:22:58 +00:00
scc%mozilla.org
6ac6a0494a
updated to reflect work done
2000-06-11 01:11:13 +00:00
scc%mozilla.org
8c3521ba58
Added new targets to compare between the |wchar_t| version and the no |wchar_t| version
2000-06-11 01:10:49 +00:00
scc%mozilla.org
2c3b6e2814
convert to the new scheme for handling wide string literals: |NS_LITERAL_STRING|.
2000-06-11 01:09:54 +00:00
scc%mozilla.org
57004e2d83
now that NEW_STRING_APIS is turned on in the actual string headers, I needed to move some defs around. Also setting a new define for HAVE_CPP_2BYTE_WCHAR_T
2000-06-11 01:09:00 +00:00
scc%mozilla.org
7b3025a965
First checked in.
2000-06-11 01:07:41 +00:00
scc%mozilla.org
9029ea592f
added some #ifdef logic to allow me to turn NEW_STRING_APIS off, so I can continue to profile for bloat; added an implementation specific |operator+()| to resolve ambiguity with promises on some platforms; added a conversion operator (against my best judgement) to |NS_ConvertASCIItoUCS2| to support the construction of literal strings induced by the bad case of the new macro. I could conditionally define this is the opposite direction.
2000-06-11 01:06:14 +00:00
scc%mozilla.org
5498a8acae
added some #ifdef logic to allow me to NEW_STRING_APIS off, so I can continue to profile for bloat
2000-06-11 01:03:19 +00:00
scc%mozilla.org
f3555fc0ef
In an assignment, |SetLength(0); SetLength(newLength);| so that the implementation won't bother to copy any old characters if allocation is required. Fiddled with inlining to reduce bloat ... more experiments needed.
2000-06-11 01:02:12 +00:00
scc%mozilla.org
2f8ac64d97
provide real definitions for |NS_LITERAL_STRING| (one of which exploits |wchar_t|); add a range-check assertion to |CharAt|; add another constructor to |nsPromiseConcatenation| to allow per-class |operator+()| (which some compilers need to resolve ambiguity) to work; fiddled with inlining to reduce bloat ... more experiments needed
2000-06-11 01:00:08 +00:00
scc%mozilla.org
3e457bd913
define |PRUnichar| to be |wchar_t|, when applicable
2000-06-11 00:49:29 +00:00
scc%mozilla.org
b61d6b1d41
moved |explicit| here, where it belongs, from "nsCOMPtr.h"
2000-06-10 09:58:15 +00:00
scc%mozilla.org
ab3cce39a1
further logging fixes; removed |explicit| to "nscore.h"; removed old-style logging definitions for |NSCAP_ADDREF| and |NSCAP_RELEASE|, define them externally if you want them (the new comment says how); fixed some comments... I'll be moving to doc-style comments soon to better support doxygen
2000-06-10 09:58:13 +00:00
waterson%netscape.com
2b2025c6f9
Add SizeOf() which is going to be needed for 'plug replacement' of nsVoidArray's
2000-06-10 07:31:09 +00:00