1196 Commits

Author SHA1 Message Date
alecf%netscape.com
11549d59fc 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


git-svn-id: svn://10.0.0.236/trunk@128267 18797224-902f-48f8-a5cc-f745e15eee43
2002-08-27 18:32:12 +00:00
dougt%netscape.com
57028338f0 exports frozen interface to dist/sdk using new SDK variable. 164717. r=cls, sr=alec
git-svn-id: svn://10.0.0.236/trunk@128192 18797224-902f-48f8-a5cc-f745e15eee43
2002-08-27 01:05:21 +00:00
alecf%netscape.com
e3b2da9c83 bug 157624 - freeze nsISupportsPrimitives, which includes changing nsISupport[C]String over to using A[C]String and fixing consumers
r=dougt, sr=darin


git-svn-id: svn://10.0.0.236/trunk@128163 18797224-902f-48f8-a5cc-f745e15eee43
2002-08-26 21:20:34 +00:00
dougt%netscape.com
0f22b205af Freezes the nsIProperties interface. 162114. r=ccarlen, sr=alecf. Freezes the mozIJSSubScriptLoader interface. 157136. r=rginda, sr=alec.
git-svn-id: svn://10.0.0.236/trunk@128150 18797224-902f-48f8-a5cc-f745e15eee43
2002-08-26 20:36:44 +00:00
shanjian%netscape.com
2d279e0043 #41425 UTF-8 converter gets surrogates wrong
correct unicode upper boundary
r=ftang, sr=blizzard


git-svn-id: svn://10.0.0.236/trunk@128147 18797224-902f-48f8-a5cc-f745e15eee43
2002-08-26 20:32:13 +00:00
bryner%netscape.com
79c62ac5b7 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.
git-svn-id: svn://10.0.0.236/trunk@127585 18797224-902f-48f8-a5cc-f745e15eee43
2002-08-19 03:50:27 +00:00
dbaron%fas.harvard.edu
83790ad136 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
git-svn-id: svn://10.0.0.236/trunk@127255 18797224-902f-48f8-a5cc-f745e15eee43
2002-08-14 12:47:18 +00:00
seawood%netscape.com
823af36499 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.


git-svn-id: svn://10.0.0.236/trunk@127074 18797224-902f-48f8-a5cc-f745e15eee43
2002-08-12 13:35:18 +00:00
dbaron%fas.harvard.edu
1d5a2619c2 Remove unneeded checks due to unsigned parameters. b=156908 r=dougt sr=darin
git-svn-id: svn://10.0.0.236/trunk@127037 18797224-902f-48f8-a5cc-f745e15eee43
2002-08-11 18:02:59 +00:00
seawood%netscape.com
0b3ff474f3 Removing old nmake build makefiles. Bug #158528 r=pavlov
git-svn-id: svn://10.0.0.236/trunk@126975 18797224-902f-48f8-a5cc-f745e15eee43
2002-08-10 07:55:43 +00:00
brendan%mozilla.org
9abeb299b8 Fix a macro name (LIMIT, not MAX -- fencepost, not maximum value; r=lumpy, sr=jack).
git-svn-id: svn://10.0.0.236/trunk@126682 18797224-902f-48f8-a5cc-f745e15eee43
2002-08-07 20:22:38 +00:00
jkeiser%netscape.com
7bdfb971a7 Add generalized macro-based PLDHashTable C++ wrapper (bug 125849), r=alecf, sr=brendan
git-svn-id: svn://10.0.0.236/trunk@126427 18797224-902f-48f8-a5cc-f745e15eee43
2002-08-06 04:15:10 +00:00
alecf%netscape.com
573e11653f bug 157624 - prep for freezing nsISupports* primitives by renaming the string classes appropriately
nsISupportsString  -> nsISupportsCString
nsISupportsWString -> nsISupportsString
r=dougt, sr=jag


git-svn-id: svn://10.0.0.236/trunk@126389 18797224-902f-48f8-a5cc-f745e15eee43
2002-08-06 00:53:19 +00:00
bryner%netscape.com
44791394dd Remove obsolete NS_BASE and _IMPL_NS_BASE, and unused/obsolete source files nsStdFileStream.* (bug 160052). r=cls, sr=alecf, a=asa.
git-svn-id: svn://10.0.0.236/trunk@126082 18797224-902f-48f8-a5cc-f745e15eee43
2002-07-30 21:30:05 +00:00
ccarlen%netscape.com
8854b4295f Bug 149785 - nsHashTable hides important functionality of PLHashTable. r=brendan@mozilla.org/sr=alecf/a=brendan
git-svn-id: svn://10.0.0.236/trunk@126022 18797224-902f-48f8-a5cc-f745e15eee43
2002-07-29 22:48:15 +00:00
dougt%netscape.com
7383c167c4 nsICollection's nsQueryElementAt class is exported. r=darin, sr=alec, a=asa, b=158931
git-svn-id: svn://10.0.0.236/trunk@125798 18797224-902f-48f8-a5cc-f745e15eee43
2002-07-25 20:12:18 +00:00
dp%netscape.com
5b33744d9b bug 156320 Acquire lock before checking not-used-list (not
after). Fixing topcrash. r=dbaron


git-svn-id: svn://10.0.0.236/trunk@124843 18797224-902f-48f8-a5cc-f745e15eee43
2002-07-09 13:48:03 +00:00
seawood%netscape.com
08f53dff2a The c++ standard requires that the throw list be used when declaring functions as well as defining them.
commercial compiler fixes for bug #149032


git-svn-id: svn://10.0.0.236/trunk@124604 18797224-902f-48f8-a5cc-f745e15eee43
2002-07-03 17:14:41 +00:00
dp%netscape.com
ed288aa832 Trying to fix Irix and HPUX bustage. Defining CPP_THROW_NEW at point
of declaration too.


git-svn-id: svn://10.0.0.236/trunk@124547 18797224-902f-48f8-a5cc-f745e15eee43
2002-07-02 22:38:16 +00:00
seawood%netscape.com
a7c7e77b8b 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


git-svn-id: svn://10.0.0.236/trunk@124526 18797224-902f-48f8-a5cc-f745e15eee43
2002-07-02 20:25:30 +00:00
dp%netscape.com
e5438144fe bug 146532 Making Init() non-virtual (thanks dbaron for suggestion)
git-svn-id: svn://10.0.0.236/trunk@124516 18797224-902f-48f8-a5cc-f745e15eee43
2002-07-02 18:11:53 +00:00
dbaron%fas.harvard.edu
f3b021ab55 Attempt to fix BeOS bustage. b=148046
git-svn-id: svn://10.0.0.236/trunk@124470 18797224-902f-48f8-a5cc-f745e15eee43
2002-07-02 04:07:20 +00:00
dbaron%fas.harvard.edu
155ff91722 Attempt to fix Sun WorkShop bustage. b=146532
git-svn-id: svn://10.0.0.236/trunk@124466 18797224-902f-48f8-a5cc-f745e15eee43
2002-07-02 03:43:33 +00:00
dbaron%fas.harvard.edu
9dca0f7ac7 Attempt to fix HP-UX and OS/2 bustage. b=146532
git-svn-id: svn://10.0.0.236/trunk@124465 18797224-902f-48f8-a5cc-f745e15eee43
2002-07-02 03:42:11 +00:00
mkaply%us.ibm.com
5a9c285acb Fix Os/2 bustage for now - I've no idea why. I need to build a testcase
git-svn-id: svn://10.0.0.236/trunk@124464 18797224-902f-48f8-a5cc-f745e15eee43
2002-07-02 03:34:12 +00:00
dp%netscape.com
800aebd000 bug 146532 Improving recycling allocator
- Uses freelist
- 1 int overhead to store size
- nsIMemory wrapping
r=dougt, sr=darin


git-svn-id: svn://10.0.0.236/trunk@124443 18797224-902f-48f8-a5cc-f745e15eee43
2002-07-01 23:36:03 +00:00
alecf%netscape.com
d8f4cf294a cleanup after the first fix for bug 154275 - handle errors better and get rid of mCount entirely
sr=jst, r=peterv


git-svn-id: svn://10.0.0.236/trunk@124109 18797224-902f-48f8-a5cc-f745e15eee43
2002-06-26 19:36:24 +00:00
alecf%netscape.com
2a546013ba bug 154280 - remove unimplemented operators from nsISupportsArray
r=dougt, sr=dveditz


git-svn-id: svn://10.0.0.236/trunk@124076 18797224-902f-48f8-a5cc-f745e15eee43
2002-06-26 03:48:08 +00:00
alecf%netscape.com
8a015a6cb7 make nsStaticNameTable use PLDHash rather than nsHashtable, to reduce startup allocations from 1315 to 2
r=dougt, sr=dveditz
bug 154275


git-svn-id: svn://10.0.0.236/trunk@124075 18797224-902f-48f8-a5cc-f745e15eee43
2002-06-26 03:46:39 +00:00
alecf%netscape.com
1a0216d3f1 ack! fix check of entries to use PL_DHASH_ENTRY_IS_FREE() from my previous checkin to prevent tree closure tomorrow!
git-svn-id: svn://10.0.0.236/trunk@124074 18797224-902f-48f8-a5cc-f745e15eee43
2002-06-26 03:43:43 +00:00
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