Граф коммитов

424 Коммитов

Автор SHA1 Сообщение Дата
dougt%netscape.com be629223b6 Create a new xpcom obsolete library (and component library).
Moved nsFileSpec and related classes into this obsolete library.
  Moved nsRegistry and related libreg functionality into the obsolete library.

Updated many callers using the obsolete nsFile spec to use nsIFile and Necko to do file IO.

Combined the following DLLs (source -> dest)
  uriloader -> docshell
  shistory -> docshell
  jsurl -> jsdom
  gkview -> gklayout

Moved nsAdapterEnumerator out of xpcom/ds and into mailnews, since they're the only consumer

Modifed the xpt_link tool so that you can specify a �only include� cid list that can mask CID�s that you are not interested in.

Added build options:
Prevent the building of xpinstall (--disable-xpinstall)
Prevent the building js component loader (--disable-jsloader)
A build option to only build a single profile (--enable-single-profile)
A build flag to only built the required xpfe components (--disable-xpfe-components).

Removal or hiding of unused functions and classes including nsEscape*, nsDequeIterator, nsRecyclingAllocatorImpl, nsDiscriminatedUnion, nsOpaqueKey, nsCRT::strlen, NS_NewCommandLineService

Bug 194240, r/sr = darin, alec.
2003-03-15 01:04:32 +00:00
dbaron%dbaron.org 3d4d2eb0e4 Backout checkin for bug 171343 (no longer needed) in the hopes of fixing talkback on Linux. b=176886 r=bryner a=asa 2003-01-28 01:41:01 +00:00
ccarlen%netscape.com f9502e3ac0 Bug 97622 - Put in UI to expose dynamic profile switching. r=kaie/sr=alecf 2003-01-22 06:13:39 +00:00
racham%netscape.com f4a16c41df Fixing bug 173267. Add method to get profile field values information from the registry. r=ccarlen, sr=sspitzer 2003-01-10 00:39:52 +00:00
ccarlen%netscape.com e8aa421104 Bug 182341 - Crash when closing profile mgr window with 'X' close box. Due to a static nsCOMPtr which, because it was static, was destroyed too late. r=racham/sr=alecf 2003-01-09 03:19:22 +00:00
dbaron%dbaron.org 3da694f7ae Bug 178643: Remove uses of NS_INIT_ISUPPORTS, since it is no longer needed. r=timeless sr=jag 2003-01-08 22:45:23 +00:00
kaie%netscape.com 1fe62ddc21 b=175320 Support clean profile & NSS shutdown at any time + Mozilla needs to clean up on exit to allow for PSM failure detection
r=ccarlen/morse sr=darin
2002-12-13 20:39:03 +00:00
ccarlen%netscape.com ee0c2325e4 Bug 175867 - CFM and Mach-0 profile locking mechanisms are different. r=bryner/sr=sfraser 2002-11-23 18:11:38 +00:00
colin%theblakes.com cc4f959287 Fix broken profile locking on OpenVMS. b=180738 r=ccarlen sr=dveditz 2002-11-21 13:34:25 +00:00
blizzard%redhat.com 3abd837979 Backout checkin for bug #175320. It was causing cookie files to be saved without any entries but still with the standard "This is a generated file!" header. sr=bz 2002-11-15 01:47:59 +00:00
kaie%netscape.com 629a2359bc b=175320 Support clean profile & NSS shutdown at any time + Mozilla needs to clean up on exit to allow for PSM failure detection
r=ccarlen sr=darin
2002-11-14 01:50:14 +00:00
mkaply%us.ibm.com 919eded5cf Use XP_WIN here - XP_PC means win and Os/2, so this is unclear. Note we prefer XP_PC is not used at all 2002-11-10 00:48:10 +00:00
ccarlen%netscape.com e935b24336 Fixing tinderbox orangeness, OS2 bustage 2002-11-09 22:05:09 +00:00
ccarlen%netscape.com 1bd86b4dc5 Bug 177321 - factor nsIDirectoryServiceProvider impl out of nsProfile.cpp. Now built as a static lib with which apps can link if they only use a single profile r=dougt/sr=darin 2002-11-09 19:38:43 +00:00
bryner%netscape.com d58051e68c Use only fcntl-based profile locking on Mac OS X (disable symlink-based
locking).  Fixes bug 176608.  r=ccarlen, sr=jag, a=roc.
2002-10-30 00:06:58 +00:00
bryner%netscape.com b411e6ae88 Second try at landing bug 171343 - nsProfileAccess's signal handler should use SA_SIGINFO and sa_sigaction where available. r=ccarlen, cls, sr=brendan, a=chofmann. 2002-10-11 08:44:02 +00:00
bryner%netscape.com 2ded7b68cb Backing out patch for bug 171343. I need to do autoconf tests for siginfo_t and SA_SIGINFO, it seems. 2002-10-08 05:51:24 +00:00
bryner%netscape.com 7f27d7678f Fix bustage on btek by defining _POSIX_C_SOURCE to 199506L, to get the |siginfo_t| type defined. 2002-10-08 05:16:58 +00:00
bryner%netscape.com 139db5cc6f Bug 171343 - use SA_SIGINFO and sa_sigaction when hooking up FatalSignalHandler() so that we don't lose parameters if there are other handlers which want all 3 arguments. r=ccarlen, sr=brendan. 2002-10-08 04:00:03 +00:00
ccarlen%netscape.com d9ea2f11b9 Bug 118203 - nsLocalFile implementation for Mach-0. r=pinkerton, sdagley/sr=sfraser 2002-09-25 12:23:39 +00:00
seawood%netscape.com 0c25e8545b Restoring setting of mCurrentProfileAvailable so that prefs.js is actually created. 2002-09-18 19:51:57 +00:00
seawood%netscape.com d610640f4a Call SetCurrentProfile so that LoadNewProfilePrefs() is using the correct profile when checking for new files.
Bug #168433 r=ccarlen sr=alecf
2002-09-18 17:14:49 +00:00
dougt%netscape.com c5e8f896cd 166917. Clean up xpcom SDK includes. r=rpotts@netscape.com, sr=alecf@netscape.com, a=rjesup@wgate.com 2002-09-07 17:13:19 +00:00
sspitzer%netscape.com 3184c2caf8 fix build bustage 2002-09-07 13:40:32 +00:00
dougt%netscape.com c1b9f8114d Move FROZEN ContractID into nsXPCOM.h and define r=rpotts, sr=alec, b=166426 2002-09-03 23:36:13 +00:00
alecf%netscape.com 5d2a2e5fef bug 157624 - freeze nsISupportsPrimitives, which includes changing nsISupport[C]String over to using A[C]String and fixing consumers
r=dougt, sr=darin
2002-08-26 21:20:34 +00:00
dougt%netscape.com d9188b4471 Freezes the nsIProperties interface. 162114. r=ccarlen, sr=alecf. Freezes the mozIJSSubScriptLoader interface. 157136. r=rginda, sr=alec. 2002-08-26 20:36:44 +00:00
alecf%netscape.com bf51892c34 oops, one more file for bug 162741
r=bryner, sr=hyatt
2002-08-20 18:15:54 +00:00
alecf%netscape.com 5823310245 fix bug 162741 - revamp chrome registry interface in preparation for bug 160000 - switch lots of public APIs over to ACString, etc.
r=bryner, sr=hyatt
2002-08-20 18:12:51 +00:00
antonio.xu%sun.com e5c68f5f9b replace the hardcode of "@mozilla.org/embedcomp/dialogparam;1" with NS_DIALOGPARAMBLOCK_CONTRACTID
Bug 158608 r=Henry sr=alecf
2002-08-14 12:39:03 +00:00
seawood%netscape.com 8ae6c40f5d Removing old nmake build makefiles. Bug #158528 r=pavlov 2002-08-10 07:55:43 +00:00
hyatt%netscape.com ce802fb5dc ifdefs for phoenix. 161448. not part of main mozilla build. 2002-08-07 09:26:30 +00:00
henry.jia%sun.com 31cd9553b8 3rd patch for bug 158080
Description: replace the hardcode of "@mozilla.org/embedcomp/window-watcher;1" with NS_WINDOWWATCHER_CONTRACTID
Patch by Henry.Jia@sun.com
r=anto, sr=alecf
2002-08-06 05:37:58 +00:00
alecf%netscape.com 3703f3c61b bug 157624 - prep for freezing nsISupports* primitives by renaming the string classes appropriately
nsISupportsString  -> nsISupportsCString
nsISupportsWString -> nsISupportsString
r=dougt, sr=jag
2002-08-06 00:53:19 +00:00
alecf%netscape.com eb04da966b more prep for bug 119923 - use chrome registry ContractID rather than CID, so that we can drop in a new embedding-only chrome registry
r=bnesse, sr=dveditz, a=asa
2002-07-23 23:30:04 +00:00
ccarlen%netscape.com ae977320a5 Bug 147373 - Crash in nsProfileStruct::ExternalizeMigratedFromLocation. r=bnesse/sr=jag/a=asa 2002-07-11 21:36:34 +00:00
alecf%netscape.com f0263ddf07 fix for bug 101761 - REQUIRES update - remove all REQUIRES that are no longer necessary.. r=cls, a=asa (build-only changes) 2002-06-06 20:28:14 +00:00
rjesup%wgate.com ad0cf76325 Bug 145061: errno == ESRCH test is backwards; old profile locks not cleared
in Unix.  r=rjesup, sr=blizzard, patch by brendan.  Checkin in for him.
2002-05-16 21:17:27 +00:00
ccarlen%netscape.com 840aec7377 Bug 144930 - Profile dialog pops up on every launch with QuickLaunch. Regression from bug 76431. r=rjesup@wgate.com/sr=brendan@mozilla.org 2002-05-16 19:16:31 +00:00
ccarlen%netscape.com 32e3832782 Bug 76431 - Protect profiles from multiple instances sharing the same profile. r=brendan/sr=darin 2002-05-15 14:30:00 +00:00
darin%netscape.com f43dfb75ba fixes bug 142870 "nsIFile should use UCS-2 instead of UTF-8"
r=dougt sr=alecf
2002-05-07 23:07:19 +00:00
sspitzer%netscape.com b5fc7462e8 supplimental fix for #137886, support for re-migration.
to avoid problems, don't move .slt folder to .slt-old and then remigrate.
instead, leave .slt folder alone and migrate to .slt-new.
this makes restoring harder, but re-migration faster, safter and simpler.
r=ccarlen,sr=bienvenu
2002-05-02 01:37:03 +00:00
sspitzer%netscape.com e145b23d84 fix for #137886. fix string infinite loop issue that was causing remigration to hang on win2k and win98
r/sr=alecf
2002-04-30 05:26:17 +00:00
darin%netscape.com 1b1677bbe9 fixes bug 129279 "nsIFile unicode/utf8/ascii task"
r=dougt sr=alecf
2002-04-27 05:33:09 +00:00
alecf%netscape.com c6838e927a bug 138287 - profile manager depends on appshell
we were just creating some CIDs that were totally unused, so I removed them and the #includes
that caused the dependency
sr=jag, r=bhuvan
2002-04-26 18:47:25 +00:00
sspitzer%netscape.com a376f9f56c fix for #137886. Detect defunct previously migrated profiles and offer to re-migrate.
this is pref controlled, "profile.seconds_until_defunct.  by default,
we'll never offer to remigrate.  initial patch by ccarlen.
r=ccarlen,racham,sr=bienvenu
2002-04-26 01:37:04 +00:00
alecf%netscape.com e60e07296f fix for bug 119923 - split nsIChromeRegistry into 2 interfaces, one that is XUL-specific
this way we can implement an minimal chrome registry for embedding, that doesn't support all the wacky skin- and locale-switching goodness of XUL.
r=waterson, sr=hyatt
2002-04-12 01:52:27 +00:00
srilatha%netscape.com a65e726634 Fix for bug # 78585. Import local folders from 4.x.
r=racham@netscape.com,ccarlen@netscape.com,cavin@netscape.com, ducarroz@netscape.com
sr=sspitzer@netscape.com, a=asa@mozilla.org
2002-03-31 03:08:42 +00:00
dbaron%fas.harvard.edu fd56358d37 Convert users of nsAReadable[C]String and nsAWritable[C]String typedefs to [const] nsA[C]String. b=131899 r=scc sr=jag a=asa 2002-03-23 21:23:50 +00:00
alecf%netscape.com ecdb77e394 a further nsString api reduction: remove the last case-insensitive PRUnichar*-to-PRUnichar* comparisons, moving to new API, and remove old methods from nsString. r=dougt, sr=jag a=scc 2002-03-19 06:46:56 +00:00
blakeross%telocity.com 58d9f58b87 128969 - necessary dir/profile-related download manager changes. r=ccarlen sr=ben a=asa 2002-03-05 22:30:28 +00:00
cathleen%netscape.com 8d48d2e7e6 eliminate nsCRT::strlen for char* strings (part 4), bug 124536 r=dp sr=brendan 2002-02-19 16:01:45 +00:00
dbaron%fas.harvard.edu d376f6e5e2 Remove more no-longer-needed nsComponentManager::RegisterComponent calls. Remove remnants of NS_IMPL_IDS macro, associated with long-gone NS_DECLARE_ID. b=125782 r=dougt rs=jag 2002-02-16 16:18:13 +00:00
alecf%netscape.com 05038289b8 bug 63025 - remove only consumer of nsSimpleCharString and nsPersistentFileDescriptor from build
r=dougt, sr=shaver
2002-02-15 00:18:34 +00:00
ccarlen%netscape.com 238b2f2205 Bug 96525 - Delay loading of strres dll when setting profile. r=tao@netscape.com/sr=alecf@betscape.com 2002-02-07 14:41:36 +00:00
yokoyama%netscape.com 8be41975c8 Bug 112767
Performance: Check Profile name for ASCII before
calling the unicode converter.
r=ccarlen;/sr=brendan
2002-02-06 23:58:10 +00:00
alecf%netscape.com 2600020d23 dependency update 2002-02-06 22:52:53 +00:00
sfraser%netscape.com d285f8f560 Making the nsModuleComponentInfo data const; bug 74803. r=dp, sr=waterson 2002-01-30 21:14:20 +00:00
ccarlen%netscape.com d4dfb12e1c Bug 121431 - LoadDefaultProfileDir() returns an error when it shouldn't. Returning this error, which isn't really an error, aborts startup when creating a new profile in turbo mode. r=bnesse@netscape.com/sr=alecf@netscape.com 2002-01-25 15:32:10 +00:00
seawood%netscape.com 874c54280c Landing the rest of the win32 gmake changes:
* Adds Makefile.ins to win32 specific dirs
* Adds WINNT ifdefs to Makefile.ins
* Causes NSPR to be compiled with --with-mozilla
* Misc general Makefile.in cleanup

Bug #58981 r=mcafee
2001-12-18 09:14:29 +00:00
jaggernaut%netscape.com 6ab111155d Bug 104158: Use NS_LITERAL_STRING instead of XXXWithConversion("..."). r=bryner, rs=alecf 2001-12-16 11:58:03 +00:00
rjc%netscape.com c23cfd8399 Fix bug # 101280: on Mac OS X, use proper IE Favorites. r=ccarlen sr=ben 2001-12-15 00:43:23 +00:00
pete%alphanumerica.com c7055f2543 b=77933, r=ccarlen, sr=jst
nsIFile::CreateUnique() has unused parameter

removed unused parameter
/**
    WARNING commercial tree has one hit for this API change
 */
--pete
2001-12-07 23:06:51 +00:00
ccarlen%netscape.com 32c5b5344b Bug 113312 - Two profile folders created when profile is deleted from disk. r=bhuvan/sr=alecf 2001-12-05 15:04:44 +00:00
shanjian%netscape.com 55f49f22ed #disable debug message in optimized build
r=danm sr=waterson
2001-11-30 00:36:56 +00:00
sspitzer%netscape.com b2d716c3e1 changes to get this code to build when DEBUG_profile_verbose is set.
r/sr=no one
2001-11-17 23:59:43 +00:00
ccarlen%netscape.com 813716da2b Bug 108383 - no user prefs if starting mozilla with -p. r=bnesse/sr=alecf 2001-11-12 15:52:58 +00:00
ccarlen%netscape.com 67d3d8846b Bug 104021 - Profile mgr needs to put necko offline when switching profile. r=dougt,kaie/rs=darin/a=asa 2001-11-09 15:32:49 +00:00
yokoyama%netscape.com c449c51a37 Bug 108383
removing strtok() for parsing -P correctly
as it should be.  strtok() was added by mistake 10430
/r=ccarlen; /sr=alecf
2001-11-06 00:44:18 +00:00
seawood%netscape.com c79715ed1b Backing out fix for remote mach-o builds as it left mach-o builds fragile.
Add TK_CFLAGS back to default CFLAGS/CXXFLAGS.
Bug #107696
2001-11-03 03:29:05 +00:00
yokoyama%netscape.com 449c7b58e3 Bug 104305
Convert the cmdline Profile name from
platform charset to Unicode instead of calling
AssignWithConversion()
/r=ccarlen, /sr=brendan
2001-11-01 22:17:10 +00:00
seawood%netscape.com 6daf60f372 Since '-framework Carbon' causes binaries to require console access to run, do not link using that flag by default. Otherwise, remote builds & non-console tinderboxes will break. Mac OSX Mach-O only.
Bug #107696 r=mozbot
2001-11-01 00:54:48 +00:00
bnesse%netscape.com 2beda7afcc Fix for bug 106941. Convert nsProfile from nsIPref to nsIPrefService/nsIPrefBranch. Checking in for chipc. r=bnesse, sr=alecf. 2001-10-30 22:59:12 +00:00
jaggernaut%netscape.com 1903aa2e76 Bug 53057: Fixing up users of implicit |CharT*| conversion operators for nsCString to use |.get()| instead, rr=dbaron, rs=scc 2001-10-27 11:28:06 +00:00
alecf%netscape.com 91f782f06b final makefile.win changes for bug 100214, just adding some REQUIRES to be used soon 2001-10-26 03:18:09 +00:00
dougt%netscape.com fdb581ad21 99163 - removing nsObserverService.h includes. Also fixing 106090, extra methods on nsObserverService. r=shaver@mozilla.org, sr=jband@netscape.com 2001-10-22 22:01:27 +00:00
dougt%netscape.com da7e1268bd nsIObserver and nsIObserverService API freeze. r=rpotts@netscape.com, alecf@netscape.com. bug 99163 2001-10-19 20:52:59 +00:00
jaggernaut%netscape.com 25694acfa3 Clean up REQUIRES lines. 2001-10-07 10:35:41 +00:00
jaggernaut%netscape.com fdc4078bc4 Bug 100476: Convert uses of member functions ToNewUnicode, ToNewCString and ToNewUTF8String to their global versions and remove support from nsCString and nsString. r=dbaron, rs=scc 2001-09-29 08:28:41 +00:00
gerv%gerv.net f385eb981a Relicensing Round 1, Take 2. Most C-like NPL files -> NPL/GPL/LGPL. Bug 98089. 2001-09-28 20:14:13 +00:00
jaggernaut%netscape.com e25262c61f One module per line for REQUIRES. r=/sr=alecf 2001-09-18 22:01:13 +00:00
jaggernaut%netscape.com 3826eb9902 Bug 73353: splitting the modules on the REQUIRES lines in Makefile.in across multiple lines to more clearly show the changes made. sr=alecf 2001-09-18 13:41:47 +00:00
alecf%netscape.com cf9912aa80 Final REQUIRES changes for bug 98371, adding support for MOZ_TRACK_MODULE_DEPS to win32. r=cls (and tested by cls!) 2001-09-17 19:06:35 +00:00
alecf%netscape.com e5cc5abd22 Add REQUIRES to many modules for win32 support, bug 98372 r=cls 2001-09-12 20:32:40 +00:00
valeski%netscape.com ac33036169 r=dbaron, sr=dougt. 97667. nsIInterfaceRequestor is now frozen. nsIInterfaceRequestorUtils.h is now required if you want to use do_GetInterface() for convenience. The two were split because the stuff that is now in nsIInterfaceRequestorUtils.h wasn't ready for freezing. Also, .idl files should just contain interface defs anyway. 2001-09-05 21:28:38 +00:00
ccarlen%netscape.com df0bf4898e Bug 86021 - Enable -turbo for multiple profiles. r=valeski, r=/sr=blake,waterson, a=dbaron 2001-08-29 14:02:38 +00:00
ccarlen%netscape.com c2136b9bbc Bug 89854 - Confirm migration dialog won't fit on small screen. r=racham/sr=ben 2001-08-22 06:54:01 +00:00
cls%seawood.org 8405a1984e Use NS_PTR_TO_INT32 macros to do 64-bit safe pointer conversions.
Bug #20860 r=Roland.Mainz@informatik.med.uni-giessen.de sr=brendan@mozilla.org
2001-08-14 07:59:59 +00:00
ccarlen%netscape.com 49e3ea9ec6 Bug 87904 - Show the profile dir path when confirming profile deletion. r=racham/sr=blake 2001-08-10 14:55:19 +00:00
jaggernaut%netscape.com c14d9c09a1 Bug 86734: Remove NS_WITH_SERVICE. r=dbaron, rs=scc, a=asa 2001-07-25 07:54:28 +00:00
pete%alphanumerica.com f65c767018 Fix for nsIFile delete conflicts with JS reserved name b=37406, r=dougt, sr=jst
Renamed all Delete methods to Remove.

--pete
2001-07-24 18:38:25 +00:00
jaggernaut%netscape.com 4d73a251ab Bug 73353: clean up the REQUIRES lines in Makefiles. 2001-07-23 22:36:12 +00:00
ccarlen%netscape.com 629f13c16b Bug 56587 - mozilla -CreateProfile foo creates ~/.mozilla/foo/foo/* r=racham/sr=sspitzer 2001-07-20 14:47:08 +00:00
dbaron%fas.harvard.edu bf82abfd11 Header include dependency cleanup. b=64023 r=jag rs=brendan 2001-07-16 02:40:48 +00:00
jaggernaut%netscape.com 03ab87e4a1 Bug 88413: Remove |GetUnicode()| from nsString (and replace it with |get()|). r=dbaron, rs=scc.
This removes all call-sites I can currently fix. Tomorrow I'll try to get someone to checkin my changes to security/ and I'll get some help with the Netscape side of things.

nsString::GetUnicode()'s final death-blow will be dealt soon. Please keep this in mind as you add new code :-)
2001-06-30 11:02:25 +00:00
katakai%japan.sun.com 2b503479d5 bug 80230
RFE: need -region option to switch Region at start up
r=ccarlen, nhotta, sr=blizzard
2001-06-27 07:38:53 +00:00
ccarlen%netscape.com 8cc6ac99dc Bug 86922 - app hangs after profile migration dialog. r=danm/sr=alecf/a=chofmann 2001-06-25 11:27:56 +00:00
waterson%netscape.com 0877b1a573 Land STATIC_BUILD_20010612_BRANCH, which supports building mozilla with components statically linked into the executable, as well as 'meta modules' that combine components into uber-DLLs. 2001-06-20 20:21:49 +00:00
ccarlen%netscape.com c02ab62d96 Bug 86021 - enable multiple profiles in -turbo mode. r=racham/sr=alecf/a=chofmann 2001-06-20 06:49:22 +00:00
ccarlen%netscape.com af1bc07493 Bug 81706 - Disable "turbo" mode when multiple profiles are present. r=law/sr=blake/a=asa 2001-06-15 20:33:34 +00:00