Commit Graph

1483 Commits

Author SHA1 Message Date
bsmedberg%covad.net
97601586ac Bug 210337 part 2: remove unused nsObserver r=alecf/dougt 2003-06-23 20:47:45 +00:00
bsmedberg%covad.net
1a9cab373f Bug 210337 - Spring cleaning of unused XPCOM code and callers r/sr=alecf/bz 2003-06-23 20:31:43 +00:00
jaggernaut%netscape.com
6d16320259 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
2003-06-21 02:59:51 +00:00
kyle.yuan%sun.com
a1bc56e855 Bug 209622 nsTHashtable cause bustage on Solaris with F6U2
r/sr=bsmedberg
The missed part in nsBaseHashtable.h, patch by harinath@cs.umn.edu
2003-06-20 01:26:00 +00:00
bsmedberg%covad.net
581fce1582 Bug 209622 - bustage fix for stupid compilers (Sun WS and DEC OSF1) -
also remove unused configure test. r=dbaron sr=alecf
2003-06-19 18:42:23 +00:00
bsmedberg%covad.net
a82cd52521 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. 2003-06-18 11:26:27 +00:00
alecf%flett.org
63cdbb3203 fix bug 209699 r=dougt, sr=jst - move some consumers over to CopyUTF8toUTF16 2003-06-18 02:22:46 +00:00
seawood%netscape.com
97649bab86 Removing old cfm build files. Use the CFM_LAST_RITES tag to resurrect. r=macdev 2003-06-10 21:18:27 +00:00
brendan%mozilla.org
33cce84916 Disable DEBUG_brendan stuff. 2003-05-30 20:25:42 +00:00
alecf%flett.org
8fa1bb278e remove these files, they aren't built any more 2003-05-30 06:00:51 +00:00
bsmedberg%covad.net
1ec4879a62 bug 206254 allow nsBaseHashtable::IsInitialized() and bug 206528 nsBaseHashtable should initialize mLock. r=alecf 2003-05-26 23:36:19 +00:00
dougt%meer.net
ad4efabeb5 removing dynamically allocated hashtable in xpcom where possible. r=alecf, b=204634 2003-05-23 22:23:10 +00:00
bsmedberg%covad.net
110776c7d6 Fix ANSI-strict compiler errors using GCC 3.4 (from CVS). bug 201407 r=jkeiser sr=brendan a=sspitzer 2003-05-11 01:28:03 +00:00
bsmedberg%covad.net
a063aaffd5 Fixing AIX bustage. r=jdunn a=mkaply/ycalonje 2003-04-24 16:01:24 +00:00
bsmedberg%covad.net
d0b580c34a Fix for mac build bustage, with ccarlen. Cleanup from bug 201034. 2003-04-24 05:27:10 +00:00
bsmedberg%covad.net
d1f638b36f 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
2003-04-24 01:54:57 +00:00
mkaply%us.ibm.com
fcc51f8013 OK, should be final - need PR_CALLBACK here 2003-04-23 04:51:42 +00:00
mkaply%us.ibm.com
2df9fd3c2d Putting this back because I think it might break stuff - OS/2 will be broke however 2003-04-23 04:42:35 +00:00
mkaply%us.ibm.com
43cb1a0e6d One more PR_CALLBACK 2003-04-23 04:38:40 +00:00
mkaply%us.ibm.com
93f248fd4f OS/2 bustage - PR_CALLBACK stuff 2003-04-23 04:33:14 +00:00
bsmedberg%covad.net
c47f659d09 forgot Makefile.in bug 200709 r=jkeiser sr=alecf Many apologies, this is my first mozilla checkin. 2003-04-10 14:14:32 +00:00
bsmedberg%covad.net
2fe15728d7 bug 200709 remove dynamic linking of nsTHashtable and family. r=jkeiser sr=alecf 2003-04-10 13:27:16 +00:00
mhammond%skippinet.com.au
9e50b7b363 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
2003-04-10 05:39:46 +00:00
jkeiser%netscape.com
02767a1d4f Warning fixes (bug 200709), patch by bsmedberg@covad.net, r=jkeiser@netscape.com, sr=alecf@netscape.com 2003-04-05 00:16:32 +00:00
alecf%netscape.com
6c75920da1 fix for bug 195298 - pldhash ops tables should be const.. r=dougt, sr=sfraser 2003-04-04 15:10:37 +00:00
seawood%netscape.com
80e1b303cc Purge XP_PC.
Bug #56767 r=mkaply sr=alecf
2003-04-02 22:45:08 +00:00
alecf%netscape.com
0be7c71e1a remove #ifdef NS_DEBUG as per bug 200241
code was already reviewed, just moved out of #ifdef per bryner
2003-04-02 15:47:16 +00:00
seawood%netscape.com
a9dc22843a msgCore.h seems to think that os2 has isalpha() too 2003-04-02 08:31:39 +00:00
jkeiser%netscape.com
57a1ab6f5c Templatized hashtable class by bsmedberg@covad.net (bug 180264), r=jkeiser@netscape.com, sr=alecf@netscape.com 2003-04-02 06:53:57 +00:00
seawood%netscape.com
4957953e70 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
2003-04-01 19:38:12 +00:00
alecf%netscape.com
458bf37a3e one more thing for bug 195262 - export nsStaticAtom.h - not used anywhere yet 2003-03-25 21:46:33 +00:00
alecf%netscape.com
8c50d0242a 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
2003-03-25 18:55:59 +00:00
neil%parkwaycc.co.uk
25738e0473 Bug 198685 need nsCOMArray function like IndexOf that checks COM object identity p=bsmedberg@covad.net r=alecf (no sr needed) 2003-03-25 13:16:02 +00:00
alecf%netscape.com
1e90f98296 just relanding this file - not part of build yet - to make relanding bug 195262 easier
(its been r=dbaron, sr=darin'ed already)
2003-03-21 20:35:14 +00:00
alecf%netscape.com
b6584a77fb backout my static atom patch for now until I figure out the performance loss! :(
bug 195262
2003-03-21 20:13:08 +00:00
alecf%netscape.com
8d478bc8fc oops, don't free the arena pool if we never allocated it!
duh.
fixes a shutdown crash
2003-03-21 08:38:56 +00:00
alecf%netscape.com
ecf24a2b78 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.
2003-03-21 06:26:32 +00:00
bzbarsky%mit.edu
95563f3ca8 fix build bustage 2003-03-20 03:40:26 +00:00
alecf%netscape.com
799163824a 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
2003-03-20 02:34:11 +00:00
dougt%netscape.com
aa98f0a05f didn't want to check this in per darin 2003-03-15 02:31:17 +00:00
dougt%netscape.com
0d2808c511 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.
2003-03-15 01:04:32 +00:00
rginda%netscape.com
500958a09b 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
2003-03-13 21:23:18 +00:00
alecf%netscape.com
fe6074f0b4 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...
2003-03-10 21:09:31 +00:00
brendan%mozilla.org
ae0c4d3804 Reorder static and const to match tradition; reomve DEBUG_brendan cruft. 2003-03-08 01:28:02 +00:00
timeless%mozdev.org
39a2ea215a Bug 166888 deprecate nsISupportsArray
r=alecf sr=alecf
2003-03-07 01:17:27 +00:00
alecf%netscape.com
5b7536c806 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
2003-03-06 19:54:51 +00:00
dougt%netscape.com
939bb1e75c 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. 2003-03-05 03:22:12 +00:00
brendan%mozilla.org
6e0c7cdde4 Constipation of (JS|PL)DHashTableOps (195298, r/sr=shaver/alecf). 2003-02-28 07:17:59 +00:00
sfraser%netscape.com
a972085056 Bug 74803: fix the data in various static name tables to be const, and fix nsStaticNameTable to accept const data. r=dbaron, sr=alecf. 2003-02-26 00:52:07 +00:00
seawood%netscape.com
7f752bf63b Use va_copy if available for VARARGS_ASSIGN
Bug #187180 r=blizzard sr=brendan
2003-02-23 06:59:39 +00:00
dbaron%dbaron.org
6dd68f3c64 Remove nsISizeOfHandler and associated SizeOf methods. b=106792 r=bzbarsky sr=jst 2003-02-22 15:34:38 +00:00
alecf%netscape.com
1e643be2a6 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
2003-02-04 05:43:57 +00:00
mkaply%us.ibm.com
aed4ca0fbf #190732
r=mkaply, sr=alecf, a=asa
From ccarlen - check parser state at end of file
2003-02-03 14:59:39 +00:00
alecf%netscape.com
a2468ecc58 fix for bug 190283 - save unicode values stored like \u4ea2 after decoding them.
r=jst, sr=bzbarsky, a=asa
2003-01-25 22:13:48 +00:00
sspitzer%netscape.com
4ba4e22e66 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
2003-01-24 21:47:53 +00:00
alecf%netscape.com
084da5178b 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
2003-01-23 15:48:19 +00:00
alecf%netscape.com
271b44ce34 oops, warnings fixes from previous checkin 2003-01-22 05:46:07 +00:00
alecf%netscape.com
ab070553d6 fix for bug 121341 - make nsPersistentProperties::Load sane. don't make a virtual call for every character read in from the .properties file! 2003-01-22 05:15:40 +00:00
jkeiser%netscape.com
d73be72429 Move HTMLValue parsing methods to HTMLValue (bug 159757), r=bugmail@sicking.cc, sr=jst@netscape.com 2003-01-21 21:24:16 +00:00
sicking%bigfoot.com
5ff462a000 Bug 162115: Make nsCOMArray return nsDeriviedSafes to avoid bad addrefs/releases
r=bz sr=alecf
2003-01-18 14:04:23 +00:00
brendan%mozilla.org
b8d97d8b8c Defend against bad EndMuxedDocument calls, and assert in the underlying {JS,PL}_DHashTableRawRemove that entry is live (188744, r=jrgm, sr=ben). 2003-01-17 10:01:50 +00:00
bzbarsky%mit.edu
074caec10b Make the string fu in nsStaticCaseInsensitiveNameTable a little smarter; use
that for nsCSSProps.  Bug 162243, r=dbaron, sr=dveditz.
2003-01-17 04:55:10 +00:00
dougt%netscape.com
9553822500 Enabling nsIStringService. r=darin, sr=alec 2003-01-14 22:55:33 +00:00
dbaron%dbaron.org
b9083989bb Bug 178643: Remove uses of NS_INIT_ISUPPORTS, since it is no longer needed. r=timeless sr=jag 2003-01-08 23:19:20 +00:00
dbaron%fas.harvard.edu
a34c46af22 Change my email address from dbaron@fas.harvard.edu to dbaron@dbaron.org. Comment changes only. 2003-01-01 23:53:20 +00:00
seawood%netscape.com
d5efcdfb6d Start installing GRE libraries & components into a separate dist/gre directory as part of the default build.
Bug #186241 r=dougt
2002-12-28 01:15:07 +00:00
bzbarsky%mit.edu
988211b158 Fix crash in ~nsCOMArrayEnumerator. Bug 181592, r=alecf, sr=scc 2002-11-26 18:57:56 +00:00
brendan%mozilla.org
5380b54b0e Relax comments restricting Operate calls from enumerator to allow lookups (no bug, comment change only). 2002-11-26 00:32:07 +00:00
timeless%mozdev.org
fe8ebacdbf Bug 174603 Remove nsIEnumerator implementations: ConjoiningEnumerator, UnionEnumerator and IntersectionEnumerator
r=bbaetz sr=bz moa=alecf
2002-11-20 10:27:44 +00:00
alecf%netscape.com
db3bd2b207 fix warning - extra comma after enumerator
no reviewers, its a one-character change, pointed out by blizzard
2002-11-16 05:10:27 +00:00
alecf%netscape.com
ab1af1ae5c fix for bug 177318 - use pldhash for inner hashtable entries to dramatically reduce allocations
r=dougt/sr=brendan
I am watching to see how the performance number change and will back out if the results are nasty
2002-11-16 02:33:49 +00:00
alecf%netscape.com
df10f648b8 take two at fixing bug 177401 - convert nsIBinaryStream over to using nsAString/nsACString for string values, to speed up fastload
sr=darin, r=dougt
(the previous checkin had a typo which disabled fastload entirely!)
2002-11-14 18:16:31 +00:00
alecf%netscape.com
38eb10228e oops, I checked in an earlier version of the patch for bug 173291 - here's the update that reflects the reviewer's comments.
r=dougt, sr=jag
2002-11-13 22:58:56 +00:00
alecf%netscape.com
de2d41b288 fix for bug 173291 - use nsISimpleEnumerator for nsHashtableEnumerator, rather than nsIEnumerator
r=dougt, sr=jag
2002-11-13 22:40:10 +00:00
brendan%mozilla.org
5335692809 Make enumeration const unless PL_DHASH_REMOVE is returned by the etor callback; improve several comments (174859, r=waterson, sr=beard). 2002-11-13 04:35:37 +00:00
alecf%netscape.com
0a48c10053 argh, back out my last checkin because Ts went UP not down! 2002-11-09 01:31:32 +00:00
jkeiser%netscape.com
57c2e908dc Fix copyright date. Bug 133354. 2002-11-09 01:03:36 +00:00
alecf%netscape.com
4721428275 fix for bug 177401 - use nsAString& classes instead of wstring in nsIBinaryInputStream, to speed up fastload startup
sr=darin, r=dougt
2002-11-08 23:30:53 +00:00
bzbarsky%mit.edu
7e9b235805 Make the nsCOMArray destructor release all the objects. Bug 178813,
r=bbaetz, sr=rpotts
2002-11-07 13:34:18 +00:00
mkaply%us.ibm.com
38cc1792a7 #177543
r=me, sr=bz
OS/2 build bustage - add explicit casts
2002-11-07 04:48:56 +00:00
timeless%mozdev.org
4cd29fab52 Bug 174004 nsTextFormatter.cpp comment stolen from prprf.c should be removed
comment only change
2002-11-06 14:57:41 +00:00
bzbarsky%mit.edu
a072d304e2 nsCOMArray_base copy constructor should not assert. Bug 178534,
r=dougt, sr=alecf
2002-11-06 02:00:50 +00:00
bzbarsky%mit.edu
e1ecd5f25d Add AppendObjects/InsertObjectsAt to nsCOMArray. Bug 175137,
r=timeless, sr=alecf, a=dbaron
2002-10-25 01:40:50 +00:00
bzbarsky%mit.edu
a38eb32e8a need to NS_INIT_ISUPPORTS to prevent thresafety assertions. bug 175437,
r=timeless, sr=alecf, a=dbaron
2002-10-24 01:03:00 +00:00
bzbarsky%mit.edu
58a7681df2 Make IndexOf a const method. Bug 174940, r=dougt, sr=alecf 2002-10-17 19:26:27 +00:00
seawood%netscape.com
57e08a3f3a Define WIN32_LEAN_AND_MEAN globally for win32 builds.
Thanks to Stephen Walker <walk84@yahoo.com> for the patch.
Bug #172898 r=cls a=asa
2002-10-17 06:47:01 +00:00
varga%netscape.com
54b5577b97 Fix for bug 174443. nsCOMArray::ApendObject() shouldn't addref
r=dougt, sr=alecf, a=asa
2002-10-15 23:59:20 +00:00
bbaetz%student.usyd.edu.au
35ddc78531 Change the never-defined copy-constructor signature to refer to nsCOMArray<T>
instead of nsCOMArray. Should fix OS2 bustage, which noticed this because
it instantiates the function even when its not used
r=sicking, sr=mozbot, a=tinderbox
2002-10-15 05:19:30 +00:00
timeless%mac.com
859e1dee66 Bugzilla Bug 174447 fix typos in nsStaticNameTable.h 2002-10-14 22:39:44 +00:00
brendan%mozilla.org
12685fb2da Comment improvements motivated by bug 173797, no code changes. 2002-10-13 19:08:07 +00:00
timeless%mac.com
09fcb732df Bug 172131 FMM, Comments which suggest the wrong (De)Allocator, and Style
r=dougt sr=darin
2002-10-08 06:12:00 +00:00
seawood%netscape.com
f0b77e04cc Callback functions must be declared as such.
Fixing OS/2 tinderbox bustage.
2002-10-08 01:04:09 +00:00
mkaply%us.ibm.com
fb84d9cdf4 OS/2 bustage - need PR_CALLBACK 2002-10-07 21:32:37 +00:00
alecf%netscape.com
1a6ddca712 fix for bug 162115 - add nsCOMArray<T> and nsIArray to the build
r=dougt, sr=darin, lots of comments from brendan, kai, bugmail@sicking.cc, frank.schoenheit@gmx.de, and even a little license help from timeless
2002-10-07 19:03:41 +00:00
dougt%netscape.com
522523a746 Not part of build 2002-10-07 18:53:51 +00:00
dougt%netscape.com
2079b1b881 Backing out nsStringService. 2002-10-04 23:49:23 +00:00
dougt%netscape.com
fe6b07dca7 manifest 2002-10-04 23:12:36 +00:00
dougt%netscape.com
de5e57b1ab adding UNDER_REVIEW 2002-10-04 22:29:27 +00:00
dougt%netscape.com
0cabe78b54 First cut of the nsIStringService. 172512. r=jag, sr=alecf 2002-10-04 22:25:41 +00:00
alecf%netscape.com
daef497db3 argh, I'm stupid, s/class/interface/
not part of build
2002-10-04 00:48:16 +00:00
alecf%netscape.com
c1587a2bd2 pre-declare nsISimpleEnumerator instead of #including the header, per darin's request
not part of build, for bug 162115
2002-10-04 00:47:14 +00:00
alecf%netscape.com
4772a38bc6 add do_QueryElementAt, and make NS_NewArray() give you an nsIMutableArray instead of nsIArray
not part of build, for bug 162115
2002-10-03 20:20:13 +00:00
jkeiser%netscape.com
90f7d0d6fb Add CheapSet, reduce select bloat, make blank options restore correctly (bug 166168), r=rjesup@wgate.com, sr=jst@netscape.com 2002-10-03 03:43:11 +00:00
alecf%netscape.com
82a267d76a more work for bug 162115 - add support for weak references in nsIArray
not part of build
2002-10-02 21:00:42 +00:00
alecf%netscape.com
1bae8680e1 more work on bug 162115 - use "friend" to allow nsCOMArray<T>'s copy constructor to be protected, but still usable from nsArray
not part of build
2002-10-02 18:54:12 +00:00
alecf%netscape.com
1d12dc704b from brendan's review:
oops, use NS_IF_ADDREF where apropriate
also be consistent about using NS_ADDREF() on the result
not part of build
2002-10-01 18:29:30 +00:00
alecf%netscape.com
101b6c67d1 add support for a nsISimpleEnumerator implementation for nsCOMArray<T> and nsIArray, and update existing interfaces to support that:
- move nsCOMArray_base's ObjectAt/[]/Count() methods into the public so that nsCOMArrayEnumerator can get to it
- tweak NS_NewArray() to match the existing enumerator NS_New* API
- hook up NS_NewArrayEnumerator to nsArray::Enumerate
Not part of the build, for bug 162115
2002-10-01 17:34:25 +00:00
alecf%netscape.com
7c8eb9e9d2 - fix ReplaceObjectAt to properly account for existing null entries
- make nsCOMArray_base accessible from nsCOMArray<T> so that a nsCOMArray<T> can passed to NS_NewArray
for bug 162115, not part of build
2002-10-01 00:37:41 +00:00
alecf%netscape.com
3da81d6d16 add lots of docs for bug 162115, not part of build 2002-10-01 00:26:00 +00:00
alecf%netscape.com
950bb44445 not part of build, more for bug 162115:
- fix some spelling, add documentation
- add NS_NewArray(), including one that takes an existing nsCOMArray<T>
- implement copy constructor for nsCOMArray_base, so that NS_NewArray can work
not part of build
2002-09-30 23:02:31 +00:00
alecf%netscape.com
4b31552c74 match up some reviewers comments:
- tri-license with MPL, not NPL
- be consistent with policy on null in the array (it is allowed)
- move Clear() into implementation file, and hide static callback there too
- make sure to AddRef() on the way out of nsArray::IndexOf()
- handle failure of ReplaceElementAt more gracefully
bug 162115, not part of build yet
2002-09-30 22:01:46 +00:00
kyle.yuan%sun.com
a20c3b924d Bug 161449 Non-ASCII shortcuts for select elements in html forms
r=aaronl, sr=alecf
fix nsCRT::ToLower/ToUpper bugs and use |ToLowerCase()| instead of |nsCRT::ToLower()| in nsListControlFrame
2002-09-29 01:42:07 +00:00
alecf%netscape.com
5c1535a86b move contactID out of nsArray.h - not part of build 2002-09-27 19:52:47 +00:00
alecf%netscape.com
fdcbeea4d6 add documentation and comments, mark interface UNDER_REVIEW
(also not part of build)
2002-09-27 19:33:01 +00:00
alecf%netscape.com
8d1e0ebc54 continuing work in progress on nsCOMArray<T> - take darin's suggestion and move all nsISupports-related code into a non-template base class nsCOMArray_base. This allows the generated template to be paper thin (or really, non-existent!)
Then, we move some of the non-trivial methods of this class into a .cpp file
2002-09-27 19:29:45 +00:00
ducarroz%netscape.com
4aa0109ef1 Fix for bug 171121. prevValue could be null therefore we need to use NS_IF_RELEASE instead of
NS_RELEASE. R=dougt, SR=sspitzer
2002-09-27 17:49:08 +00:00
alecf%netscape.com
5274331b83 continue work-in-progress with freezable array.
Also introduce nsCOMArray<nsIFoo>
not part of build
2002-09-27 06:08:49 +00:00
jkeiser%netscape.com
f88cebcd5f Make nsHTMLValue store embedded nulls (r=sicking@netscape.com, sr=bzbarsky@mit.edu, sr=jaggernaut@netscape.com 2002-09-26 07:41:53 +00:00
dougt%netscape.com
c00b6ca42b Set means Define. When the method Define was removed, we didn't adjust Set to implictly Define. patch by ashishbhatt@netscape.com, r=khanson, r=dougt, b=169563 2002-09-25 21:27:20 +00:00
alecf%netscape.com
1a88abe55c fix bug 124182 - move nsAVLTree into htmlparser, since it is the only consumer
r=harishd, sr=jst
2002-09-12 04:52:01 +00:00
alecf%netscape.com
75e2072ee8 first cut at freezable array interface
not part of build
2002-09-12 04:37:51 +00:00
danm%netscape.com
6faa067b2d just because an observer supports weak refs doesn't mean it is one. (found while leak hunting in) bug 166442 r=jag,jst 2002-09-11 02:35:26 +00:00
roc+%cs.cmu.edu
a5d77f3602 Bug 167351. Move z-index topmost bit processing into the z-index sorter; keep view tree in document order. r=kmcclusk,brendan, sr=kin 2002-09-11 02:33:43 +00:00
dougt%netscape.com
68faeb5241 166917. Clean up xpcom SDK includes. r=rpotts@netscape.com, sr=alecf@netscape.com, a=rjesup@wgate.com 2002-09-07 17:13:19 +00:00
dougt%netscape.com
fae89c4077 Fixes up the timer interface. b157136, r=rpotts@netscape.com, sr=alecf@netscape.com, a=rjesup@wgate.com 2002-09-07 05:38:16 +00:00
dougt%netscape.com
9d12b31608 Fixes many compiler warnings from xpcom/ds/nsVoidArray.h. r=dougt, sr=darin, patch=colin@theblakes.com, a=asa, b=166427 2002-09-05 21:57:52 +00:00
dougt%netscape.com
7e46dface2 moving nsISupportsPrimitives.idl to SDK section per HowToFreeze doc 2002-09-04 00:18:10 +00:00
dougt%netscape.com
f2a00efc93 Move FROZEN ContractID into nsXPCOM.h and define r=rpotts, sr=alec, b=166426 2002-09-03 23:36:13 +00:00
timeless%mac.com
aaa6413f0d the main bustage was ds requiring io which it can't do, so we'll try to forward declare it instead.
cross your fingers.
2002-08-30 18:48:57 +00:00
timeless%mac.com
c9a55a5b9b tinderbox bustage missing */ caught by kdc on #mozilla 2002-08-30 18:43:32 +00:00
alecf%netscape.com
d8a39b068f marking these interfaces as UNDER_REVIEw now that they are in the API that we think we want, future documentation forthcoming
comment-only change, no review
2002-08-30 17:35:05 +00:00
alecf%netscape.com
6aaaa92bd0 followup comments for bug 164575 that I forgot to add per timeless's request
(comments only, documenting an unfrozen interface - no review)
2002-08-30 17:33:55 +00:00
alecf%netscape.com
2dded12ab7 fix for bug 164575 - clean nsIPersistentProperties interface to reduce UTF8/UCS2 conversions
r=dougt, sr=darin
2002-08-30 17:13:34 +00:00
alecf%netscape.com
d6fb45e7dd fix for bug 164633 - add ssprintf for formatting strings into nsAStrings
r=dougt, sr=darin
2002-08-30 15:44:35 +00:00
alecf%netscape.com
94704f6773 fix for bug 164577 - make the nsManifestLineReader include lengths from ParseLine() so that consumers can avoid calling strlen() on them
(tiny startup perf fix for reading in xpti.dat)
r=dougt, sr=darin
2002-08-27 18:32:12 +00:00
dougt%netscape.com
22ffaadb79 exports frozen interface to dist/sdk using new SDK variable. 164717. r=cls, sr=alec 2002-08-27 01:05:21 +00:00
alecf%netscape.com
dc6d6e3736 bug 157624 - freeze nsISupportsPrimitives, which includes changing nsISupport[C]String over to using A[C]String and fixing consumers
r=dougt, sr=darin
2002-08-26 21:20:34 +00:00
dougt%netscape.com
4f8934ad1d Freezes the nsIProperties interface. 162114. r=ccarlen, sr=alecf. Freezes the mozIJSSubScriptLoader interface. 157136. r=rginda, sr=alec. 2002-08-26 20:36:44 +00:00
shanjian%netscape.com
d7bdf923df #41425 UTF-8 converter gets surrogates wrong
correct unicode upper boundary
r=ftang, sr=blizzard
2002-08-26 20:32:13 +00:00
bryner%netscape.com
025fb3a058 Get rid of gcc3's numerous warnings about using <new.h> instead of <new> by creating a new #define, NEW_H, which should be used instead of <new.h> or <new>. This is so we can continue to support a couple of braindead compilers that don't accept <new>. Bug 155852, r=cls. 2002-08-19 03:50:27 +00:00
dbaron%fas.harvard.edu
3ce29e8630 Use PRSize to fix alignment problems on some platforms, although it doesn't guarantee a fix for all platforms. Patch from <scooter@gene.com>. b=160535 r=dbaron sr=alecf 2002-08-14 12:47:18 +00:00
seawood%netscape.com
67c2c5b3c0 Removing unused defines:
_IMPL_NS_BASE (bug #162142)
_IMPL_NS_GFXONXP (bug #162145)
_IMPL_NS_UI (bug #162183)
B_ONE_M (bug #162196)
XP_NEW_SELECTION (bug #162230)
r=cls
Thanks to Stephen Walker <walk84@yahoo.com> for the patches.
2002-08-12 13:35:18 +00:00
dbaron%fas.harvard.edu
30051c90c6 Remove unneeded checks due to unsigned parameters. b=156908 r=dougt sr=darin 2002-08-11 18:02:59 +00:00
seawood%netscape.com
322da773fb Removing old nmake build makefiles. Bug #158528 r=pavlov 2002-08-10 07:55:43 +00:00
brendan%mozilla.org
a099682b6e Fix a macro name (LIMIT, not MAX -- fencepost, not maximum value; r=lumpy, sr=jack). 2002-08-07 20:22:38 +00:00
jkeiser%netscape.com
d3557c8810 Add generalized macro-based PLDHashTable C++ wrapper (bug 125849), r=alecf, sr=brendan 2002-08-06 04:15:10 +00:00
alecf%netscape.com
f7ad4265ef bug 157624 - prep for freezing nsISupports* primitives by renaming the string classes appropriately
nsISupportsString  -> nsISupportsCString
nsISupportsWString -> nsISupportsString
r=dougt, sr=jag
2002-08-06 00:53:19 +00:00
bryner%netscape.com
d0cfcc1da2 Remove obsolete NS_BASE and _IMPL_NS_BASE, and unused/obsolete source files nsStdFileStream.* (bug 160052). r=cls, sr=alecf, a=asa. 2002-07-30 21:30:05 +00:00
ccarlen%netscape.com
f9dc66c40e Bug 149785 - nsHashTable hides important functionality of PLHashTable. r=brendan@mozilla.org/sr=alecf/a=brendan 2002-07-29 22:48:15 +00:00
dougt%netscape.com
18565a33ea nsICollection's nsQueryElementAt class is exported. r=darin, sr=alec, a=asa, b=158931 2002-07-25 20:12:18 +00:00
dp%netscape.com
b34f76a592 bug 156320 Acquire lock before checking not-used-list (not
after). Fixing topcrash. r=dbaron
2002-07-09 13:48:03 +00:00
seawood%netscape.com
0597412383 The c++ standard requires that the throw list be used when declaring functions as well as defining them.
commercial compiler fixes for bug #149032
2002-07-03 17:14:41 +00:00
dp%netscape.com
cc314746c1 Trying to fix Irix and HPUX bustage. Defining CPP_THROW_NEW at point
of declaration too.
2002-07-02 22:38:16 +00:00
seawood%netscape.com
03ace271f0 Add CPP_THROW_NEW macro to the build system. This macro should be used when defining a local |operator new| function. It will be set to an empty throw function by default on all platforms except mac CW builds. This will allow us to not crash on systems that expect |operator new| to throw an exception by default and will suppress compiler warnings about how |operator new| should throw an exception instead of returning NULL.
Bug 149032 r=timeless sr=scc
2002-07-02 20:25:30 +00:00
dp%netscape.com
af446c2be7 bug 146532 Making Init() non-virtual (thanks dbaron for suggestion) 2002-07-02 18:11:53 +00:00
dbaron%fas.harvard.edu
5ec1a4fef0 Attempt to fix BeOS bustage. b=148046 2002-07-02 04:07:20 +00:00
dbaron%fas.harvard.edu
25c3f2c7d9 Attempt to fix Sun WorkShop bustage. b=146532 2002-07-02 03:43:33 +00:00
dbaron%fas.harvard.edu
f528da681f Attempt to fix HP-UX and OS/2 bustage. b=146532 2002-07-02 03:42:11 +00:00
mkaply%us.ibm.com
6a050d9a3d Fix Os/2 bustage for now - I've no idea why. I need to build a testcase 2002-07-02 03:34:12 +00:00
dp%netscape.com
e1522de4fb bug 146532 Improving recycling allocator
- Uses freelist
- 1 int overhead to store size
- nsIMemory wrapping
r=dougt, sr=darin
2002-07-01 23:36:03 +00:00
alecf%netscape.com
0bc735834f cleanup after the first fix for bug 154275 - handle errors better and get rid of mCount entirely
sr=jst, r=peterv
2002-06-26 19:36:24 +00:00
alecf%netscape.com
35a797fb3e bug 154280 - remove unimplemented operators from nsISupportsArray
r=dougt, sr=dveditz
2002-06-26 03:48:08 +00:00
alecf%netscape.com
808c595df7 make nsStaticNameTable use PLDHash rather than nsHashtable, to reduce startup allocations from 1315 to 2
r=dougt, sr=dveditz
bug 154275
2002-06-26 03:46:39 +00:00
alecf%netscape.com
3b3212ff35 ack! fix check of entries to use PL_DHASH_ENTRY_IS_FREE() from my previous checkin to prevent tree closure tomorrow! 2002-06-26 03:43:43 +00:00
dbaron%fas.harvard.edu
6d2263f19b Convert handwritten GetIID methods to use NS_DEFINE_STATIC_IID_ACCESSOR and add |const| to GetCID methods so that static |nsID|s are declared as |const|. b=153525 sr=jag r=bryner 2002-06-26 03:38:55 +00:00
alecf%netscape.com
8aff49891f fix for bug 153754 - make nsPersistentProperties (and thus string bundles) use PLDHash, saving some 1100+ allocations at startup.
r=dougt, sr=dveditz
2002-06-26 01:33:07 +00:00
dougt%netscape.com
f93a81bfcb Fixes 48888 - xpcom flat file backend. r=dp@netscape.com sr=waterson@netscape.com 2002-06-14 21:33:05 +00:00
cbiesinger%web.de
15a321ca78 bug 115473 r=pavlov sr=brendan
Remove timer priorities
2002-06-11 20:47:04 +00:00
dougt%netscape.com
913bbb6f6c Fixes bugs 149745 148918 149715 149730 149754 129959. Cleanup of nsIFile and nsILocalFile interfaces, supporting do_GetInterface in embedding via xcom glue, and general cleanup of shutdown. r=various, sr=shaver@mozilla.org 2002-06-11 19:26:04 +00:00
brendan%mozilla.org
791ae0c843 Ensure a live keyHash *after* multiplying by the irrational (146907, r=dbaron, sr=shaver). 2002-06-05 00:47:38 +00:00
brendan%mozilla.org
2300976a2f Back out troublesome parts of patch for 130544 (147997, r/sr=me). 2002-05-30 07:13:40 +00:00
brendan%mozilla.org
d133d09cb4 Clean up nsICollection/nsSupportsArray {Append,Remove}Element return type (130544, r=dougt, sr=bienvenu). 2002-05-29 18:08:37 +00:00
dougt%netscape.com
c683a217ab Fixes mozilla/strings requiring unfrozen nsCRT class. patch by scc, r=dougt, sr=jag, b=136756 2002-05-15 18:55:21 +00:00
dougt%netscape.com
f4cf458eb8 Use flat strings when constructing string keys. This fixes a few high volume string key constructors. See 135781. r=dp@netscape.com, sr=darin@netscape.com 2002-04-15 22:39:43 +00:00
timeless%mac.com
dc372ad5dc Bug 133657 nsISupportsVoid should have/use [noscript] attribute voidPtr data;
r=dougt sr=dveditz a=asa
2002-04-04 12:28:22 +00:00
seawood%netscape.com
f940144626 Remove xp_core.h & xp_mem.h and all build references to them.
Remove cruft from xp_mcom.h & xp_str.h.
Bug #38061 r=brendan sr=alecf a=valeski
2002-03-27 06:02:39 +00:00
dbaron%fas.harvard.edu
6cdcd7ef3a Convert users of nsAReadable[C]String and nsAWritable[C]String typedefs to [const] nsA[C]String. b=131899 r=scc sr=jag a=asa 2002-03-24 00:16:18 +00:00
jband%netscape.com
16d78379aa fix bug 125084. Add support for empty arrays in nsIVariant. This is expressed as atype id rather than as a regular array with no elements. Includes changes to xpconnect to support mapping to empty JSArrays, xpconnect tests, and SOAP. Patches are from jcorwin@us.ibm.com and rayw@netscape.com. r=jband sr=brendan a=asa 2002-03-21 23:21:54 +00:00
timeless%mac.com
dec943eb10 Bug 106386 rid source of misspellings
r=db48x sr=blake a=asa
2002-03-19 04:30:17 +00:00
dougt%netscape.com
bd4d9e5593 DEBUG_dougt -> DEBUG_dougt_xxx. a=dbaron 2002-03-18 23:40:36 +00:00
brendan%mozilla.org
6f45f575a4 Fix JS/PL_DHashTableEnumerate to compress or shrink the table after enumeration using the same logic as ADD and REMOVE use (120953, r=dbaron, sr=shaver, a=asa). 2002-03-14 21:55:08 +00:00
alecf%netscape.com
3c88a713e6 fix for bug 130135 - remove "virtual" from nsObserverList because it doesn't have virtual methods
(saves 4 bytes per list)
r=dougt, sr=darin, a=roc+moz
2002-03-12 15:46:19 +00:00
attinasi%netscape.com
bcaefb1ea0 Added NS_COM to fix linkage problems. Thanks Chris S~! 2002-03-07 22:38:41 +00:00
darin%netscape.com
f1a6738b6c fixes bug 124042 "support internationalized URIs" r=dougt, sr=alecf, a=asa 2002-03-06 07:48:55 +00:00
timeless%mac.com
3fe617c819 bug 114166 final cleanup for nsDeque ( comments + whitespace only )
r=akkana sr=darin a=asa
2002-03-06 03:21:17 +00:00
nisheeth%netscape.com
8872795d15 Fix for bug 125465. r=jag, sr=jband, a=asa. Add AString, ACString, and AUTF8String support to XPCOM's variant data type. Also, add forward declarations of AString and ACString to nsrootidl.idl. 2002-03-05 02:22:02 +00:00
badami%netscape.com
00fea02e9e Leaking nsCStringKey objects
bug 73308 r=valeski sr=shaver a=brendan patch=tmutreja@netscape.com
2002-03-01 09:28:55 +00:00
dp%netscape.com
e82fec9611 (again) bug 127941 Fixing leak of bucket memory; memset to 0 only if zeroit is
set. r=dougt, sr&a=shaver@mozilla.org
2002-03-01 00:03:58 +00:00
dp%netscape.com
9dc9c12621 Backing out earlier change. Tree isn't open for checkin yet. Sorry. 2002-02-28 18:36:26 +00:00
dp%netscape.com
93c15c90ab bug 127941 Fixing leak of bucket memory; memset to 0 only if zeroit is
set. r=dougt, sr&a=shaver@mozilla.org
2002-02-28 18:30:48 +00:00
cathleen%netscape.com
4ddb311b96 backout nsCRT.h change. put back nsCRT::strlen(char* s). tree is burning out of control. I swear it builds on my machine! :-( Will need to evaluate and try later 2002-02-28 05:23:40 +00:00
cathleen%netscape.com
4a5da35b5c eliminate nsCRT::strlen for char* strings (final part), bug 124536 r=dp sr=brendan a=roc+moz 2002-02-28 04:11:37 +00:00
dougt%netscape.com
874111f277 Adding build SDK support. r=dougt, sr=alecf, submitted by seawood, a=asa 2002-02-25 23:20:01 +00:00
brendan%mozilla.org
6b265c5d37 Sync these mirrored sources with their primaries at js/src/jsdhash.[ch] (see bug 62164, r=shaver, sr=jband). 2002-02-23 10:04:29 +00:00
cathleen%netscape.com
8baf662f08 eliminate nsCRT::strlen for char* strings (part 5), bug 124536 r=dp sr=brendan 2002-02-20 06:38:38 +00:00
jkeiser%netscape.com
b80501852c C++ wrapper for PLDHashTable (bug 125489), r=alecf@netscape.com, sr=brendan@mozilla.org 2002-02-20 06:08:53 +00:00
timeless%mac.com
abdca2b41a Bug 114166 rewrite nsDeque
r=akkana sr=alecf
rs=alecf for TestDeque.cpp
2002-02-20 03:08:32 +00:00
dp%netscape.com
6271baf01b bug 125641 Adding id r=dougt sr=sfraser 2002-02-18 22:59:58 +00:00
alecf%netscape.com
8c0ab1d965 remove a bunch of dead code, and remove NS_COM from a bunch of concrete classes that weren't being used previously
r=jag, sr=shaver
2002-02-18 22:57:47 +00:00
bryner%netscape.com
d509bd510d Fixing a compiler warning (bug 125949). r=bzbarsky, sr=alecf. 2002-02-18 22:42:37 +00:00