1317 Commits

Author SHA1 Message Date
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
dougt%netscape.com
fed2927b2c Create a new xpcom obsolete library (and component library).
Moved nsFileSpec and related classes into this obsolete library.
  Moved nsRegistry and related libreg functionality into the obsolete library.

Updated many callers using the obsolete nsFile spec to use nsIFile and Necko to do file IO.

Combined the following DLLs (source -> dest)
  uriloader -> docshell
  shistory -> docshell
  jsurl -> jsdom
  gkview -> gklayout

Moved nsAdapterEnumerator out of xpcom/ds and into mailnews, since they're the only consumer

Modifed the xpt_link tool so that you can specify a “only include” cid list that can mask CID’s that you are not interested in.

Added build options:
Prevent the building of xpinstall (--disable-xpinstall)
Prevent the building js component loader (--disable-jsloader)
A build option to only build a single profile (--enable-single-profile)
A build flag to only built the required xpfe components (--disable-xpfe-components).

Removal or hiding of unused functions and classes including nsEscape*, nsDequeIterator, nsRecyclingAllocatorImpl, nsDiscriminatedUnion, nsOpaqueKey, nsCRT::strlen, NS_NewCommandLineService

Bug 194240, r/sr = darin, alec.


git-svn-id: svn://10.0.0.236/trunk@139480 18797224-902f-48f8-a5cc-f745e15eee43
2003-03-15 01:04:32 +00:00
rginda%netscape.com
8f40c15175 bug 170585, Scriptable streams are broken; r=darinf, sr=dougt
add factories so js can create the nsIBinary*Stream objects,
also adds read/writeByteArray functions


git-svn-id: svn://10.0.0.236/trunk@139398 18797224-902f-48f8-a5cc-f745e15eee43
2003-03-13 21:23:18 +00:00
alecf%netscape.com
816d774685 fix for bug 173601 - nsIStringEnumerator implementation
r=dougt, sr=darin
Yes, this will cause a code size increase.. but it is for some upcoming interface freezes...


git-svn-id: svn://10.0.0.236/trunk@139219 18797224-902f-48f8-a5cc-f745e15eee43
2003-03-10 21:09:31 +00:00
brendan%mozilla.org
1e6fa1298d Reorder static and const to match tradition; reomve DEBUG_brendan cruft.
git-svn-id: svn://10.0.0.236/trunk@139130 18797224-902f-48f8-a5cc-f745e15eee43
2003-03-08 01:28:02 +00:00
timeless%mozdev.org
35fc68e223 Bug 166888 deprecate nsISupportsArray
r=alecf sr=alecf


git-svn-id: svn://10.0.0.236/trunk@139062 18797224-902f-48f8-a5cc-f745e15eee43
2003-03-07 01:17:27 +00:00
alecf%netscape.com
326b7425d7 fix for bug 191416 - clean up nsIUnicharInputStream to make it more like nsIInputStream:
- hide Fill() (or remove it where not necessary)
- add ReadSegments() so that we can do reads without copying
- remove the extra offset parameter to Read()
r=dougt, sr=darin


git-svn-id: svn://10.0.0.236/trunk@139039 18797224-902f-48f8-a5cc-f745e15eee43
2003-03-06 19:54:51 +00:00
dougt%netscape.com
265d430432 relanding. Add experimental support to the native component loader so that native components can declare what libraries it depends on. (193442)Fixed a bug where we didn't check return from GetLastModification in nsDll::HasChanged. Thank you ajschult@eos.ncsu.edu for pointing out the problem and suggesting a fix. Converted a linear search of compreg entries to be a hash lookup. Also cleaned up the xcdll class. Reviewers= Alec, Darin.
git-svn-id: svn://10.0.0.236/trunk@138914 18797224-902f-48f8-a5cc-f745e15eee43
2003-03-05 03:22:12 +00:00
brendan%mozilla.org
e35c8b596b Constipation of (JS|PL)DHashTableOps (195298, r/sr=shaver/alecf).
git-svn-id: svn://10.0.0.236/trunk@138697 18797224-902f-48f8-a5cc-f745e15eee43
2003-02-28 07:17:59 +00:00
sfraser%netscape.com
94edbe3959 Bug 74803: fix the data in various static name tables to be const, and fix nsStaticNameTable to accept const data. r=dbaron, sr=alecf.
git-svn-id: svn://10.0.0.236/trunk@138488 18797224-902f-48f8-a5cc-f745e15eee43
2003-02-26 00:52:07 +00:00
seawood%netscape.com
e084af4726 Use va_copy if available for VARARGS_ASSIGN
Bug #187180 r=blizzard sr=brendan


git-svn-id: svn://10.0.0.236/trunk@138284 18797224-902f-48f8-a5cc-f745e15eee43
2003-02-23 06:59:39 +00:00
dbaron%dbaron.org
e6a2b29ebf Remove nsISizeOfHandler and associated SizeOf methods. b=106792 r=bzbarsky sr=jst
git-svn-id: svn://10.0.0.236/trunk@138193 18797224-902f-48f8-a5cc-f745e15eee43
2003-02-22 15:34:38 +00:00
alecf%netscape.com
109bd95f6a back out 121341 and all subsequent regression fixes - there are still regressions and this just isn't worth being broken for 1.3.. I'll check this back in when 1.4a comes along and we have more time in the milestone to catch regressions.
a=dbaron


git-svn-id: svn://10.0.0.236/trunk@137358 18797224-902f-48f8-a5cc-f745e15eee43
2003-02-04 05:43:57 +00:00
mkaply%us.ibm.com
0da687198c #190732
r=mkaply, sr=alecf, a=asa
From ccarlen - check parser state at end of file


git-svn-id: svn://10.0.0.236/trunk@137321 18797224-902f-48f8-a5cc-f745e15eee43
2003-02-03 14:59:39 +00:00
alecf%netscape.com
59aecfa117 fix for bug 190283 - save unicode values stored like \u4ea2 after decoding them.
r=jst, sr=bzbarsky, a=asa


git-svn-id: svn://10.0.0.236/trunk@136964 18797224-902f-48f8-a5cc-f745e15eee43
2003-01-25 22:13:48 +00:00
sspitzer%netscape.com
ff4e6ac61a fix for #190215. multi-line properties in string bundles don't work on win32.
this isn't a blocker, but it's bad enough to take for the respin.
patch by alecf.  r/sr=sspitzer, a=kyle


git-svn-id: svn://10.0.0.236/trunk@136942 18797224-902f-48f8-a5cc-f745e15eee43
2003-01-24 21:47:53 +00:00
alecf%netscape.com
a7f53a2f6d fix for bug 190256 - string bundles broken on escaped characters, and when keys cross buffer boundaries
patch by bzbarsky, r=alecf, sr=jst, a=dbaron


git-svn-id: svn://10.0.0.236/trunk@136887 18797224-902f-48f8-a5cc-f745e15eee43
2003-01-23 15:48:19 +00:00
alecf%netscape.com
8706e11747 oops, warnings fixes from previous checkin
git-svn-id: svn://10.0.0.236/trunk@136817 18797224-902f-48f8-a5cc-f745e15eee43
2003-01-22 05:46:07 +00:00
alecf%netscape.com
ffa5897235 fix for bug 121341 - make nsPersistentProperties::Load sane. don't make a virtual call for every character read in from the .properties file!
git-svn-id: svn://10.0.0.236/trunk@136813 18797224-902f-48f8-a5cc-f745e15eee43
2003-01-22 05:15:40 +00:00
jkeiser%netscape.com
9ab164b399 Move HTMLValue parsing methods to HTMLValue (bug 159757), r=bugmail@sicking.cc, sr=jst@netscape.com
git-svn-id: svn://10.0.0.236/trunk@136751 18797224-902f-48f8-a5cc-f745e15eee43
2003-01-21 21:24:16 +00:00
sicking%bigfoot.com
736d455dc3 Bug 162115: Make nsCOMArray return nsDeriviedSafes to avoid bad addrefs/releases
r=bz sr=alecf


git-svn-id: svn://10.0.0.236/trunk@136593 18797224-902f-48f8-a5cc-f745e15eee43
2003-01-18 14:04:23 +00:00
brendan%mozilla.org
15e30e0232 Defend against bad EndMuxedDocument calls, and assert in the underlying {JS,PL}_DHashTableRawRemove that entry is live (188744, r=jrgm, sr=ben).
git-svn-id: svn://10.0.0.236/trunk@136501 18797224-902f-48f8-a5cc-f745e15eee43
2003-01-17 10:01:50 +00:00
bzbarsky%mit.edu
46afe71aab Make the string fu in nsStaticCaseInsensitiveNameTable a little smarter; use
that for nsCSSProps.  Bug 162243, r=dbaron, sr=dveditz.


git-svn-id: svn://10.0.0.236/trunk@136488 18797224-902f-48f8-a5cc-f745e15eee43
2003-01-17 04:55:10 +00:00
dougt%netscape.com
036eefb5d4 Enabling nsIStringService. r=darin, sr=alec
git-svn-id: svn://10.0.0.236/trunk@136337 18797224-902f-48f8-a5cc-f745e15eee43
2003-01-14 22:55:33 +00:00