79 Commits

Author SHA1 Message Date
bsmedberg%covad.net
b0741b74a7 Bug 298044 - Dynamically load XPCOM dependent libs as part of the XPCOM standalone glue bootstrap process, r=darin a=asa
git-svn-id: svn://10.0.0.236/trunk@176104 18797224-902f-48f8-a5cc-f745e15eee43
2005-07-14 18:42:59 +00:00
roc+%cs.cmu.edu
0b0fa89131 Bug 226439. Convert codebase to use AppendLiteral/AssignLiteral/LowerCaseEqualsLiteral. r+sr=darin
git-svn-id: svn://10.0.0.236/trunk@157992 18797224-902f-48f8-a5cc-f745e15eee43
2004-06-17 00:13:25 +00:00
darin%meer.net
16d2672405 landing patch for bug 243169 "nsStaticComponent.h should be standalone friendly" patch by marco@gnome.org r=darin sr=dougt
git-svn-id: svn://10.0.0.236/trunk@156515 18797224-902f-48f8-a5cc-f745e15eee43
2004-05-18 05:39:45 +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
dougt%meer.net
6dfc67684a Fix for 205023. Adds nsTraceRefcnt stubs that access a global to allow tracing refcnt to work with the GRE/xpcom glue builds. r=dbaron
git-svn-id: svn://10.0.0.236/trunk@145587 18797224-902f-48f8-a5cc-f745e15eee43
2003-08-05 05:29:10 +00:00
dougt%meer.net
7cd096195a fixing bustage
git-svn-id: svn://10.0.0.236/trunk@142870 18797224-902f-48f8-a5cc-f745e15eee43
2003-05-23 22:38:41 +00:00
dougt%meer.net
219c826785 removing dynamically allocated hashtable in xpcom where possible. r=alecf, b=204634
git-svn-id: svn://10.0.0.236/trunk@142864 18797224-902f-48f8-a5cc-f745e15eee43
2003-05-23 22:23:10 +00:00
timeless%mozdev.org
73b4b6518b Bug 206287 things Will be re-ordered to match declaration order
r=roc+moz sr=roc+moz a=roc+moz


git-svn-id: svn://10.0.0.236/trunk@142636 18797224-902f-48f8-a5cc-f745e15eee43
2003-05-20 02:02:56 +00:00
dougt%meer.net
51658eb14b disabling unloading of dependent libraries on HPUX. On tihs and possibly other platforms there is no reference count on dso's. This means that when unload is called, the libraries is actually unloaded causing a crash. b=204804, r=blizzard
git-svn-id: svn://10.0.0.236/trunk@142544 18797224-902f-48f8-a5cc-f745e15eee43
2003-05-16 13:24:55 +00:00
dougt%meer.net
6054d2e34d Backing out dependent library loading on windows. Fixes 204676.
git-svn-id: svn://10.0.0.236/trunk@142185 18797224-902f-48f8-a5cc-f745e15eee43
2003-05-07 18:39:47 +00:00
dougt%meer.net
9ced948c20 Missed this checkin when I landed. It is required to prevent a hang. I am also disabling some DEBUG_dougt code. r=darin, a=seth, bug=193442
git-svn-id: svn://10.0.0.236/trunk@142115 18797224-902f-48f8-a5cc-f745e15eee43
2003-05-05 06:06:57 +00:00
dougt%meer.net
a407117851 Adding a dependent_libs cache. b=193442, r=darin, a=seth
git-svn-id: svn://10.0.0.236/trunk@142087 18797224-902f-48f8-a5cc-f745e15eee43
2003-05-03 00:54:20 +00:00
dougt%netscape.com
4153606096 removing status and registry locations from xcdll. These two members are not being used. r=alecf. b=200722
git-svn-id: svn://10.0.0.236/trunk@140851 18797224-902f-48f8-a5cc-f745e15eee43
2003-04-08 20:29:43 +00:00
cls%seawood.org
609a196b54 XP code changes required for mingw landing.
Add NS_STDCALL macros for functions that require stdcall declarations.
Add NS_STDCALL_FUNCPROTO macro for stdcall function prototype typedefs.
Bug #134113 r=dougt sr=dbaron


git-svn-id: svn://10.0.0.236/trunk@139083 18797224-902f-48f8-a5cc-f745e15eee43
2003-03-07 06:07:56 +00:00
dougt%netscape.com
265d430432 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.
git-svn-id: svn://10.0.0.236/trunk@138914 18797224-902f-48f8-a5cc-f745e15eee43
2003-03-05 03:22:12 +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
brade%netscape.com
3b200d48b4 change ifdefs per cathleen, sfraser, bryner (bug 195654)
git-svn-id: svn://10.0.0.236/trunk@138805 18797224-902f-48f8-a5cc-f745e15eee43
2003-03-03 19:06:31 +00:00
dougt%netscape.com
ffaba2352d Reverting mAutoRegEntries hashtable change. I believe it was responsible for the bulk of the 200ms spike. b=195494.
git-svn-id: svn://10.0.0.236/trunk@138784 18797224-902f-48f8-a5cc-f745e15eee43
2003-03-03 01:19:58 +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
dougt%netscape.com
3aebd6125f 151604 - XPCOM Glue standalone stupport of dynamically loading symbols. r=dp/rpotts sr=alecf
git-svn-id: svn://10.0.0.236/trunk@123802 18797224-902f-48f8-a5cc-f745e15eee43
2002-06-21 19:58:54 +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
dougt%netscape.com
12a170e07e synchronizing component registration output with xpcom shutdown. b=138667 r=jband sr=shaver
git-svn-id: svn://10.0.0.236/trunk@121337 18797224-902f-48f8-a5cc-f745e15eee43
2002-05-11 21:15:06 +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
alecf%netscape.com
f7ee18f044 one more part of fix for bug 107575, including the much coveted whitespace
remove aIgnoreCase parameter from all nsString and nsCString consumers
sr=jag, r=shaver


git-svn-id: svn://10.0.0.236/trunk@113390 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-01 01:53:09 +00:00
dougt%netscape.com
d383a669af Cleanup of nsIModule. See 99154. r=dp@netscape.com, sr=jband@netscape.com
git-svn-id: svn://10.0.0.236/trunk@112613 18797224-902f-48f8-a5cc-f745e15eee43
2002-01-24 01:29:40 +00:00
dougt%netscape.com
c01e94cad7 nsIComponentManager API Changes (bug 98553)
a) create a new nsIComponentManager with only four functions on it:
CreateInstance CreateInstanceByContractID GetClassInfo GetClassInfoByContractID.

b) rename the old nsIComponentManager to nsIComponentManagerObsolete.

c) fixes callers which use to access the nsIComponentManager for component
registration functionality.  These callers will temporary use the
nsIComponentManagerObsolete interface.

d) Create a new API NS_GetComponentManager() which mirrors the
NS_GetServiceManager()

e) Perserves the old NS_GetGlobalComponentManager().  Note the cast usage.

r/sr = rpotts@netscape.com  alecf@netscape.com  brendan@mozilla.org


git-svn-id: svn://10.0.0.236/trunk@110748 18797224-902f-48f8-a5cc-f745e15eee43
2001-12-19 00:12:41 +00:00
dbaron%fas.harvard.edu
29e7322c52 Make XPCOM_BREAK_ON_LOAD work on mach-o build. b=111519 r=beard sr=sfraser
git-svn-id: svn://10.0.0.236/trunk@109098 18797224-902f-48f8-a5cc-f745e15eee43
2001-11-28 03:52:34 +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
pete%alphanumerica.com
3c4492f3e0 b=107823, r=ccarlen, sr=brendan
--pete


git-svn-id: svn://10.0.0.236/trunk@106886 18797224-902f-48f8-a5cc-f745e15eee43
2001-11-01 00:11:15 +00:00
gerv%gerv.net
13afb6d0f9 Relicensing Round 1, Take 2. Most C-like NPL files -> NPL/GPL/LGPL. Bug 98089.
git-svn-id: svn://10.0.0.236/trunk@104119 18797224-902f-48f8-a5cc-f745e15eee43
2001-09-28 20:14:13 +00:00
dp%netscape.com
c0acdf26c5 bug 29063 Removing unneccessary stat() r/sr=waterson/alecf
git-svn-id: svn://10.0.0.236/trunk@103665 18797224-902f-48f8-a5cc-f745e15eee43
2001-09-25 00:19:52 +00:00
cathleen%netscape.com
f541238cb0 enable MOZ_TIMELINE tool, bug 78793, r=rogc, sr=waterson
git-svn-id: svn://10.0.0.236/trunk@101263 18797224-902f-48f8-a5cc-f745e15eee43
2001-08-17 02:03:34 +00:00
dbaron%fas.harvard.edu
a948227cb8 Fix the use of dynamic_cast for nsCOMPtr logging so it doesn't appear in a macro. b=61243
Implement (without enabling, yet) assertions to warn about static constructors.  b=62006
Partly fix warnings about MOZ_DECL_CTOR_COUNTER on Mac builds by removing extra semicolon.  b=60145
Start to fix the longstanding leaks of nsTraceRefcnt's own hashtables.
r=waterson@netscape.com  sr=brendan@mozilla.org


git-svn-id: svn://10.0.0.236/trunk@84044 18797224-902f-48f8-a5cc-f745e15eee43
2000-12-23 16:43:32 +00:00
warren%netscape.com
a8b9664a8c Bug 47207. Backing out logging/PRINTF changes until we can fix stopwatch.h, introduce double parens, etc.
git-svn-id: svn://10.0.0.236/trunk@81967 18797224-902f-48f8-a5cc-f745e15eee43
2000-10-28 22:17:53 +00:00
warren%netscape.com
c6b67eceeb Bug 47207. Changing printf to PRINTF to use new logging facility. r=valeski,sr=waterson
git-svn-id: svn://10.0.0.236/trunk@81885 18797224-902f-48f8-a5cc-f745e15eee43
2000-10-27 22:43:51 +00:00
rayw%netscape.com
d9228441a4 Bug 37275, Changing value of all progids, and changing everywhere a progid
is mentioned to mention a contractid, including in identifiers.

r=warren


git-svn-id: svn://10.0.0.236/trunk@79036 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-13 23:57:52 +00:00
dbaron%fas.harvard.edu
d42b7f141f Fix leak (holding past XPCOM shutdown) of 16 strings. r=waterson
git-svn-id: svn://10.0.0.236/trunk@73335 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-27 21:54:28 +00:00
warren%netscape.com
cc5d426fbe Renaming nsIAllocator to nsIMemory (and nsAllocator to nsMemory). API cleanup/freeze. Bug #18433
git-svn-id: svn://10.0.0.236/trunk@71450 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-03 09:46:12 +00:00
mjudge%netscape.com
95232e3018 fixing vc6.0 compiler bug. cant have static variable called "count" and compare it using "<". dont ask.
git-svn-id: svn://10.0.0.236/trunk@67085 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-25 05:09:49 +00:00
cls%seawood.org
25fe7656b0 BeOS build fixes. Bug #34553
git-svn-id: svn://10.0.0.236/trunk@65673 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-12 06:20:59 +00:00
dp%netscape.com
a1699313df Enabling XPCOM_BREAK_ON_LOAD to break in the debugger for linux &&
i386. r=waterson,pavlov


git-svn-id: svn://10.0.0.236/trunk@64118 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-25 08:54:22 +00:00
colin%theblakes.com
12e3ffb0dd Add a debug break for OpenVMS. All changes are ifdef VMS. a=leaf
git-svn-id: svn://10.0.0.236/trunk@61398 18797224-902f-48f8-a5cc-f745e15eee43
2000-02-21 22:56:55 +00:00
dp%netscape.com
e1be9580d0 Removing asm() code. Wont compile on nonx86 linux.
git-svn-id: svn://10.0.0.236/trunk@59062 18797224-902f-48f8-a5cc-f745e15eee43
2000-01-28 11:31:39 +00:00
dp%netscape.com
27b6896c9f Using asm() only for linux.
git-svn-id: svn://10.0.0.236/trunk@59059 18797224-902f-48f8-a5cc-f745e15eee43
2000-01-28 11:04:51 +00:00
dp%netscape.com
b9693365ac Debuggin help from components. Implementing BreakAfterLoad() for DEBUG
builds, which will stop in the debugger after loading any of the :
separated dll substrings listed in environment variable
XPCOM_BREAK_ON_LOAD. Stopping in debugger implemented for
unix.


git-svn-id: svn://10.0.0.236/trunk@59051 18797224-902f-48f8-a5cc-f745e15eee43
2000-01-28 09:44:05 +00:00
sdagley%netscape.com
021d3a98a3 Finish cleanup of #19150 - forgot to remove un-needed include after changing code to load fragment via nsLocalFileMac rather than directly calling NSPR. r=lumpy
git-svn-id: svn://10.0.0.236/trunk@58867 18797224-902f-48f8-a5cc-f745e15eee43
2000-01-27 02:24:06 +00:00
dougt%netscape.com
714da09a59 Landing nsIFile.
git-svn-id: svn://10.0.0.236/trunk@58490 18797224-902f-48f8-a5cc-f745e15eee43
2000-01-24 21:28:28 +00:00
dmose%mozilla.org
0efb7c174c updated xPL license boilerplate to v1.1, a=chofmann@netscape.com,r=endico@mozilla.org
git-svn-id: svn://10.0.0.236/trunk@52910 18797224-902f-48f8-a5cc-f745e15eee43
1999-11-06 03:43:54 +00:00
warren%netscape.com
c9c3ab2262 Fixed up dll loading for Windows. It was silently failing.
git-svn-id: svn://10.0.0.236/trunk@51694 18797224-902f-48f8-a5cc-f745e15eee43
1999-10-24 22:01:09 +00:00
dp%netscape.com
c94e8e9c8e Removing ifdef DEBUG_dp.
git-svn-id: svn://10.0.0.236/trunk@50140 18797224-902f-48f8-a5cc-f745e15eee43
1999-10-07 21:03:48 +00:00