471 Commits

Author SHA1 Message Date
cls%seawood.org
88aedd461b Replaced NO_SHARED_LIB & NO_STATIC_LIB with BUILD_SHARED_LIBS, BUILD_STATIC_LIBS, FORCE_STATIC_LIB & FORCE_SHARED_LIB. Added FORCE_USE_PIC.
Changes allow us to have a finer control over which parts of the tree are built with PIC.  Part of the static build branch landing.
Bug #46775 r=mcafee a=leaf


git-svn-id: svn://10.0.0.236/trunk@97363 18797224-902f-48f8-a5cc-f745e15eee43
2001-06-18 22:10:38 +00:00
scc%mozilla.org
90f810b66a bug #85271: sr=waterson, r={beard, jag, dbaron}, a=asa. Eliminate features of |nsXPIDLC?String| that keep it out of the string hierarchy (i.e., using assigment to rebind ownership, static |Copy| members, and |getter_Shares|), fixing some leaks in the process.
git-svn-id: svn://10.0.0.236/trunk@97289 18797224-902f-48f8-a5cc-f745e15eee43
2001-06-17 05:23:38 +00:00
valeski%netscape.com
b75b28be35 r=chak, sr=vidur, a=tor. 82000. removing unused arg from nsICategoryManager.
git-svn-id: svn://10.0.0.236/trunk@96452 18797224-902f-48f8-a5cc-f745e15eee43
2001-06-05 21:25:57 +00:00
kandrot%netscape.com
b9f5b4b52d Check in for bug #75764 to elminate non-static globals. r=kandrot, sr=jband
git-svn-id: svn://10.0.0.236/trunk@94949 18797224-902f-48f8-a5cc-f745e15eee43
2001-05-15 05:50:24 +00:00
jst%netscape.com
43eee52859 Landing the XPCDOM_20010329_BRANCH branch, changes mostly done by jband@netscape.com and jst@netscape.com, also some changes done by shaver@mozilla.org, peterv@netscape.com and markh@activestate.com. r= and sr= by vidur@netscape.com, jband@netscape.com, jst@netscpae.com, danm@netscape.com, hyatt@netscape.com, shaver@mozilla.org, dbradley@netscape.com, rpotts@netscape.com.
git-svn-id: svn://10.0.0.236/trunk@94242 18797224-902f-48f8-a5cc-f745e15eee43
2001-05-08 17:42:36 +00:00
cls%seawood.org
4846ed0caf Let the use of PR_Log() be controlled by a toplevel build option. All places that set FORCE_PR_LOG to force logging on need to wrap that #define FORCE_PR_LOG in a MOZ_LOGGING ifdef.
It's on by default. Set
--disable-logging (unix)
NO_LOGGING=1 (win32)
moz_logging = 0  (mac)
to turn it off globally.

Bug #53226 r=sspitzer,leaf,sfraser


git-svn-id: svn://10.0.0.236/trunk@94048 18797224-902f-48f8-a5cc-f745e15eee43
2001-05-05 10:18:53 +00:00
kandrot%netscape.com
2f7e9262c9 Check in for Ron Guilmette. r=shaver, sr=waterson. For intl r=nhotta. Changes for NS_IMPL_NSGETMODULE. bug #46775.
git-svn-id: svn://10.0.0.236/trunk@94028 18797224-902f-48f8-a5cc-f745e15eee43
2001-05-05 05:33:37 +00:00
sdagley%netscape.com
688b88a74b #70543 - Mac OS running out of FCBs when loading libraries. Now yield time to OS to allow it to grow the FCB table (shouldn't be necessary, apparently is). sr=sfraser,r=macdev
git-svn-id: svn://10.0.0.236/trunk@93920 18797224-902f-48f8-a5cc-f745e15eee43
2001-05-04 09:01:06 +00:00
dveditz%netscape.com
d49359afb0 fix for 15115, registry reading speedup
git-svn-id: svn://10.0.0.236/trunk@92559 18797224-902f-48f8-a5cc-f745e15eee43
2001-04-17 14:25:19 +00:00
disttsc%bart.nl
aaff541a26 Fix some inefficiency in nsNativeComponentLoader.cpp, bug=51210, author=Mark Stankus <mstankus@calpoly.edu>, r=bzbarsky@mit.edu, sr=shaver.
git-svn-id: svn://10.0.0.236/trunk@90210 18797224-902f-48f8-a5cc-f745e15eee43
2001-03-23 07:34:34 +00:00
shaver%mozilla.org
823ae8572c 67699: all your nsIClassInfo is belong to us
- teach nsGenericFactory about nsIClassInfo, and nsIClassInfo.idl to the
  builds
- add a heaping serving of macro love for classes that want to support it
- convert many modules to use nsGenericModule the new way
- handful of warning and modeline fixes
- nsSample and some XPConnect test classes now have nsIClassInfo support for
  testing


git-svn-id: svn://10.0.0.236/trunk@89354 18797224-902f-48f8-a5cc-f745e15eee43
2001-03-12 20:43:02 +00:00
disttsc%bart.nl
edc70961f6 Mass REQUIRES update to synch up with string lib and xul changes in an attempt to fix senna bustage. r=jst, sr=cls
git-svn-id: svn://10.0.0.236/trunk@87655 18797224-902f-48f8-a5cc-f745e15eee43
2001-02-22 09:35:51 +00:00
timeless%mac.com
74d561bd54 fix for bug 52653 regxpcom creates .mozilla in Real User's home
fix by shaver, r=dveditz, sr=scc


git-svn-id: svn://10.0.0.236/trunk@87229 18797224-902f-48f8-a5cc-f745e15eee43
2001-02-16 21:35:34 +00:00
jband%netscape.com
1e76ea317d not part of the build - to be used in xpconnect flattening etc.
git-svn-id: svn://10.0.0.236/trunk@86981 18797224-902f-48f8-a5cc-f745e15eee43
2001-02-14 04:26:03 +00:00
pinkerton%netscape.com
4c94bdb338 carbon changes. r=pink/sdagley/beard. a=sfraser.
git-svn-id: svn://10.0.0.236/trunk@86937 18797224-902f-48f8-a5cc-f745e15eee43
2001-02-13 21:48:26 +00:00
blakeross%telocity.com
4394b4fef9 Minor QI optimization. r=blake sr=scc
git-svn-id: svn://10.0.0.236/trunk@85881 18797224-902f-48f8-a5cc-f745e15eee43
2001-01-31 22:05:28 +00:00
disttsc%bart.nl
0b78766dd3 Remove some redundant code from nsComponentManager.cpp. bug=66865, patch=bratell@lysator.liu.se (Daniel Bratell), r=jag, a=scc.
git-svn-id: svn://10.0.0.236/trunk@85880 18797224-902f-48f8-a5cc-f745e15eee43
2001-01-31 22:00:17 +00:00
sfraser%netscape.com
81210305fd Fix for bugs 64978 and 24312. Add a call to SystemTask into the autoreg loop to ensure that the OS has time to grow its File Control Block tables, to avoid running out of FCBs when doing autoreg after rebooting the machine. r=ccarlen, sdagley, sr=scc
git-svn-id: svn://10.0.0.236/trunk@85778 18797224-902f-48f8-a5cc-f745e15eee43
2001-01-30 21:29:53 +00:00
dbaron%fas.harvard.edu
5f0a7ab9bd Remove trailing semicolons after all uses of MOZ_DECL_CTOR_COUNTER to quiet build warnings on Mac. b=60415 a=brendan@mozilla.org
git-svn-id: svn://10.0.0.236/trunk@85654 18797224-902f-48f8-a5cc-f745e15eee43
2001-01-27 23:06:33 +00:00
ccarlen%netscape.com
b807b06014 Fix for bug 64501 - allow embedding apps to specify app registry location. Moves appfilelocprovider into xpcom.
r=dougt@netscape.com, sr=brendan@mozilla.org


git-svn-id: svn://10.0.0.236/trunk@85095 18797224-902f-48f8-a5cc-f745e15eee43
2001-01-18 22:51:57 +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
dougt%netscape.com
90c9a975be Static Module Patch. r=valeski,warren@netscape.com, sr/a=cls@netscape.com
git-svn-id: svn://10.0.0.236/trunk@82839 18797224-902f-48f8-a5cc-f745e15eee43
2000-11-21 23:40:34 +00:00
cls%seawood.org
8373cf37d8 Oops. Fixing bustage introduced by previous checkin. I forgot that XPIDL_MODULE is sometimes set by MODULE. r=blizzard Bug 59454
git-svn-id: svn://10.0.0.236/trunk@82809 18797224-902f-48f8-a5cc-f745e15eee43
2000-11-21 00:18:46 +00:00
cls%seawood.org
6088dfbf6b Resurrect REQUIRES so that we have some sort of means to track intermodule dependencies. Bug #59454 r=blizzard@mozilla.org
git-svn-id: svn://10.0.0.236/trunk@82785 18797224-902f-48f8-a5cc-f745e15eee43
2000-11-20 07:16:06 +00:00
alecf%netscape.com
13743894ed fix for #45797 - fix NS_IMPL_ISUPPORTS consumers
r=dveditz a=self


git-svn-id: svn://10.0.0.236/trunk@82722 18797224-902f-48f8-a5cc-f745e15eee43
2000-11-17 03:41:41 +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
bnesse%netscape.com
069d3c216d Look for 'NSPL' as well as 'shlb'. Fix for bug #45697. r=av, sr=scc, a=rtm++.
git-svn-id: svn://10.0.0.236/trunk@81300 18797224-902f-48f8-a5cc-f745e15eee43
2000-10-17 18:06:23 +00:00
rayw%netscape.com
31f9bce979 Bug fix for 52648 -- remaining stash of progids which I missed on
the mega-change yesterday.  This will fix a few more issues.

r=warren


git-svn-id: svn://10.0.0.236/trunk@79224 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-14 23:20:49 +00:00
rayw%netscape.com
65d371209f File went back by mistake, reverting.
git-svn-id: svn://10.0.0.236/trunk@79049 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-14 04:21:39 +00:00
rayw%netscape.com
c4734d3001 fix to mal-formed contract id introduced in mega-check-in:x
git-svn-id: svn://10.0.0.236/trunk@79048 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-14 04:18:07 +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
jband%netscape.com
ff441f2b06 needed to fix bug 46707. We need to autoreg the native loader before the interface info manager (iim) so that the iim can use registered components; e.g. libjar. r=shaver@mozilla.org
git-svn-id: svn://10.0.0.236/trunk@78565 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-09 01:36:18 +00:00
kandrot%netscape.com
66994f809e Missed a change. Fix for bug #46709
r=rayw


git-svn-id: svn://10.0.0.236/trunk@78479 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-08 02:53:12 +00:00
kandrot%netscape.com
df46e3cf1c Fix for bug #46709
Allows registry buffer size to be modified.  Increases buffer size during
initial start up, then decreases size.

r=rayw


git-svn-id: svn://10.0.0.236/trunk@78470 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-08 01:51:45 +00:00
scc%mozilla.org
ed5ef3eccd fixing bustage
git-svn-id: svn://10.0.0.236/trunk@78059 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-03 04:04:41 +00:00
scc%mozilla.org
a1ad96435f bug #49895: checking in a slight enhancement on Patrick Beards patch
git-svn-id: svn://10.0.0.236/trunk@77762 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-31 11:42:43 +00:00
dbaron%fas.harvard.edu
b294071a4f Attempt to fix nebiros (Sun WorkShop 5.0) bustage by changing NULL to nsnull. r=scc (Fix suggested by scc.)
git-svn-id: svn://10.0.0.236/trunk@77616 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-30 12:32:13 +00:00
cls%seawood.org
d790692684 Build fixes for BeOS. Thanks to Dan Moore <pergamon@68k.org> for the patch.
git-svn-id: svn://10.0.0.236/trunk@77604 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-30 07:21:31 +00:00
rayw%netscape.com
5268ef92ef A fix to bug 43351.
A softer landing on a failed initialization.  It checks for a null
before deallocating.  This does not affect the success path.

This was a patch, and I reviewed it:  (r=rayw)


git-svn-id: svn://10.0.0.236/trunk@76651 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-18 20:54:04 +00:00
rayw%netscape.com
c583b148a2 Check return from PlatformInit, and return if it failed.
Bug 43347

This was a patch submitted, I have reviewed it (r=rayw)
it provides a softer landing when problems occur in the
initialization.  There is no difference in behavior if
the initialization was successful.


git-svn-id: svn://10.0.0.236/trunk@76650 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-18 20:51:37 +00:00
dbaron%fas.harvard.edu
9b56742a81 Attempt to fix Sun/HP/AIX bustage. r=cls
git-svn-id: svn://10.0.0.236/trunk@76515 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-17 00:15:50 +00:00
racham%netscape.com
afbbb2afc0 Fixing bug 46320. Reducing the number of global files by moving profile registry to product sub-directory under HOME. r=dougt
git-svn-id: svn://10.0.0.236/trunk@76450 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-16 22:40:27 +00:00
dp%netscape.com
b3a71129e7 Removed unused static.
git-svn-id: svn://10.0.0.236/trunk@76424 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-16 07:33:23 +00:00
conrad%ingress.com
a2cf6be101 Changed from using strings for nsIDirectoryService props to using macro names defined in nsDirectoryServiceDefs.h
r=valeski


git-svn-id: svn://10.0.0.236/trunk@76139 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-11 20:31:57 +00:00
rayw%netscape.com
b02b43d396 Changed case of nsIFactory.idl methods to start with lower case to be like other
interfaces.  Since the C++ generated code upper-cases the method names, this
affects no C++ code, but only a few javascript methods.

Bug 46771.

r=waterson.

I am in today and tomorrow.


git-svn-id: svn://10.0.0.236/trunk@76014 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-10 20:12:08 +00:00
warren%netscape.com
e5706a7236 Bug 46711. Removed nsAutoString travisty from nsStringKey. Introduced nsCStringKey. Made them both share the underlying string when possible. r=waterson
git-svn-id: svn://10.0.0.236/trunk@75975 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-10 06:19:37 +00:00
sgehani%netscape.com
6a00cbcbd9 Turn off sole line output in opt builds by wrapping in DEBUG macro.
r = ssu
a = shaver


git-svn-id: svn://10.0.0.236/trunk@74779 18797224-902f-48f8-a5cc-f745e15eee43
2000-07-25 23:54:12 +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
waterson%netscape.com
ab0925e6a8 Bug 21650. Add an assertion if the service manager is improperly re-entered. r=dbaron,warren
git-svn-id: svn://10.0.0.236/trunk@73014 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-23 02:02:48 +00:00