dbaron%fas.harvard.edu
7e821aaa94
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
...
git-svn-id: svn://10.0.0.236/trunk@124073 18797224-902f-48f8-a5cc-f745e15eee43
2002-06-26 03:38:55 +00:00
alecf%netscape.com
b39a907034
fix for bug 153754 - make nsPersistentProperties (and thus string bundles) use PLDHash, saving some 1100+ allocations at startup.
...
r=dougt, sr=dveditz
git-svn-id: svn://10.0.0.236/trunk@124062 18797224-902f-48f8-a5cc-f745e15eee43
2002-06-26 01:33:07 +00:00
dougt%netscape.com
dffd6e4f8a
Fixes 48888 - xpcom flat file backend. r=dp@netscape.com sr=waterson@netscape.com
...
git-svn-id: svn://10.0.0.236/trunk@123350 18797224-902f-48f8-a5cc-f745e15eee43
2002-06-14 21:33:05 +00:00
cbiesinger%web.de
6f7dc93da9
bug 115473 r=pavlov sr=brendan
...
Remove timer priorities
git-svn-id: svn://10.0.0.236/trunk@123068 18797224-902f-48f8-a5cc-f745e15eee43
2002-06-11 20:47:04 +00:00
dougt%netscape.com
fe86486377
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
...
git-svn-id: svn://10.0.0.236/trunk@123042 18797224-902f-48f8-a5cc-f745e15eee43
2002-06-11 19:26:04 +00:00
brendan%mozilla.org
13e8a43ab1
Ensure a live keyHash *after* multiplying by the irrational (146907, r=dbaron, sr=shaver).
...
git-svn-id: svn://10.0.0.236/trunk@122729 18797224-902f-48f8-a5cc-f745e15eee43
2002-06-05 00:47:38 +00:00
brendan%mozilla.org
859af084f0
Back out troublesome parts of patch for 130544 (147997, r/sr=me).
...
git-svn-id: svn://10.0.0.236/trunk@122318 18797224-902f-48f8-a5cc-f745e15eee43
2002-05-30 07:15:01 +00:00
brendan%mozilla.org
358ed6261c
Clean up nsICollection/nsSupportsArray {Append,Remove}Element return type (130544, r=dougt, sr=bienvenu).
...
git-svn-id: svn://10.0.0.236/trunk@122264 18797224-902f-48f8-a5cc-f745e15eee43
2002-05-29 18:08:37 +00:00
dougt%netscape.com
d6cc711878
Fixes mozilla/strings requiring unfrozen nsCRT class. patch by scc, r=dougt, sr=jag, b=136756
...
git-svn-id: svn://10.0.0.236/trunk@121534 18797224-902f-48f8-a5cc-f745e15eee43
2002-05-15 18:55:21 +00:00
dougt%netscape.com
9ab3a7e18a
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
...
git-svn-id: svn://10.0.0.236/trunk@119003 18797224-902f-48f8-a5cc-f745e15eee43
2002-04-15 22:39:43 +00:00
timeless%mac.com
a06236ee64
Bug 133657 nsISupportsVoid should have/use [noscript] attribute voidPtr data;
...
r=dougt sr=dveditz a=asa
git-svn-id: svn://10.0.0.236/trunk@118110 18797224-902f-48f8-a5cc-f745e15eee43
2002-04-04 12:28:22 +00:00
seawood%netscape.com
bfd788cd4d
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
git-svn-id: svn://10.0.0.236/trunk@117612 18797224-902f-48f8-a5cc-f745e15eee43
2002-03-27 06:02:39 +00:00
dbaron%fas.harvard.edu
772b5b8c58
Convert users of nsAReadable[C]String and nsAWritable[C]String typedefs to [const] nsA[C]String. b=131899 r=scc sr=jag a=asa
...
git-svn-id: svn://10.0.0.236/trunk@117354 18797224-902f-48f8-a5cc-f745e15eee43
2002-03-24 00:16:18 +00:00
jband%netscape.com
57faa09874
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
...
git-svn-id: svn://10.0.0.236/trunk@117098 18797224-902f-48f8-a5cc-f745e15eee43
2002-03-21 23:21:54 +00:00
timeless%mac.com
69ae314807
Bug 106386 rid source of misspellings
...
r=db48x sr=blake a=asa
git-svn-id: svn://10.0.0.236/trunk@116832 18797224-902f-48f8-a5cc-f745e15eee43
2002-03-19 04:30:17 +00:00
dougt%netscape.com
ed532ac856
DEBUG_dougt -> DEBUG_dougt_xxx. a=dbaron
...
git-svn-id: svn://10.0.0.236/trunk@116803 18797224-902f-48f8-a5cc-f745e15eee43
2002-03-18 23:40:36 +00:00
brendan%mozilla.org
45a2cddc1c
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).
...
git-svn-id: svn://10.0.0.236/trunk@116579 18797224-902f-48f8-a5cc-f745e15eee43
2002-03-14 21:55:08 +00:00
alecf%netscape.com
ef0e43220c
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
git-svn-id: svn://10.0.0.236/trunk@116408 18797224-902f-48f8-a5cc-f745e15eee43
2002-03-12 15:46:19 +00:00
attinasi%netscape.com
ef8e70811a
Added NS_COM to fix linkage problems. Thanks Chris S~!
...
git-svn-id: svn://10.0.0.236/trunk@116097 18797224-902f-48f8-a5cc-f745e15eee43
2002-03-07 22:38:41 +00:00
darin%netscape.com
04849998e1
fixes bug 124042 "support internationalized URIs" r=dougt, sr=alecf, a=asa
...
git-svn-id: svn://10.0.0.236/trunk@115936 18797224-902f-48f8-a5cc-f745e15eee43
2002-03-06 07:48:55 +00:00
timeless%mac.com
c6b3d5be1b
bug 114166 final cleanup for nsDeque ( comments + whitespace only )
...
r=akkana sr=darin a=asa
git-svn-id: svn://10.0.0.236/trunk@115921 18797224-902f-48f8-a5cc-f745e15eee43
2002-03-06 03:21:17 +00:00
nisheeth%netscape.com
9872daecf4
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.
...
git-svn-id: svn://10.0.0.236/trunk@115789 18797224-902f-48f8-a5cc-f745e15eee43
2002-03-05 02:22:02 +00:00
badami%netscape.com
4de1fca0c2
Leaking nsCStringKey objects
...
bug 73308 r=valeski sr=shaver a=brendan patch=tmutreja@netscape.com
git-svn-id: svn://10.0.0.236/trunk@115565 18797224-902f-48f8-a5cc-f745e15eee43
2002-03-01 09:28:55 +00:00
dp%netscape.com
c7d3cfd4eb
(again) bug 127941 Fixing leak of bucket memory; memset to 0 only if zeroit is
...
set. r=dougt, sr&a=shaver@mozilla.org
git-svn-id: svn://10.0.0.236/trunk@115531 18797224-902f-48f8-a5cc-f745e15eee43
2002-03-01 00:03:58 +00:00
dp%netscape.com
c2fbab4ccf
Backing out earlier change. Tree isn't open for checkin yet. Sorry.
...
git-svn-id: svn://10.0.0.236/trunk@115499 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-28 18:36:26 +00:00
dp%netscape.com
ad1315f3be
bug 127941 Fixing leak of bucket memory; memset to 0 only if zeroit is
...
set. r=dougt, sr&a=shaver@mozilla.org
git-svn-id: svn://10.0.0.236/trunk@115498 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-28 18:30:48 +00:00
cathleen%netscape.com
cc630ddcfb
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
...
git-svn-id: svn://10.0.0.236/trunk@115474 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-28 05:23:40 +00:00
cathleen%netscape.com
102fd63c1f
eliminate nsCRT::strlen for char* strings (final part), bug 124536 r=dp sr=brendan a=roc+moz
...
git-svn-id: svn://10.0.0.236/trunk@115468 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-28 04:11:37 +00:00
dougt%netscape.com
ffacd7bc78
Adding build SDK support. r=dougt, sr=alecf, submitted by seawood, a=asa
...
git-svn-id: svn://10.0.0.236/trunk@115326 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-25 23:20:01 +00:00
brendan%mozilla.org
1dd9667d80
Sync these mirrored sources with their primaries at js/src/jsdhash.[ch] (see bug 62164, r=shaver, sr=jband).
...
git-svn-id: svn://10.0.0.236/trunk@115275 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-23 10:04:29 +00:00
cathleen%netscape.com
6a0e426e6c
eliminate nsCRT::strlen for char* strings (part 5), bug 124536 r=dp sr=brendan
...
git-svn-id: svn://10.0.0.236/trunk@115070 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-20 06:38:38 +00:00
jkeiser%netscape.com
949db40184
C++ wrapper for PLDHashTable (bug 125489), r=alecf@netscape.com, sr=brendan@mozilla.org
...
git-svn-id: svn://10.0.0.236/trunk@115063 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-20 06:08:53 +00:00
timeless%mac.com
29beedeb0d
Bug 114166 rewrite nsDeque
...
r=akkana sr=alecf
rs=alecf for TestDeque.cpp
git-svn-id: svn://10.0.0.236/trunk@115007 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-20 03:08:32 +00:00
dp%netscape.com
a5ce086c1e
bug 125641 Adding id r=dougt sr=sfraser
...
git-svn-id: svn://10.0.0.236/trunk@114823 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-18 22:59:58 +00:00
alecf%netscape.com
057eaef9e2
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
git-svn-id: svn://10.0.0.236/trunk@114820 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-18 22:57:47 +00:00
bryner%netscape.com
dab926fb61
Fixing a compiler warning (bug 125949). r=bzbarsky, sr=alecf.
...
git-svn-id: svn://10.0.0.236/trunk@114813 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-18 22:42:37 +00:00
mozilla.BenB%bucksch.org
a72534e093
125881: Has() must return true for existing properties (the key exists), which
...
have a 0 value.
r=dougt, sr=jband
git-svn-id: svn://10.0.0.236/trunk@114726 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-17 10:11:25 +00:00
dbaron%fas.harvard.edu
6f3d0f1b34
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
...
git-svn-id: svn://10.0.0.236/trunk@114701 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-16 19:50:32 +00:00
dbaron%fas.harvard.edu
ac6b721449
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
...
git-svn-id: svn://10.0.0.236/trunk@114693 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-16 16:18:13 +00:00
ducarroz%netscape.com
a4083ed36b
Fix bustage (again).
...
git-svn-id: svn://10.0.0.236/trunk@114255 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-12 05:17:18 +00:00
ducarroz%netscape.com
ab1766e393
Fix bustage on Unix system.
...
git-svn-id: svn://10.0.0.236/trunk@114250 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-12 04:34:36 +00:00
ducarroz%netscape.com
8acba62b90
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
...
git-svn-id: svn://10.0.0.236/trunk@114244 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-12 03:57:39 +00:00
dp%netscape.com
3e795945ae
bug 123988 Optimizing timers out when there are no allocations held r=dougt,sr=sfraser
...
git-svn-id: svn://10.0.0.236/trunk@114076 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-08 22:50:40 +00:00
cathleen%netscape.com
184587ade7
eliminate 24 callers to nsCRT::memmove to use memmove from libC instead. removed nsCRT::memove() bug 118135 r=dp sr=brendan
...
git-svn-id: svn://10.0.0.236/trunk@113965 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-08 01:11:33 +00:00
racham%netscape.com
f17221e5ab
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
...
git-svn-id: svn://10.0.0.236/trunk@113693 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-05 08:35:28 +00:00
cathleen%netscape.com
ec77313291
eliminates 107 nsCRT::memset calls to use memset instead. removed nsCRT::memset() function. bug 118135 r=dp sr=brendan
...
git-svn-id: svn://10.0.0.236/trunk@113659 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-05 01:41:13 +00:00
bryner%netscape.com
632ac8da85
Fixing some warnings in xpcom. Bug 118377, r=hwaara, sr=shaver.
...
git-svn-id: svn://10.0.0.236/trunk@113571 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-03 07:05:10 +00:00
cathleen%netscape.com
dd8ebc5bd1
eliminate nsCRT::zero() to use memset to zero instead, bug 118135, r=dp sr=waterson
...
git-svn-id: svn://10.0.0.236/trunk@113183 18797224-902f-48f8-a5cc-f745e15eee43
2002-01-30 02:55:57 +00:00
cathleen%netscape.com
3ae7a2346b
eliminate nsCRT::memcmp and all callers to use memcmp instead, bug 118135 r=dp sr=brendan
...
git-svn-id: svn://10.0.0.236/trunk@113144 18797224-902f-48f8-a5cc-f745e15eee43
2002-01-29 21:30:32 +00:00
dougt%netscape.com
011f9b10e5
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
git-svn-id: svn://10.0.0.236/trunk@113143 18797224-902f-48f8-a5cc-f745e15eee43
2002-01-29 21:22:13 +00:00