bsmedberg%covad.net
59065133a3
Bug 212919 - Fix const issues in nsDataHashtable on MSVC7 (I'm surprised other
...
compilers didn't barf already!) r=swalker sr=scc a=asa
git-svn-id: svn://10.0.0.236/trunk@145822 18797224-902f-48f8-a5cc-f745e15eee43
2003-08-09 19:24:24 +00:00
brendan%mozilla.org
95220b5330
Add shared DHashTableOps for [const] char *key use-cases, clean up dhash API abusages (214839, r=dougt, sr=dbaron).
...
git-svn-id: svn://10.0.0.236/trunk@145624 18797224-902f-48f8-a5cc-f745e15eee43
2003-08-05 20:09:21 +00:00
dougt%meer.net
580beb95bb
this shouldn't have been checked in
...
git-svn-id: svn://10.0.0.236/trunk@145593 18797224-902f-48f8-a5cc-f745e15eee43
2003-08-05 06:34:54 +00:00
dougt%meer.net
6dfc67684a
Fix for 205023. Adds nsTraceRefcnt stubs that access a global to allow tracing refcnt to work with the GRE/xpcom glue builds. r=dbaron
...
git-svn-id: svn://10.0.0.236/trunk@145587 18797224-902f-48f8-a5cc-f745e15eee43
2003-08-05 05:29:10 +00:00
jaggernaut%netscape.com
f34216bf2d
Bug 25886: Get rid of a bunch of unused NS_DEFINE_IID, NS_DEFINE_CID. r=caillon, sr=dbaron
...
git-svn-id: svn://10.0.0.236/trunk@144992 18797224-902f-48f8-a5cc-f745e15eee43
2003-07-20 07:47:59 +00:00
timeless%mozdev.org
77aea2f7b3
Bug 211276 nsStaticCaseInsensitiveNameTable::Init doesn't check the return value of PL_DHashTableInit Last
...
r=alecf sr=dbaron
git-svn-id: svn://10.0.0.236/trunk@144846 18797224-902f-48f8-a5cc-f745e15eee43
2003-07-14 21:21:54 +00:00
timeless%mozdev.org
0b7361d0c0
Bug 211277 nsPersistentProperties::nsPersistentProperties doesn't check the return value of PL_DHashTableInit
...
r=alecf sr=dbaron
git-svn-id: svn://10.0.0.236/trunk@144839 18797224-902f-48f8-a5cc-f745e15eee43
2003-07-14 21:07:31 +00:00
bzbarsky%mit.edu
b3ac17b99d
Fixing think-o.
...
git-svn-id: svn://10.0.0.236/trunk@144794 18797224-902f-48f8-a5cc-f745e15eee43
2003-07-13 07:21:43 +00:00
bzbarsky%mit.edu
fcfa41755f
Optimize nsSegmentEncoder to not get an mEncoder unless it actually has
...
encoding to do (has a non-ascii spec segment). Bug 212475, r=darin, sr=dbaron
git-svn-id: svn://10.0.0.236/trunk@144786 18797224-902f-48f8-a5cc-f745e15eee43
2003-07-12 23:06:13 +00:00
timeless%mozdev.org
e08d1b2b32
Bug 211275 GetAtomHashEntry doesn't check the return value of PL_DHashTableInit
...
r=dbaron sr=bz
git-svn-id: svn://10.0.0.236/trunk@144431 18797224-902f-48f8-a5cc-f745e15eee43
2003-07-03 14:45:01 +00:00
bsmedberg%covad.net
90d450743a
Bug 210337 part 2: remove unused nsObserver r=alecf/dougt
...
git-svn-id: svn://10.0.0.236/trunk@144064 18797224-902f-48f8-a5cc-f745e15eee43
2003-06-23 20:47:45 +00:00
bsmedberg%covad.net
03384bfad0
Bug 210337 - Spring cleaning of unused XPCOM code and callers r/sr=alecf/bz
...
git-svn-id: svn://10.0.0.236/trunk@144063 18797224-902f-48f8-a5cc-f745e15eee43
2003-06-23 20:31:43 +00:00
jaggernaut%netscape.com
57d5e83c5f
Bug 210160: Add nsStringComparator parameter to String(Begins)|(Ends)With. r=bzbarsky, sr=dbaron
...
Bug 210162: Fix up comments, argument names of atom getters in nsIAtom.idl. r=bzbarsky, sr=dbaron
git-svn-id: svn://10.0.0.236/trunk@144015 18797224-902f-48f8-a5cc-f745e15eee43
2003-06-21 02:59:51 +00:00
kyle.yuan%sun.com
5662499915
Bug 209622 nsTHashtable cause bustage on Solaris with F6U2
...
r/sr=bsmedberg
The missed part in nsBaseHashtable.h, patch by harinath@cs.umn.edu
git-svn-id: svn://10.0.0.236/trunk@143969 18797224-902f-48f8-a5cc-f745e15eee43
2003-06-20 01:26:00 +00:00
bsmedberg%covad.net
d7e6136c71
Bug 209622 - bustage fix for stupid compilers (Sun WS and DEC OSF1) -
...
also remove unused configure test. r=dbaron sr=alecf
git-svn-id: svn://10.0.0.236/trunk@143942 18797224-902f-48f8-a5cc-f745e15eee43
2003-06-19 18:42:23 +00:00
bsmedberg%covad.net
e3c168a346
Bug 193031 fix category manager to use aPersist parameter. Bug 54639 Category Manager is not thread-safe. Bug 208437 separate threadsafe nsBaseHashtable into super-class nsBaseHashtableMT. r=dougt/alecf I know Sun Workshop builds are still broken... working on it.
...
git-svn-id: svn://10.0.0.236/trunk@143853 18797224-902f-48f8-a5cc-f745e15eee43
2003-06-18 11:26:27 +00:00
alecf%flett.org
37f83056dd
fix bug 209699 r=dougt, sr=jst - move some consumers over to CopyUTF8toUTF16
...
git-svn-id: svn://10.0.0.236/trunk@143835 18797224-902f-48f8-a5cc-f745e15eee43
2003-06-18 02:22:46 +00:00
seawood%netscape.com
06e1507b0c
Removing old cfm build files. Use the CFM_LAST_RITES tag to resurrect. r=macdev
...
git-svn-id: svn://10.0.0.236/trunk@143527 18797224-902f-48f8-a5cc-f745e15eee43
2003-06-10 21:18:27 +00:00
brendan%mozilla.org
57ba9e9ac5
Disable DEBUG_brendan stuff.
...
git-svn-id: svn://10.0.0.236/trunk@143118 18797224-902f-48f8-a5cc-f745e15eee43
2003-05-30 20:25:42 +00:00
alecf%flett.org
16de08bc3f
remove these files, they aren't built any more
...
git-svn-id: svn://10.0.0.236/trunk@143087 18797224-902f-48f8-a5cc-f745e15eee43
2003-05-30 06:00:51 +00:00
bsmedberg%covad.net
04eda085a6
bug 206254 allow nsBaseHashtable::IsInitialized() and bug 206528 nsBaseHashtable should initialize mLock. r=alecf
...
git-svn-id: svn://10.0.0.236/trunk@142935 18797224-902f-48f8-a5cc-f745e15eee43
2003-05-26 23:36:19 +00:00
dougt%meer.net
219c826785
removing dynamically allocated hashtable in xpcom where possible. r=alecf, b=204634
...
git-svn-id: svn://10.0.0.236/trunk@142864 18797224-902f-48f8-a5cc-f745e15eee43
2003-05-23 22:23:10 +00:00
bsmedberg%covad.net
acbfa07f90
Fix ANSI-strict compiler errors using GCC 3.4 (from CVS). bug 201407 r=jkeiser sr=brendan a=sspitzer
...
git-svn-id: svn://10.0.0.236/trunk@142312 18797224-902f-48f8-a5cc-f745e15eee43
2003-05-11 01:28:03 +00:00
bsmedberg%covad.net
d220bd5eaa
Fixing AIX bustage. r=jdunn a=mkaply/ycalonje
...
git-svn-id: svn://10.0.0.236/trunk@141747 18797224-902f-48f8-a5cc-f745e15eee43
2003-04-24 16:01:24 +00:00
bsmedberg%covad.net
80d1570b8e
Fix for mac build bustage, with ccarlen. Cleanup from bug 201034.
...
git-svn-id: svn://10.0.0.236/trunk@141732 18797224-902f-48f8-a5cc-f745e15eee43
2003-04-24 05:27:10 +00:00
bsmedberg%covad.net
8a71f7dbb4
Bug 201034 non-const enumeration in nsBaseHashtable, add
...
nsTHashtable::RawRemove. Add a hashtable test-suite, and
clean up some codesize issues. Also fixes bug 203030 and
hopefully SunOS build bustage. r=jkeiser sr=alecf a=asa
git-svn-id: svn://10.0.0.236/trunk@141729 18797224-902f-48f8-a5cc-f745e15eee43
2003-04-24 01:54:57 +00:00
mkaply%us.ibm.com
0e7a92a3ca
OK, should be final - need PR_CALLBACK here
...
git-svn-id: svn://10.0.0.236/trunk@141673 18797224-902f-48f8-a5cc-f745e15eee43
2003-04-23 04:51:42 +00:00
mkaply%us.ibm.com
e3a656531e
Putting this back because I think it might break stuff - OS/2 will be broke however
...
git-svn-id: svn://10.0.0.236/trunk@141672 18797224-902f-48f8-a5cc-f745e15eee43
2003-04-23 04:42:35 +00:00
mkaply%us.ibm.com
647c1ac5e1
One more PR_CALLBACK
...
git-svn-id: svn://10.0.0.236/trunk@141669 18797224-902f-48f8-a5cc-f745e15eee43
2003-04-23 04:38:40 +00:00
mkaply%us.ibm.com
821689e319
OS/2 bustage - PR_CALLBACK stuff
...
git-svn-id: svn://10.0.0.236/trunk@141667 18797224-902f-48f8-a5cc-f745e15eee43
2003-04-23 04:33:14 +00:00
bsmedberg%covad.net
062f86d6e3
forgot Makefile.in bug 200709 r=jkeiser sr=alecf Many apologies, this is my first mozilla checkin.
...
git-svn-id: svn://10.0.0.236/trunk@140971 18797224-902f-48f8-a5cc-f745e15eee43
2003-04-10 14:14:32 +00:00
bsmedberg%covad.net
2151b43815
bug 200709 remove dynamic linking of nsTHashtable and family. r=jkeiser sr=alecf
...
git-svn-id: svn://10.0.0.236/trunk@140969 18797224-902f-48f8-a5cc-f745e15eee43
2003-04-10 13:27:16 +00:00
mhammond%skippinet.com.au
78d983040a
Fix bug 200893 - Timeline Service is not thread aware,
...
and bug 200204 - Timeline service should expose NS_TIMELINE_MARK_TIMER1
sr=alecf, r=alecf/dougt
git-svn-id: svn://10.0.0.236/trunk@140963 18797224-902f-48f8-a5cc-f745e15eee43
2003-04-10 05:39:46 +00:00
jkeiser%netscape.com
7f5c58a0a0
Warning fixes (bug 200709), patch by bsmedberg@covad.net, r=jkeiser@netscape.com, sr=alecf@netscape.com
...
git-svn-id: svn://10.0.0.236/trunk@140733 18797224-902f-48f8-a5cc-f745e15eee43
2003-04-05 00:16:32 +00:00
alecf%netscape.com
8d4f1935a6
fix for bug 195298 - pldhash ops tables should be const.. r=dougt, sr=sfraser
...
git-svn-id: svn://10.0.0.236/trunk@140696 18797224-902f-48f8-a5cc-f745e15eee43
2003-04-04 15:10:37 +00:00
seawood%netscape.com
5921049139
Purge XP_PC.
...
Bug #56767 r=mkaply sr=alecf
git-svn-id: svn://10.0.0.236/trunk@140602 18797224-902f-48f8-a5cc-f745e15eee43
2003-04-02 22:45:08 +00:00
alecf%netscape.com
d9d575a55b
remove #ifdef NS_DEBUG as per bug 200241
...
code was already reviewed, just moved out of #ifdef per bryner
git-svn-id: svn://10.0.0.236/trunk@140593 18797224-902f-48f8-a5cc-f745e15eee43
2003-04-02 15:47:16 +00:00
seawood%netscape.com
ae6ed306ca
msgCore.h seems to think that os2 has isalpha() too
...
git-svn-id: svn://10.0.0.236/trunk@140577 18797224-902f-48f8-a5cc-f745e15eee43
2003-04-02 08:31:39 +00:00
jkeiser%netscape.com
3358821b5e
Templatized hashtable class by bsmedberg@covad.net (bug 180264), r=jkeiser@netscape.com, sr=alecf@netscape.com
...
git-svn-id: svn://10.0.0.236/trunk@140570 18797224-902f-48f8-a5cc-f745e15eee43
2003-04-02 06:53:57 +00:00
seawood%netscape.com
8480117132
Obsoleting xp_str.h:
...
* Move XP_IS_ macros into nsCRT.h & rename them to NS_IS_
* Make local XP_IS_ macros use the nsCRT ones
* Remove NOT_NULL defines
Bug #199920 r=alecf sr=bryner
git-svn-id: svn://10.0.0.236/trunk@140498 18797224-902f-48f8-a5cc-f745e15eee43
2003-04-01 19:38:12 +00:00
alecf%netscape.com
671997c658
one more thing for bug 195262 - export nsStaticAtom.h - not used anywhere yet
...
git-svn-id: svn://10.0.0.236/trunk@140283 18797224-902f-48f8-a5cc-f745e15eee43
2003-03-25 21:46:33 +00:00
alecf%netscape.com
f24ccb3da0
landing attempt #2 for 195262 - support for static atoms, and converting atoms over to UTF8 to reduce bloat - now without performance regressions!
...
sr=darin, r=dbaron
git-svn-id: svn://10.0.0.236/trunk@140260 18797224-902f-48f8-a5cc-f745e15eee43
2003-03-25 18:55:59 +00:00
neil%parkwaycc.co.uk
a8347d1ab6
Bug 198685 need nsCOMArray function like IndexOf that checks COM object identity p=bsmedberg@covad.net r=alecf (no sr needed)
...
git-svn-id: svn://10.0.0.236/trunk@140238 18797224-902f-48f8-a5cc-f745e15eee43
2003-03-25 13:16:02 +00:00
alecf%netscape.com
de34f7cec1
just relanding this file - not part of build yet - to make relanding bug 195262 easier
...
(its been r=dbaron, sr=darin'ed already)
git-svn-id: svn://10.0.0.236/trunk@139965 18797224-902f-48f8-a5cc-f745e15eee43
2003-03-21 20:35:14 +00:00
alecf%netscape.com
2a83f1b2d9
backout my static atom patch for now until I figure out the performance loss! :(
...
bug 195262
git-svn-id: svn://10.0.0.236/trunk@139962 18797224-902f-48f8-a5cc-f745e15eee43
2003-03-21 20:13:08 +00:00
alecf%netscape.com
8072ae007f
oops, don't free the arena pool if we never allocated it!
...
duh.
fixes a shutdown crash
git-svn-id: svn://10.0.0.236/trunk@139921 18797224-902f-48f8-a5cc-f745e15eee43
2003-03-21 08:38:56 +00:00
alecf%netscape.com
59c2bfe187
fix for bug 195262:
...
- convert atoms to UTF8 because 99% of the time, that is what they are used for
- add support for static atoms, where the strings are declared in a large const array and not copied into the heap
r=dbaron, sr=darin
this is an experimental landing - if there are performance issues, I will back it out.
git-svn-id: svn://10.0.0.236/trunk@139909 18797224-902f-48f8-a5cc-f745e15eee43
2003-03-21 06:26:32 +00:00
bzbarsky%mit.edu
3919ec2621
fix build bustage
...
git-svn-id: svn://10.0.0.236/trunk@139819 18797224-902f-48f8-a5cc-f745e15eee43
2003-03-20 03:40:26 +00:00
alecf%netscape.com
ee8127d57a
fix an assertion from nsCOMArray where ReplaceElementAt() wouldn't property extend the array because we were just using ObjectAt()
...
residual stuff from bug 197827, which caused an assertion browsing frame
patch by keeda@hotpop.com , r/sr=alecf
git-svn-id: svn://10.0.0.236/trunk@139814 18797224-902f-48f8-a5cc-f745e15eee43
2003-03-20 02:34:11 +00:00
dougt%netscape.com
2262ce106e
didn't want to check this in per darin
...
git-svn-id: svn://10.0.0.236/trunk@139489 18797224-902f-48f8-a5cc-f745e15eee43
2003-03-15 02:31:17 +00:00