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

1387 Коммитов

Автор SHA1 Сообщение Дата
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
mozilla.BenB%bucksch.org c66706ca6c 125881: Has() must return true for existing properties (the key exists), which
have a 0 value.
r=dougt, sr=jband
2002-02-17 10:11:25 +00:00
dbaron%fas.harvard.edu 030f6a08b1 Speed up nsCRT::HashCode(const PRUnichar*) by renaming the version that does UCS-2 to UTF-8 conversion to nsCRT::HashCodeAsUTF8. r=jag sr=jst b=120363 2002-02-16 19:50:32 +00:00
dbaron%fas.harvard.edu 59892aa65e Remove more no-longer-needed nsComponentManager::RegisterComponent calls. Remove remnants of NS_IMPL_IDS macro, associated with long-gone NS_DECLARE_ID. b=125782 r=dougt rs=jag 2002-02-16 16:18:13 +00:00
ducarroz%netscape.com 38c188b96d Fix bustage (again). 2002-02-12 05:17:18 +00:00
ducarroz%netscape.com 19e6602925 Fix bustage on Unix system. 2002-02-12 04:34:36 +00:00
ducarroz%netscape.com 3ae0f8b9c3 Fix for bug 100591. We need to replace illegal characters in file name before trying to use it during a file save. R=cavin, law, SR=alecf, mscott 2002-02-12 03:57:39 +00:00
dp%netscape.com 822136992a bug 123988 Optimizing timers out when there are no allocations held r=dougt,sr=sfraser 2002-02-08 22:50:40 +00:00
cathleen%netscape.com a5ec167c47 eliminate 24 callers to nsCRT::memmove to use memmove from libC instead. removed nsCRT::memove() bug 118135 r=dp sr=brendan 2002-02-08 01:11:33 +00:00
racham%netscape.com c91192351a Fixing bug 122309. Adding a new routine that can take a string and parse it on a delimiter to add elements to the nsCStringArray. r=dougt, sr=jag 2002-02-05 08:35:28 +00:00
cathleen%netscape.com 740d95a0a9 eliminates 107 nsCRT::memset calls to use memset instead. removed nsCRT::memset() function. bug 118135 r=dp sr=brendan 2002-02-05 01:41:13 +00:00
bryner%netscape.com 40ccb42c7c Fixing some warnings in xpcom. Bug 118377, r=hwaara, sr=shaver. 2002-02-03 07:05:10 +00:00
cathleen%netscape.com 8605704b12 eliminate nsCRT::zero() to use memset to zero instead, bug 118135, r=dp sr=waterson 2002-01-30 02:55:57 +00:00
cathleen%netscape.com e0f55c7088 eliminate nsCRT::memcmp and all callers to use memcmp instead, bug 118135 r=dp sr=brendan 2002-01-29 21:30:32 +00:00
dougt%netscape.com c50ca402ad 1. Converts callers of nsIComponentManagerObsolete to use
nsIComponentRegistrar.

2. Converts callers of nsComponentManager::AutoRegister to use
nsIComponentRegistrar's autoRegistrar method.

3. Add nsIComponentRegistrar implmentation to nsComponentManagerImpl.

4. Rearrange nsComponentManager.cpp so that related methods are in the same
place.

5. Added a C-style function NS_GetComponentRegistrar so that getting the
registrar is easier in some places.

6. Added a nsISimpleEnumerator interface on PLDHashTableEnumeratorImpl.  in
this way, the same base class can support both old style and new style
enumerations.

7. Fixed a nasty bug where unregistring factories will leave the contract id
hash with a dangling pointer.  Now, when unregister is called we search the
contract id hash for entries which have the given doomned cid and remove them.


Bug 115853.  r=dp@netscape.com, sr=rpotts@netscape.com
2002-01-29 21:22:13 +00:00
cathleen%netscape.com 486c0d47f9 remove memcpy function from nsCRT, eliminate 2 new nsCRT::memcpy callers
and fix up alighment problems from previous patch, bug 118135, sr=brenda r=dp
2002-01-26 00:04:45 +00:00
dp%netscape.com 0d66d15a2c Adding nsRecyclingAllocator.h for mac export 2002-01-24 08:06:45 +00:00
dp%netscape.com d70f788fac bug 118061 Enabling nsRecyclingAllocator r=dveditz sr=sfraser 2002-01-24 06:48:58 +00:00
dp%netscape.com bd96c598ea bug 118061 First version of nsRecyclingAllocator r=dveditz sr=sfraser 2002-01-24 06:41:01 +00:00
jst%netscape.com 50295b2702 Fixing part of bug 118933. Speeding up the global resolve hook in the DOM JS helpers by eliminating the use of nsHashtable and nsStringKey in favor of pldhash. Adding global HashString(const nsA[C]String&) functions that calculate a hash code from a nsA[C]String, code by dbaron@fas.harward.edu. Also checking in brendan@mozilla.org's fix for a type error in the jsdhash/pldhash API found while working on this. sr=brendan@mozilla.org, r=peterv@netscape.com 2002-01-17 04:08:14 +00:00
blythe%netscape.com 3161e6149e proactive change to avoid MAC bustage from last checkin 2002-01-15 23:20:35 +00:00
blythe%netscape.com 65cd19adda Fix bug 107270
Reduce nsCSSDeclaration footprint
r=dbaron, sr=hyatt
2002-01-15 22:43:37 +00:00
dougt%netscape.com 902facd5e3 Null protecting hashing code. 96322. r=dp@netscape.com sr=alecf@netscape.com. 2002-01-14 20:10:48 +00:00
cathleen%netscape.com 92d4fbf218 converted 271 references to nsCRT::memcpy to memcpy, bug 118135 r=dp 2002-01-12 03:18:55 +00:00
jband%netscape.com 8971743b26 trivial fix to allow freeing a variant array type that we do in fact create. rs=vidur 2002-01-10 23:55:32 +00:00
jdunn%netscape.com 061ee47034 AIX's new compiler, xlC5.x, doesn't allow the use of "friend" to declare
a function prototype.  So we have to decare the function and then
declare it a friend.  When Default arguments are used, they need to
be specified in the function prototype and NOT in the friend declaration.
# 43311
r=dbaron@fas.harvard.edu
2002-01-10 14:16:05 +00:00
jdunn%netscape.com c054ef2252 trying an AIX ifdef to see if this is our startup slowdown problem
a=waterson@netscape.com
# 112824
2002-01-04 15:03:43 +00:00
timeless%mac.com a2dab5ced9 Bug 116793 Mismatched Allocator/Deallocator in nsSupportsIDImpl::ToString
r=waterson sr=jst
2002-01-03 23:47:55 +00:00
jdunn%netscape.com 3c7d0ffdc4 AIX requires a constructor for the nsPermanentAtom since this relies on
"new replacement"

r=dbaron@fas.harvard.edu
sr=shaver@mozilla.org
# 112824
2002-01-03 15:57:59 +00:00
seawood%netscape.com 6e57d3325f Moving variable declaration to beginning of code block for freebsd builds.
Bug #112987 r=cls sr=brendan
2001-12-31 09:18:16 +00:00
rjesup%wgate.com bf290280d9 Remove nsVoidArray:: from method defs 2001-12-21 02:48:02 +00:00
rjesup%wgate.com 03f3f59cf1 Bug 96108: Fix Win32/opt horkage (SizeOf()) in nsSmallVoidArray should be
#if dEBUG)
2001-12-21 02:06:03 +00:00
rjesup%wgate.com 33c7c1921f Bug 96108: Additional assertions requested by jst. sr=jst 2001-12-21 01:13:17 +00:00
rjesup%wgate.com 2e680f1b17 Bug 96108: Inline ElementAt(), add SafeElementAt(), voidarray usage fixes,
assertions for bad voidarray indexes.  r=jst, sr=waterson
2001-12-21 01:10:07 +00:00
waterson%netscape.com 8da65d866a Remember to #include <new.h>! 2001-12-21 00:51:43 +00:00
waterson%netscape.com d4df523a78 Correct comments; thanks for pointing this out, dp! 2001-12-21 00:35:25 +00:00
jaggernaut%netscape.com e44e7d9ec8 Bug 113228: Replace ns{C}String::To{Upper,Lower}Case with global versions. r=bzbarsky, sr=jst 2001-12-17 07:14:49 +00:00
jaggernaut%netscape.com 97b0530073 Bug 104158: Use NS_LITERAL_STRING instead of XXXWithConversion("..."). r=bryner, rs=alecf 2001-12-16 11:58:03 +00:00
seawood%netscape.com 33ab7a9398 Add win32 support to xpcom Makefile.ins
Bug #58981 r=bryner
2001-12-09 07:05:12 +00:00
akkana%netscape.com 8772e8472b Hmm, let's try that spelling correction again 2001-12-08 06:59:49 +00:00
akkana%netscape.com ba1f9f6c3b Spelling correction. Noticed by and r=timeless 2001-12-08 06:32:59 +00:00
dveditz%netscape.com 61bd3cbbee bug 102690 patch for float formatting cleanup from Daniele Nicolodi <daniele@grinta.net>, r=me, sr=jband 2001-12-07 01:50:31 +00:00
dp%netscape.com a020848bb0 bug 112470 Getting timeline ON for debug builds by default.
When running, NS_TIMELINE_ENABLE is required for seeing the timeline
output. r=cathleen, sr=alecf
2001-12-04 21:14:21 +00:00
dbaron%fas.harvard.edu dd543d9155 Fix massive numbers of threadsafety assertions by re-adding NS_INIT_ISUPPORTS, to make builds usable again. b=110531 sr=waterson 2001-12-04 05:26:46 +00:00
alecf%netscape.com 917e1454a4 fix for bug 110531, r=dougt, jag, sr=darin - moving ConverterInputStream into uconv, and changing the one in XPCOM into an UTF8-only converter 2001-12-04 01:10:43 +00:00
bryner%netscape.com a00a1a2bbe Backing out new code alecf accidentely checked in, fixing bustage. 2001-12-03 00:37:35 +00:00
alecf%netscape.com 968dc3e710 augh, didn't mean to check these in 2001-12-02 23:17:11 +00:00
alecf%netscape.com c720226f30 ok, back out my ToLowerCase() change, it didn't make any difference 2001-12-02 23:15:31 +00:00
alecf%netscape.com 88f676267c performance test - just to see if nsString.ToLowerCase() is faster than ToLowerCase()
no reviewer, will back out after one or two tinderbox cycles
2001-12-02 19:06:02 +00:00
alecf%netscape.com 78caae6067 just removing some dead code that blake spotted, followup to bug 110226 2001-11-29 00:07:42 +00:00
alecf%netscape.com c0f138b6da notify observers in reverse order, so that if a observer removes itself when it gets notified, we don't forget to notify the next guy
r=dougt, sr=bienvenu bug 110226
2001-11-28 02:48:10 +00:00
alecf%netscape.com 919808c9fb oops, one more try to back out 2001-11-27 23:55:03 +00:00
alecf%netscape.com c9c063213a ack! back these out, weren't meant to land 2001-11-27 23:53:18 +00:00
alecf%netscape.com 9cdc5ef58a debug stuff only - adding MOZ_COUNT_DTOR/CTOR and changing DEBUG to DEBUG_dougt
(last part r=dougt)
2001-11-27 23:52:05 +00:00
alecf%netscape.com 8e1f300899 first part of fix for bug 112209, making nsStr private by switching nsStaticNameTable over to nsAFlatString. r=dbaron, sr=blake 2001-11-27 21:13:53 +00:00
dp%netscape.com e1631bf51e int g_timelineDisabled -> PRBool gTimelineDisabled (review comments for previous version) r=sgehani,sr=sfraser 2001-11-27 01:16:27 +00:00
dp%netscape.com 4249566499 NS_TIMELINE_MARK_FUNCTION1() and NS_TIMELINE_DISABLE. For timeline builds only. r/sr=sfraser 2001-11-27 00:54:57 +00:00
dougt%netscape.com acd340cc5e fixing comment in idl. bug 111518 2001-11-23 15:11:37 +00:00
seawood%netscape.com 7733357d51 Rename 'install' build phase to 'libs'.
Bug #56601 r=pavlov
2001-11-21 09:49:41 +00:00
dp%netscape.com 6b663b134f Function timers. r=sgehani, sr=sfraser 2001-11-20 21:37:27 +00:00
sgehani%netscape.com 1705d9cf87 Implemented resetTimer().
b=106551; r=dp; sr=sfraser
2001-11-20 03:33:11 +00:00
timeless%mac.com 060425ec59 Bugzilla Bug 110080 change !NS_SUCCEEDED(status) to NS_FAILED(status)
s/!NS_SUCCEEDED/NS_FAILED/g;s/!NS_FAILED/NS_SUCCEEDED/g;
r=dougt sr=hewitt
2001-11-19 06:45:00 +00:00
dp%netscape.com 5c6a4d5606 Implementing NS_TIMELINE_MARK_TIMER1 that prints an additional string
along with the timer mark. r=sgehani, sr=sfraser
2001-11-17 20:20:25 +00:00
bzbarsky%mit.edu f2ee8260a0 Use NS_LITERAL_STRING instead of NS_ConvertASCIItoUCS2 where possible
(i.e. where the string is a literal).  Bug 104159, r=jag, sr=alecf
2001-11-14 01:33:42 +00:00
dbaron%fas.harvard.edu 8cd8d91750 Ensure that string literals are used as |const char*| rather than |char*|. r=jag sr=brendan b=107052 2001-11-07 06:24:10 +00:00
dbaron%fas.harvard.edu 9065547497 Remove unused stopwatch code. b=107510 r=jag sr=waterson 2001-11-03 05:46:18 +00:00
dbaron%fas.harvard.edu a958fc49fc Removing nsIStopwatch.idl, which was never really part of the build. b=107510 r=jag sr=waterson 2001-11-03 05:26:55 +00:00
dp%netscape.com 3e3319f35a bug# 105509 inlining nsHashKey::nsHashKey
r=dougt, sr=jband
2001-11-02 04:58:30 +00:00
alecf%netscape.com 4b9ba13776 remove all unicharutil dependencies from xpcom (finally!)
bug 100214, r=jag, sr=scc
2001-11-01 22:40:03 +00:00
bryner%netscape.com 4017bc7be2 Correcting the description of the third argument to NS_QuickSort. r=dbaron. 2001-11-01 22:21:34 +00:00
darin%netscape.com 4542d21f7f fixes Darwin mach-o bustage (r=jband) 2001-11-01 05:06:41 +00:00
jband%netscape.com 101aac6307 ack! forgot one .idl file. Fix Mac bustage 2001-11-01 02:08:41 +00:00
jband%netscape.com 3ff792dd5d the HP compiler says that anonymous unions can't even have structs. So the union must be named. Fixing that bustage 2001-11-01 01:45:48 +00:00
jband%netscape.com c052cc3bf0 fix Mac bustage (I hope). I think these names conflicted with other names 2001-11-01 01:15:53 +00:00
jband%netscape.com 0009a2c9f0 fix bustage on compilers that don't like anonymouse structs in unions. who knew? sr=jst 2001-11-01 00:34:29 +00:00
jband%netscape.com 84bfc894a4 add support for nsIVariant and nsIPropertyBag. bug 44675 and bug 98209. sr=vidur r=dbradley 2001-10-31 23:35:07 +00:00
dbaron%fas.harvard.edu fadce78f0e Remove references to nsISimpleEnumerator.h from Makefile.in and MANIFEST as well. b=99136 2001-10-31 03:33:12 +00:00
mkaply%us.ibm.com 8c2922775b #99136
r=dbaron
OS/2 bustage - removing H file that is now generated by IDL
2001-10-31 03:17:59 +00:00
dougt%netscape.com 20e863fb43 Moving nsISimpleEnumerator interface to new idl file. 99136, r=alecf@netscape.com sr=rpotts@netscape.com 2001-10-30 22:07:28 +00:00
dougt%netscape.com e03c679302 Moving nsISimpleEnumeratory interface into a seperate idl file. bug 99136. r=alecf@netscape.com, sr=rpotts@netscape.com 2001-10-30 22:03:05 +00:00
dbaron%fas.harvard.edu ec204b41e9 Replace static constructor of EmptyEnumeratorImpl with new/delete. b=68092 r=jag sr=waterson 2001-10-30 06:10:21 +00:00
dougt%netscape.com 1350d3f0cc not part of build 2001-10-30 02:11:57 +00:00
dougt%netscape.com 24ac2f3385 check for null. if the reference ever goes away, we crash 2001-10-27 03:06:09 +00:00
dougt%netscape.com 4ecfccb0ba fixes spelling error in interface comment 2001-10-26 00:11:18 +00:00
jst%netscape.com 71afc6ad07 Fixing blocker bug 106527 (as part of bug 69468), allow creation of atoms for empty strings but don't crash when creating atoms for strings that have no internal buffer. r=dbaron@netscape.com, sr=brendan@mozilla.org 2001-10-24 23:36:58 +00:00
dougt%netscape.com e625fb98e9 Fixes bug 106313 (smoketest blocker). Allowing notification of weak references, regression caused by my nsIObserverService landing. sr=alecf@netscape.com. 2001-10-24 18:02:46 +00:00
jst%netscape.com ec6e6aa5da Fixing bug 69468. Finally adding support for string nullness to XPConnect. r=jaggernaut@netscape.com, shaver@mozilla.org, sr=jband@netscape.com 2001-10-24 07:15:06 +00:00
dougt%netscape.com 91b4b36d52 backing out changes to 104172. r=ccarlen@netscape.com 2001-10-23 03:50:24 +00:00
dougt%netscape.com b5ba390898 Extraneous Symbol Removal. Patch by Jon Smirl jonsmirl@mediaone.net. r=dougt@netscape.com, sr=alecf@netscape.com. Bug 104172 , 104316 , 104420 , 104426 , 104461 , 104511 , 104527 2001-10-23 01:37:21 +00:00
dougt%netscape.com 0a62d4e8d5 99163 - removing nsObserverService.h includes. Also fixing 106090, extra methods on nsObserverService. r=shaver@mozilla.org, sr=jband@netscape.com 2001-10-22 22:01:27 +00:00
dbaron%fas.harvard.edu 2fe76cd2ac Reduce the performance cost of (threadsafely) refcounting many atoms by creating a second implementation of nsIAtom (derived from the first) that does not refcount and gets destroyed at XPCOM shutdown. Normal atoms are converted to permanent ones without loss of pointer identity when a permanent atom is requested and a normal one already exists. b=92141 r=waterson sr=brendan 2001-10-20 23:19:07 +00:00
dougt%netscape.com 5301a3ad28 fixed regression in mailnews caused by my last change. Need to support weak references both while adding AND while notifying... d'oh! a=pchen@netscape.com 2001-10-20 02:07:33 +00:00
dbaron%fas.harvard.edu fdb1639fd6 Fix build bustage from dougt's nsIObserver / nsIObserverService changes. b=99163 2001-10-19 23:28:44 +00:00
dougt%netscape.com 9772fcd8c9 Fixing build bustage. removing nsIObserverService.idl from MANIFEST 2001-10-19 22:26:37 +00:00
dougt%netscape.com d18d7e2b17 nsIObserver and nsIObserverService API freeze. r=rpotts@netscape.com, alecf@netscape.com. bug 99163 2001-10-19 20:52:59 +00:00
jband%netscape.com 91a3cddac1 Add support for loading typelibs from multiple directories and correctly tracking that in xpti.dat. Also speedup xpti.dat reading by getting rid of PR_sscanf. This fixes bug 104191 and bug 105042. r=ccarlen sr=jst. 2001-10-18 04:23:25 +00:00
brendan%mozilla.org eb9671e246 Add SetAlphaBounds, TABLE_SIZE, and MIN_ALPHA APIs (103990, r=dbaron, sr=waterson). 2001-10-16 05:40:27 +00:00