Commit Graph

182 Commits

Author SHA1 Message Date
bsmedberg%covad.net
06d0e4ec39 Bug 288626 - Begin switch from MOZILLA_STRICT_API to MOZILLA_INTERNAL_API rs=darin for the Makefile var additions. Should not affect the build yet, until we flip a few switches at the end.
git-svn-id: svn://10.0.0.236/trunk@171465 18797224-902f-48f8-a5cc-f745e15eee43
2005-04-01 18:22:57 +00:00
bzbarsky%mit.edu
af7c69e56c Relanding, since backing out did not fix orange. Bug 232691.
git-svn-id: svn://10.0.0.236/trunk@156781 18797224-902f-48f8-a5cc-f745e15eee43
2004-05-22 20:02:43 +00:00
bzbarsky%mit.edu
987b0c8dfc Test backout to maybe fix mac orange. Bug 232691
git-svn-id: svn://10.0.0.236/trunk@156774 18797224-902f-48f8-a5cc-f745e15eee43
2004-05-22 18:49:53 +00:00
bzbarsky%mit.edu
b500ffc684 Convert users of nsC?String(), nsC?AutoString(), and NS_LITERAL_C?STRING("") to
using EmptyC?String instead.  Bug 232691, patch by Charles Fenwick
<clf03f@garnet.acns.fsu.edu>, r+sr=bzbarsky


git-svn-id: svn://10.0.0.236/trunk@156769 18797224-902f-48f8-a5cc-f745e15eee43
2004-05-22 17:04:53 +00:00
darin%meer.net
79e8e5c0f9 fixes bug 241155 "Support multiple 'components' directories" r=bsmedberg moa=dougt
git-svn-id: svn://10.0.0.236/trunk@156056 18797224-902f-48f8-a5cc-f745e15eee43
2004-05-07 00:50:53 +00:00
gerv%gerv.net
210853d71e Bug 236613: change to MPL/LGPL/GPL tri-license.
git-svn-id: svn://10.0.0.236/trunk@155067 18797224-902f-48f8-a5cc-f745e15eee43
2004-04-18 14:21:17 +00:00
bryner%brianryner.com
b5ccad4460 Bug 229875 - eliminate unnecssary public/virtual destructors. This patch changes all refcounted classes under xpcom/, which aren't inherited from or used on the stack, to have private, nonvirtual destructors. r=dougt, sr=dbaron.
git-svn-id: svn://10.0.0.236/trunk@151359 18797224-902f-48f8-a5cc-f745e15eee43
2004-01-15 06:14:18 +00:00
bryner%brianryner.com
c81aa21722 Fix build on gcc 3.4 by removing extra semicolons (bug 218551). r/sr=dbaron, a=brendan.
git-svn-id: svn://10.0.0.236/trunk@146626 18797224-902f-48f8-a5cc-f745e15eee43
2003-09-08 00:31:50 +00:00
timeless%mozdev.org
178414bdfa Bug 203356 In method xptiInterfaceInfoManager::AddOnlyNewFilesFromFileList' warning: unused variable PRUint32 countOfFilesInWorkingSet
r=dougt


git-svn-id: svn://10.0.0.236/trunk@142837 18797224-902f-48f8-a5cc-f745e15eee43
2003-05-23 21:50:06 +00:00
ccarlen%netscape.com
8a64538c4b Bug 164396 - Change internal representation of file from FSRef to CFURL, reducing conversions between path and FSRef and fixing other bugs. 2nd checkin of this after testing on other Tinderboxen showed Ts improvement. r=sdagley/sr=sfraser
git-svn-id: svn://10.0.0.236/trunk@141381 18797224-902f-48f8-a5cc-f745e15eee43
2003-04-18 13:50:38 +00:00
alecf%netscape.com
8d4f1935a6 fix for bug 195298 - pldhash ops tables should be const.. r=dougt, sr=sfraser
git-svn-id: svn://10.0.0.236/trunk@140696 18797224-902f-48f8-a5cc-f745e15eee43
2003-04-04 15:10:37 +00:00
ccarlen%netscape.com
b48a83b1bd Backing out due to huge Ts increase
git-svn-id: svn://10.0.0.236/trunk@139829 18797224-902f-48f8-a5cc-f745e15eee43
2003-03-20 08:45:50 +00:00
ccarlen%netscape.com
b2784602b3 Bug 164396 - [OS X]Reduce conversions between path and FSRef. Changes internal representation to not use FSRef which should fix various bugs. r=sdagley/sr=sfraser
git-svn-id: svn://10.0.0.236/trunk@139825 18797224-902f-48f8-a5cc-f745e15eee43
2003-03-20 06:05:03 +00:00
sfraser%netscape.com
33ff940403 Fix bad error handling (PRBool vs. nsresult mixup). Bug 197739. r=dbradley, sr=jst
git-svn-id: svn://10.0.0.236/trunk@139627 18797224-902f-48f8-a5cc-f745e15eee43
2003-03-17 23:32:41 +00:00
dougt%netscape.com
928f8738d9 Converting the file location of the component registry and the xpti manifest file to use the directory service. r=darin, b=191055
git-svn-id: svn://10.0.0.236/trunk@139289 18797224-902f-48f8-a5cc-f745e15eee43
2003-03-11 21:36:59 +00:00
dougt%netscape.com
cd7e661a2c backing this out AGAIN
git-svn-id: svn://10.0.0.236/trunk@139040 18797224-902f-48f8-a5cc-f745e15eee43
2003-03-06 19:59:31 +00:00
dougt%netscape.com
cb6a072f4e follow up landing of 193442. This fixes the strcmp logic error we has when checking for the gre string r=dbradley, alecf, darin
git-svn-id: svn://10.0.0.236/trunk@139025 18797224-902f-48f8-a5cc-f745e15eee43
2003-03-06 17:41:01 +00:00
tor%cs.brown.edu
c4dd047dc5 Backout of 193442/191415. a=brade,dougt
git-svn-id: svn://10.0.0.236/trunk@138808 18797224-902f-48f8-a5cc-f745e15eee43
2003-03-03 21:00:07 +00:00
dougt%netscape.com
555ccf142c Add experimental support to the native component loader so that native components can declare what libraries it depends on. (193442) Storing the GRE location in a relative way so that we can change GRE versions between launches assuming that they are compatible (191415). Fixed a bug where we didn't check return from GetLastModification in nsDll::HasChanged. Thank you ajschult@eos.ncsu.edu for pointing out the problem and suggesting a fix. Converted a linear search of compreg entries to be a hash lookup. Also cleaned up the xcdll class. Reviewers= Alec, Darin.
git-svn-id: svn://10.0.0.236/trunk@138725 18797224-902f-48f8-a5cc-f745e15eee43
2003-02-28 21:30:35 +00:00
nisheeth%netscape.com
9e0b285c05 Ongoing work for bug 182366. Use machine learning techniques to sort autocomplete results. r=heikki. sr=hewitt.
git-svn-id: svn://10.0.0.236/trunk@136262 18797224-902f-48f8-a5cc-f745e15eee43
2003-01-13 22:23:41 +00:00
dbaron%dbaron.org
6ed727cbe8 Bug 178643: Remove uses of NS_INIT_ISUPPORTS, since it is no longer needed. r=timeless sr=jag
git-svn-id: svn://10.0.0.236/trunk@136028 18797224-902f-48f8-a5cc-f745e15eee43
2003-01-08 23:19:20 +00:00
seawood%netscape.com
0a7c7a98f9 nobrainer changes while thinking about mingw support
Bug #134113 r=dmose


git-svn-id: svn://10.0.0.236/trunk@135809 18797224-902f-48f8-a5cc-f745e15eee43
2003-01-03 08:58:59 +00:00
alecf%netscape.com
d057a740e1 first part of fix for bug 180965 - if the GRE directory is the same as the normal components directory, then dont enumerate it twice.
r=dougt, sr=darin


git-svn-id: svn://10.0.0.236/trunk@134145 18797224-902f-48f8-a5cc-f745e15eee43
2002-11-20 01:19:37 +00:00
ccarlen%netscape.com
80957cfc91 Bug 173311 - RealPlayer One 9.0b2 plugin causes crash at startup for Mach-0 build because of symlink (alias) handling problems. r=bnesse/sr=sfraser/a=dbaron
git-svn-id: svn://10.0.0.236/trunk@132820 18797224-902f-48f8-a5cc-f745e15eee43
2002-11-01 15:45:38 +00:00
seawood%netscape.com
f9eb727003 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


git-svn-id: svn://10.0.0.236/trunk@132136 18797224-902f-48f8-a5cc-f745e15eee43
2002-10-17 06:47:01 +00:00
chak%netscape.com
98ed7836a1 Fix for #168255 - Change references to MRE into GRE in XPCOM/Embedding
r=dougt, sr=alecf


git-svn-id: svn://10.0.0.236/trunk@129568 18797224-902f-48f8-a5cc-f745e15eee43
2002-09-13 22:18:43 +00:00
dougt%netscape.com
e289284076 166917. Clean up xpcom SDK includes. r=rpotts@netscape.com, sr=alecf@netscape.com, a=rjesup@wgate.com
git-svn-id: svn://10.0.0.236/trunk@129050 18797224-902f-48f8-a5cc-f745e15eee43
2002-09-07 17:13:19 +00:00
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
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
dougt%netscape.com
6f96a337a9 MRE based clients crash when the components dir not present, r=chak, sr=alec, b=160404
git-svn-id: svn://10.0.0.236/trunk@126874 18797224-902f-48f8-a5cc-f745e15eee43
2002-08-09 04:31:58 +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
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
chak%netscape.com
017113fab2 Fix for #130877 - Chnages to create app specific component registries
r=dougt, sr=shaver, a=drivers


git-svn-id: svn://10.0.0.236/trunk@123064 18797224-902f-48f8-a5cc-f745e15eee43
2002-06-11 20:38:01 +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
darin%netscape.com
24feadaaed fixes bug 142870 "nsIFile should use UCS-2 instead of UTF-8"
r=dougt sr=alecf


git-svn-id: svn://10.0.0.236/trunk@121010 18797224-902f-48f8-a5cc-f745e15eee43
2002-05-07 23:07:19 +00:00
darin%netscape.com
824def02af fixes bug 129279 "nsIFile unicode/utf8/ascii task"
r=dougt sr=alecf


git-svn-id: svn://10.0.0.236/trunk@120092 18797224-902f-48f8-a5cc-f745e15eee43
2002-04-27 05:33:09 +00:00
dougt%netscape.com
f3bfcc05e3 Fix for 139512. GPF During Installation in Regxpcom during install. patch by jband, r=dougt, sr=shaver
git-svn-id: svn://10.0.0.236/trunk@119649 18797224-902f-48f8-a5cc-f745e15eee43
2002-04-23 23:55:49 +00:00
alecf%netscape.com
14a29f77b9 fix for bug 107289 sr=jband, r=dougt, a=asa
remove libjar dependency from xpcom
step 2: make xptinfo use the new nsIXPTLoader interface


git-svn-id: svn://10.0.0.236/trunk@118148 18797224-902f-48f8-a5cc-f745e15eee43
2002-04-04 22:24:50 +00:00
dbradley%netscape.com
4c972e2fbe Bug 119382 - attribute nsIIDPtr IID considered harmful - This patch makes it an error to declare an attribute named IID or a method named getIID. r=jband, sr=jst
git-svn-id: svn://10.0.0.236/trunk@114932 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-19 14:48:00 +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
jband%netscape.com
5518ba6525 Add support for chaining 'additional managers' to the global interface info manager. This includes weakref support. This system allows us to dynamically aggregate interface info managers to support systems like SOAP. Clients of the interface info manager can traverse that list of additonal managers (if any are present) or ignore it. This fixes bug 103805. r=dbradley sr=vidur.
git-svn-id: svn://10.0.0.236/trunk@113546 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-03 00:56:16 +00:00
jband%netscape.com
07ee695610 fix bug 121118. Don't crash if interfaceinfo is not resolvable at runtime. r=dbradley sr=brendan
git-svn-id: svn://10.0.0.236/trunk@113179 18797224-902f-48f8-a5cc-f745e15eee43
2002-01-30 02:36:20 +00:00
jband%netscape.com
d024232d2d fix bug 119387. Add a non-allocating IID version of the frequently used getIIDForParam method. r=dbradley sr=jst
git-svn-id: svn://10.0.0.236/trunk@112081 18797224-902f-48f8-a5cc-f745e15eee43
2002-01-14 20:02:14 +00:00
jband%netscape.com
c3ba209a21 Fix bug 114115. Reduce long lived allocations by refactoring to hold main interface info structs in arena and buil refcounted info objects on demand (though cached for reuse) r=dbradley sr=jst
git-svn-id: svn://10.0.0.236/trunk@111887 18797224-902f-48f8-a5cc-f745e15eee43
2002-01-10 23:49:47 +00:00
seawood%netscape.com
88b23adbf4 Add win32 support to xpcom Makefile.ins
Bug #58981 r=bryner


git-svn-id: svn://10.0.0.236/trunk@110113 18797224-902f-48f8-a5cc-f745e15eee43
2001-12-09 07:05:12 +00:00
mkaply%us.ibm.com
9990130236 PR_FALSE NOT false
git-svn-id: svn://10.0.0.236/trunk@110079 18797224-902f-48f8-a5cc-f745e15eee43
2001-12-08 11:01:12 +00:00
mkaply%us.ibm.com
2736fa8c17 PR_FALSE NOT false
git-svn-id: svn://10.0.0.236/trunk@110071 18797224-902f-48f8-a5cc-f745e15eee43
2001-12-08 04:05:58 +00:00
sfraser%netscape.com
5e6a880abd Fix bug 113714 -- optimized mac builds would sporadically autoregister XPT files on startup, because doing a string compare of persistent descriptor strings is not a valid way to compare them (Mac aliases to the same file can differ). r=ccarlen, sr=jband
git-svn-id: svn://10.0.0.236/trunk@110044 18797224-902f-48f8-a5cc-f745e15eee43
2001-12-07 23:52:52 +00:00
waterson%netscape.com
a6396f40ca Bug 11079. xptinfo shouldn't be an EXPORT_LIBRARY, or else it will end up both in the statically linked exectuable _and_ libxpcom.so. r=cls
git-svn-id: svn://10.0.0.236/trunk@109274 18797224-902f-48f8-a5cc-f745e15eee43
2001-11-29 23:50:56 +00:00
timeless%mac.com
535b6f20f2 Bugzilla Bug 107823 change nsIFile
to use 'Modified' instead of 'Modification'
r=akkana sr=brendan


git-svn-id: svn://10.0.0.236/trunk@108891 18797224-902f-48f8-a5cc-f745e15eee43
2001-11-26 08:05:05 +00:00