Commit Graph

431 Commits

Author SHA1 Message Date
ccarlen%netscape.com
47683e635f Profile sharing - changes to profile dirserviceprovider, a component to control whether sharing is enabled. bug=202474, rs=dougt/sr=darin/a=asa 2003-05-02 03:59:23 +00:00
mscott%netscape.com
298ae29b93 change a MOZ_PHOENIX ifdef to a MOZ_XUL_APP ifdef because we don't want thunderbird migrating 4.x profiles
either.
2003-04-26 00:50:11 +00:00
seawood%netscape.com
f7bf89f618 Remove global _POSIX_SOURCE & _SVID_SOURCE defines for linux.
Bug #202510 r=darin
2003-04-18 20:14:17 +00:00
ccarlen%netscape.com
d5252f96d3 Bug 190336 - enable 4.x profile migration for Mach-O. Patch by cavin,ccarlen. r=ssu,sfraser/sr=sspitzer 2003-04-18 14:28:21 +00:00
ssu%netscape.com
669e313b68 fixing bug 195148 - XPInstall API's getFolder should support Classic and OSX folders under OSX. r=ccarlen,dougt sr=sspitzer 2003-04-07 07:02:32 +00:00
seawood%netscape.com
80e1b303cc Purge XP_PC.
Bug #56767 r=mkaply sr=alecf
2003-04-02 22:45:08 +00:00
mkaply%us.ibm.com
0dee744062 More OS/2 bustage - I'm starting to understand it now - nsIFileSpec.h was including other stuff and now that it is gone, we are discovering header dependencies 2003-03-15 16:58:22 +00:00
dougt%netscape.com
0d2808c511 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
748c7ba5bd 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
0fcd29efcb 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
c634afcc6c 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
5d8e135f75 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
84f33505f2 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
b9b48c7b31 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
025bca4cc7 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
6c3e7fee5f Fix broken profile locking on OpenVMS. b=180738 r=ccarlen sr=dveditz 2002-11-21 13:34:25 +00:00
blizzard%redhat.com
545306f56c 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
22320cc55e 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
135eb15e99 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
298b1a5d32 Fixing tinderbox orangeness, OS2 bustage 2002-11-09 22:05:09 +00:00
ccarlen%netscape.com
bd10f91b44 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
496f22c03e 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
94557070ad 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
00d8c265c4 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
b5e36ab883 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
16b3767234 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
32d8005d63 Bug 118203 - nsLocalFile implementation for Mach-0. r=pinkerton, sdagley/sr=sfraser 2002-09-25 12:23:39 +00:00
seawood%netscape.com
a0b51a98f1 Restoring setting of mCurrentProfileAvailable so that prefs.js is actually created. 2002-09-18 19:51:57 +00:00
seawood%netscape.com
8f5c0d4b40 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
68faeb5241 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
f8534aaca7 fix build bustage 2002-09-07 13:40:32 +00:00
dougt%netscape.com
f2a00efc93 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
dc6d6e3736 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
4f8934ad1d 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
9b217887fe oops, one more file for bug 162741
r=bryner, sr=hyatt
2002-08-20 18:15:54 +00:00
alecf%netscape.com
03f69e9a10 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
d9f555d2f5 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
322da773fb Removing old nmake build makefiles. Bug #158528 r=pavlov 2002-08-10 07:55:43 +00:00
hyatt%netscape.com
844a01e44f ifdefs for phoenix. 161448. not part of main mozilla build. 2002-08-07 09:26:30 +00:00
henry.jia%sun.com
eed9ab0bdd 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
f7ad4265ef 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
47b3f07056 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
5591e7c154 Bug 147373 - Crash in nsProfileStruct::ExternalizeMigratedFromLocation. r=bnesse/sr=jag/a=asa 2002-07-11 21:36:34 +00:00
alecf%netscape.com
bcf192e308 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
ff565458a8 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
d517bd23b8 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
3a23d4a133 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
6fd5862e6e 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
1d1bdd5eb5 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
4021035d0e 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
e554d83626 fixes bug 129279 "nsIFile unicode/utf8/ascii task"
r=dougt sr=alecf
2002-04-27 05:33:09 +00:00
alecf%netscape.com
6aea0c1b86 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
4664d0a626 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
fba198f16c 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
5fe0b177f4 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
b280e94dfe 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
451df7d6c3 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
aabb968456 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
a6a1655268 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
59892aa65e 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
64bd1d857e 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
f07bc3f6b9 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
9911eb9542 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
a6c44d0c44 dependency update 2002-02-06 22:52:53 +00:00
sfraser%netscape.com
d133d4956f Making the nsModuleComponentInfo data const; bug 74803. r=dp, sr=waterson 2002-01-30 21:14:20 +00:00
ccarlen%netscape.com
ba7c350d9b 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
45bfbf0658 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
97b0530073 Bug 104158: Use NS_LITERAL_STRING instead of XXXWithConversion("..."). r=bryner, rs=alecf 2001-12-16 11:58:03 +00:00
rjc%netscape.com
b3f718cc88 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
efee7eec18 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
829cad4d9c 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
0c95f23583 #disable debug message in optimized build
r=danm sr=waterson
2001-11-30 00:36:56 +00:00
sspitzer%netscape.com
4fb369d79d 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
b64198bebc 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
26818ce2cf 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
2f71666636 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
be10c3b1a8 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
e277e38c45 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
8a2a775382 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
4e35b7a7ed 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
729180f6cd 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
8b0ceb8c3c 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
0a62d4e8d5 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
d18d7e2b17 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
c39b98b2a4 Clean up REQUIRES lines. 2001-10-07 10:35:41 +00:00
jaggernaut%netscape.com
ca6197295f 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
4e12e44b2f 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
d1a7bfa843 One module per line for REQUIRES. r=/sr=alecf 2001-09-18 22:01:13 +00:00
jaggernaut%netscape.com
dc40187223 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
62424ee7b2 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
1e0e7dd033 Add REQUIRES to many modules for win32 support, bug 98372 r=cls 2001-09-12 20:32:40 +00:00
valeski%netscape.com
93959d48cc 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
d48280a189 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
f18583412a 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
a3c1dd1b09 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
ef43831518 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
e91f8a147e Bug 86734: Remove NS_WITH_SERVICE. r=dbaron, rs=scc, a=asa 2001-07-25 07:54:28 +00:00
pete%alphanumerica.com
f020dcc1cd 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
cb0faab070 Bug 73353: clean up the REQUIRES lines in Makefiles. 2001-07-23 22:36:12 +00:00
ccarlen%netscape.com
f14c5c7b88 Bug 56587 - mozilla -CreateProfile foo creates ~/.mozilla/foo/foo/* r=racham/sr=sspitzer 2001-07-20 14:47:08 +00:00