Commit Graph

64 Commits

Author SHA1 Message Date
dbaron@fas.harvard.edu
b87a2b03c4 Remove nsCStringKey-related bustage fixes from this morning that are no longer needed. r=jaggernaut sr=waterson b=88411 2001-06-29 23:16:52 +00:00
scc@mozilla.org
b9858fbb23 fix linux build bustage by adding a |.get()| to resolve ambiguity 2001-06-29 13:50:22 +00:00
kandrot@netscape.com
27608169c4 Check in for bug #75764 to elminate non-static globals. r=kandrot, sr=jband 2001-05-15 05:50:24 +00:00
cls@seawood.org
22bce73f82 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
2001-05-05 10:18:53 +00:00
sdagley@netscape.com
105a2718ca #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 2001-05-04 09:01:06 +00:00
disttsc@bart.nl
15b1118171 Fix some inefficiency in nsNativeComponentLoader.cpp, bug=51210, author=Mark Stankus <mstankus@calpoly.edu>, r=bzbarsky@mit.edu, sr=shaver. 2001-03-23 07:34:34 +00:00
shaver@mozilla.org
569946653a 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
2001-03-12 20:43:02 +00:00
pinkerton@netscape.com
89042dbeff carbon changes. r=pink/sdagley/beard. a=sfraser. 2001-02-13 21:48:26 +00:00
sfraser@netscape.com
7fd9fcea46 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 2001-01-30 21:29:53 +00:00
alecf@netscape.com
5829168abd fix for #45797 - fix NS_IMPL_ISUPPORTS consumers
r=dveditz a=self
2000-11-17 03:41:41 +00:00
warren@netscape.com
0462ea4ce8 Bug 47207. Backing out logging/PRINTF changes until we can fix stopwatch.h, introduce double parens, etc. 2000-10-28 22:17:53 +00:00
warren@netscape.com
7730ce0cd3 Bug 47207. Changing printf to PRINTF to use new logging facility. r=valeski,sr=waterson 2000-10-27 22:43:51 +00:00
bnesse@netscape.com
4be294c2bb Look for 'NSPL' as well as 'shlb'. Fix for bug #45697. r=av, sr=scc, a=rtm++. 2000-10-17 18:06:23 +00:00
rayw@netscape.com
c6334366cb Bug 37275, Changing value of all progids, and changing everywhere a progid
is mentioned to mention a contractid, including in identifiers.

r=warren
2000-09-13 23:57:52 +00:00
scc@mozilla.org
72da7d73d4 fixing bustage 2000-09-03 04:04:41 +00:00
rayw@netscape.com
72ab2f8021 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)
2000-08-18 20:54:04 +00:00
racham@netscape.com
5555d0ee78 Fixing bug 46320. Reducing the number of global files by moving profile registry to product sub-directory under HOME. r=dougt 2000-08-16 22:40:27 +00:00
warren@netscape.com
8df9a9bce0 Bug 46711. Removed nsAutoString travisty from nsStringKey. Introduced nsCStringKey. Made them both share the underlying string when possible. r=waterson 2000-08-10 06:19:37 +00:00
sgehani@netscape.com
27032cefc7 Turn off sole line output in opt builds by wrapping in DEBUG macro.
r = ssu
a = shaver
2000-07-25 23:54:12 +00:00
warren@netscape.com
6a06dfc026 Renaming nsIAllocator to nsIMemory (and nsAllocator to nsMemory). API cleanup/freeze. Bug #18433 2000-06-03 09:46:12 +00:00
sfraser@netscape.com
9de2877060 Change the XPCOM autoreg observer to provide more useful strings. 2000-05-17 01:53:50 +00:00
rayw@netscape.com
16c257103e Added an observer to autoregistration, which allows a callback during that
part of startup to advance a progress display, per bug 35866.

I did not get the code actually reviewed, but I discussed it, and tested it
for breakage.  Other developers must register for the observer before it can
be ascertained whether it performs as advertized.
2000-05-15 19:28:12 +00:00
rayw@netscape.com
3579bd6273 Per bug 3690:
Added new functions to the registry for reading / writing byte arrays
of binary content and escaping registry keys that contain binary
content.  Modified code which reads/writes location of dll or javascript
for components to use new ReadBytesUTF8/WriteBytesUTF8 and which uses
or reads the keys to use EscapeKey and UnescapeKey.

r=dveditz
2000-05-12 01:24:36 +00:00
dp@netscape.com
da7c5b11f6 Passing registry location correctly to nsIModule::UnregisterSelf() 2000-05-05 06:34:39 +00:00
mkaply@us.ibm.com
25cfcb8e6a # 34082
r= dougt@netscape.com
OS/2 bring up continues - Adding PR_CALLBACKs for VisualAge Compiler
2000-05-02 22:38:04 +00:00
dp@netscape.com
593fb8a197 Implemented component unregistration. 2000-04-18 05:25:05 +00:00
rickg@netscape.com
af649ab7a2 updated includes to access nsCRT 2000-03-31 09:04:29 +00:00
dp@netscape.com
3696c9aee7 Enabling PR_LOG for release builds from native component loader.
Tuning log format to help analysis.
2000-03-11 22:44:51 +00:00
pavlov@netscape.com
846ce6eadf changes to let us build on MacOS X 2000-03-11 03:08:04 +00:00
sfraser@netscape.com
047476e530 Fixes for bug 28271 -- add methods to nsILocalFileMac to launch applications and document. Also fix bogus include in nsNativeComponentLoader. r=davidm,dougt. a=jar 2000-02-23 23:09:02 +00:00
dveditz@netscape.com
79c9af9959 Bug 23941 speed up install on Mac, r=cathleen, a=jar;
Bug 12817 no Autoreg (in optimized builds) unless xpinstall detects flag indicating install has happened or build number changed, r=dp, a=jar;
Bug 23859 add wstring API to nsIRegistry for profile manager/i18n, r=gayatrib, a=jar;
2000-02-20 03:12:59 +00:00
dveditz@netscape.com
d1f95056e5 registry speed ups (part of 12817) 2000-02-16 07:45:20 +00:00
warren@netscape.com
608e1ec6d7 Fix for code generation problem in VC6 optimized builds. Discovered with MOZ_PROFILE=1 and MOZ_DEBUG undefined. The variable 'dll' seems to get wiped out by the assignment of 'res' (aliased together). r=scc,dp 2000-02-08 11:45:40 +00:00
dougt@netscape.com
d48ec37751 Landing nsIFile. 2000-01-24 21:28:28 +00:00
shaver@netscape.com
5ee5b20534 - NS_ERROR_FACTORY_REGISTER_AGAIN for deferring registration of a module until
later in the autoreg cycle.
- teach native component loader about deferred components
- add nsIComponentLoader::registerDeferredComponents
- teach component manager about deferred components
- made nsID::Parse take a |const char *| instead of a simple |char *|.
- move release of XPTI singletons until _after_ shutting down the component
  manager to prevent re-initialization during JS component shutdown.
- category manager work: really delete from reg, start on enumeration
- use nsXPIDLCString instead of autoStringFree.
- fix nsRegistry to use allocator properly.
- cleaner memory management in nsFactoryEntry.
- capitalization fixed in nsIComponentLoader.idl
- clean up loader creation logic
- remove/disable lots of DEBUG_shaver noise
- added (disabled) warning about NSGetFactory usage
- move .so and .shlb higher up in the ValidDllExtensions list to marginally
  speed up registration.
- added nsDll::GetRegistryLocation API
- properly export nsSupportsArray.h
- capitalization fixes in nsIEnumerator.idl
- added deferral to nsSample.js
1999-11-10 00:28:34 +00:00
warren@netscape.com
bbb8425955 Fixed up dll loading for Windows. It was silently failing. 1999-10-24 22:01:09 +00:00
dp@netscape.com
dda77fe189 bug# 9221 Fixing autoreg terminating on bad aliases. We now let it go
as far as possible ignoring errors. r=sfraser
1999-10-22 06:32:26 +00:00
dp@netscape.com
5a950026eb beautify... 1999-10-22 04:47:14 +00:00
dp@netscape.com
d4f924d2ab bug# 15046 Preventing deletion of dll when getfactory fails. r=shaver,kipp 1999-10-22 01:04:16 +00:00
dp@netscape.com
2df69519f6 Fixing warning. Moved declaration into if 0 block. 1999-10-19 05:49:04 +00:00
scc@netscape.com
2c5981f78d Bug #15292, r=dp. Made the component manager inherit from |nsSupportsWeakReference|, fixed its |QueryInterface()| appropriately, and added casts in two places that became ambiguous now that the component manager had multiple |nsISupports| in it. Now one can hold a weak reference to the component manager using |nsIWeakReference|. 1999-10-15 21:14:43 +00:00
dp@netscape.com
1926debb15 bug# 5085 Eliminating some checks at autoreg time to improve startup
performance. r=sfraser
1999-10-15 07:12:08 +00:00
kipp@netscape.com
395505b0e0 Fixed up hook to track library loads for refcnt logging 1999-10-08 23:41:18 +00:00
sfraser@netscape.com
3e46ff6050 Fixing use of obsolete types for shaver. 1999-09-29 02:54:18 +00:00
shaver@netscape.com
d8b603c8f0 nsIRegistry scriptability and beginning of category support, r=dp,alecf,dveditz a=leaf,chofmann 1999-09-29 02:35:42 +00:00
dp@netscape.com
3dcacdfa19 Separating dll Shutdown from unload. Calling dll shutdown
unconditionally on NS_Shutdown.
1999-09-26 18:06:41 +00:00
dp@netscape.com
b173d0867f Enabling xpcom shutdown to call NSCanUnload() on every component. 1999-09-23 00:01:53 +00:00
shaver@netscape.com
a2528d3d65 add componentType to nsIModule::RegisterSelf 1999-09-22 03:18:27 +00:00
waterson@netscape.com
e5089c32df Fix backwards return values on nsIEnumerator::IsDone(). 1999-09-21 01:28:18 +00:00
warren@netscape.com
ce1bda12eb fixed circular references in nsNativeComponentLoader 1999-09-20 20:54:04 +00:00