385 Commits

Author SHA1 Message Date
alecf%flett.org
1c89787dc0 fix for bug 206379:
- combine nsICharsetConverterManager2 and nsICharsetConverterManager
- get rid of nsIAtom in most of the methods
- provide versions of getUnicodeDecoder/Encoder which don't do alias resolution
- change all charset types to ASCII strings
- clean up some other i18n APIs which could be simplified
- fix all consumers of all changed i18n interfaces
r=jshin, smontagu
rs=sfraser


git-svn-id: svn://10.0.0.236/trunk@143589 18797224-902f-48f8-a5cc-f745e15eee43
2003-06-11 18:16:03 +00:00
dwitte%stanford.edu
dc7e857400 bug 100649: Length() being used where IsEmpty() is meant
treewide changes to convert incorrect usages of string.Length() to string.IsEmpty().

thanks to afatecha@idea.com.py (Ariel Fatecha) for the patch. r=dwitte, sr=jst.

got the ok from Asa to land into a closed tree.


git-svn-id: svn://10.0.0.236/trunk@142828 18797224-902f-48f8-a5cc-f745e15eee43
2003-05-23 21:34:47 +00:00
ccarlen%netscape.com
95d3fb2a05 Make it possible for other XUL apps to hide profile switching UI. b=204908, r=/sr=/a=sspitzer
git-svn-id: svn://10.0.0.236/trunk@142264 18797224-902f-48f8-a5cc-f745e15eee43
2003-05-09 13:06:29 +00:00
kaie%netscape.com
55d5ec4d6e b=193170 PSM must disallow using NSS database with wrong profile
r=ccarlen sr=jag a=asa


git-svn-id: svn://10.0.0.236/trunk@142199 18797224-902f-48f8-a5cc-f745e15eee43
2003-05-08 13:39:35 +00:00
ccarlen%netscape.com
a2f166be98 Profile sharing - changes to profile dirserviceprovider, a component to control whether sharing is enabled. bug=202474, rs=dougt/sr=darin/a=asa
git-svn-id: svn://10.0.0.236/trunk@142041 18797224-902f-48f8-a5cc-f745e15eee43
2003-05-02 03:59:23 +00:00
mscott%netscape.com
2559f09db7 change a MOZ_PHOENIX ifdef to a MOZ_XUL_APP ifdef because we don't want thunderbird migrating 4.x profiles
either.


git-svn-id: svn://10.0.0.236/trunk@141837 18797224-902f-48f8-a5cc-f745e15eee43
2003-04-26 00:50:11 +00:00
seawood%netscape.com
3b350b75cd Remove global _POSIX_SOURCE & _SVID_SOURCE defines for linux.
Bug #202510 r=darin


git-svn-id: svn://10.0.0.236/trunk@141408 18797224-902f-48f8-a5cc-f745e15eee43
2003-04-18 20:14:17 +00:00
ccarlen%netscape.com
a218d75e49 Bug 190336 - enable 4.x profile migration for Mach-O. Patch by cavin,ccarlen. r=ssu,sfraser/sr=sspitzer
git-svn-id: svn://10.0.0.236/trunk@141389 18797224-902f-48f8-a5cc-f745e15eee43
2003-04-18 14:28:21 +00:00
ssu%netscape.com
7bcfb95f5b fixing bug 195148 - XPInstall API's getFolder should support Classic and OSX folders under OSX. r=ccarlen,dougt sr=sspitzer
git-svn-id: svn://10.0.0.236/trunk@140789 18797224-902f-48f8-a5cc-f745e15eee43
2003-04-07 07:02:32 +00:00
seawood%netscape.com
5921049139 Purge XP_PC.
Bug #56767 r=mkaply sr=alecf


git-svn-id: svn://10.0.0.236/trunk@140602 18797224-902f-48f8-a5cc-f745e15eee43
2003-04-02 22:45:08 +00:00
mkaply%us.ibm.com
b3060e2791 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
git-svn-id: svn://10.0.0.236/trunk@139522 18797224-902f-48f8-a5cc-f745e15eee43
2003-03-15 16:58:22 +00:00
dougt%netscape.com
fed2927b2c 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.


git-svn-id: svn://10.0.0.236/trunk@139480 18797224-902f-48f8-a5cc-f745e15eee43
2003-03-15 01:04:32 +00:00
dbaron%dbaron.org
a4baf8e91e Backout checkin for bug 171343 (no longer needed) in the hopes of fixing talkback on Linux. b=176886 r=bryner a=asa
git-svn-id: svn://10.0.0.236/trunk@137010 18797224-902f-48f8-a5cc-f745e15eee43
2003-01-28 01:41:01 +00:00
ccarlen%netscape.com
1aa09ccb4d Bug 97622 - Put in UI to expose dynamic profile switching. r=kaie/sr=alecf
git-svn-id: svn://10.0.0.236/trunk@136821 18797224-902f-48f8-a5cc-f745e15eee43
2003-01-22 06:13:39 +00:00
racham%netscape.com
7415cb9092 Fixing bug 173267. Add method to get profile field values information from the registry. r=ccarlen, sr=sspitzer
git-svn-id: svn://10.0.0.236/trunk@136108 18797224-902f-48f8-a5cc-f745e15eee43
2003-01-10 00:39:52 +00:00
ccarlen%netscape.com
ee1b4f4ef9 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
git-svn-id: svn://10.0.0.236/trunk@136050 18797224-902f-48f8-a5cc-f745e15eee43
2003-01-09 03:19:22 +00:00
dbaron%dbaron.org
186eca206d Bug 178643: Remove uses of NS_INIT_ISUPPORTS, since it is no longer needed. r=timeless sr=jag
git-svn-id: svn://10.0.0.236/trunk@136023 18797224-902f-48f8-a5cc-f745e15eee43
2003-01-08 22:45:23 +00:00
kaie%netscape.com
f0157ede55 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


git-svn-id: svn://10.0.0.236/trunk@135260 18797224-902f-48f8-a5cc-f745e15eee43
2002-12-13 20:39:03 +00:00
ccarlen%netscape.com
6aebccbf0e Bug 175867 - CFM and Mach-0 profile locking mechanisms are different. r=bryner/sr=sfraser
git-svn-id: svn://10.0.0.236/trunk@134367 18797224-902f-48f8-a5cc-f745e15eee43
2002-11-23 18:11:38 +00:00
colin%theblakes.com
b5321ce17e Fix broken profile locking on OpenVMS. b=180738 r=ccarlen sr=dveditz
git-svn-id: svn://10.0.0.236/trunk@134258 18797224-902f-48f8-a5cc-f745e15eee43
2002-11-21 13:34:25 +00:00
blizzard%redhat.com
3f20d30c54 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
git-svn-id: svn://10.0.0.236/trunk@133874 18797224-902f-48f8-a5cc-f745e15eee43
2002-11-15 01:47:59 +00:00
kaie%netscape.com
7f5f32734d 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


git-svn-id: svn://10.0.0.236/trunk@133803 18797224-902f-48f8-a5cc-f745e15eee43
2002-11-14 01:50:14 +00:00
mkaply%us.ibm.com
2a315191f0 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
git-svn-id: svn://10.0.0.236/trunk@133515 18797224-902f-48f8-a5cc-f745e15eee43
2002-11-10 00:48:10 +00:00
ccarlen%netscape.com
55388286d8 Fixing tinderbox orangeness, OS2 bustage
git-svn-id: svn://10.0.0.236/trunk@133505 18797224-902f-48f8-a5cc-f745e15eee43
2002-11-09 22:05:09 +00:00
ccarlen%netscape.com
bac3fcaf96 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
git-svn-id: svn://10.0.0.236/trunk@133503 18797224-902f-48f8-a5cc-f745e15eee43
2002-11-09 19:38:43 +00:00
bryner%netscape.com
ec1ce6b084 Use only fcntl-based profile locking on Mac OS X (disable symlink-based
locking).  Fixes bug 176608.  r=ccarlen, sr=jag, a=roc.


git-svn-id: svn://10.0.0.236/trunk@132660 18797224-902f-48f8-a5cc-f745e15eee43
2002-10-30 00:06:58 +00:00
bryner%netscape.com
97d98b9475 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.
git-svn-id: svn://10.0.0.236/trunk@131795 18797224-902f-48f8-a5cc-f745e15eee43
2002-10-11 08:44:02 +00:00
bryner%netscape.com
569797c848 Backing out patch for bug 171343. I need to do autoconf tests for siginfo_t and SA_SIGINFO, it seems.
git-svn-id: svn://10.0.0.236/trunk@131398 18797224-902f-48f8-a5cc-f745e15eee43
2002-10-08 05:51:24 +00:00
bryner%netscape.com
66cc2aba8d Fix bustage on btek by defining _POSIX_C_SOURCE to 199506L, to get the |siginfo_t| type defined.
git-svn-id: svn://10.0.0.236/trunk@131395 18797224-902f-48f8-a5cc-f745e15eee43
2002-10-08 05:16:58 +00:00
bryner%netscape.com
764b016622 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.
git-svn-id: svn://10.0.0.236/trunk@131383 18797224-902f-48f8-a5cc-f745e15eee43
2002-10-08 04:00:03 +00:00
ccarlen%netscape.com
4ea79344a0 Bug 118203 - nsLocalFile implementation for Mach-0. r=pinkerton, sdagley/sr=sfraser
git-svn-id: svn://10.0.0.236/trunk@130418 18797224-902f-48f8-a5cc-f745e15eee43
2002-09-25 12:23:39 +00:00
seawood%netscape.com
ec7b53cab5 Restoring setting of mCurrentProfileAvailable so that prefs.js is actually created.
git-svn-id: svn://10.0.0.236/trunk@129943 18797224-902f-48f8-a5cc-f745e15eee43
2002-09-18 19:51:57 +00:00
seawood%netscape.com
2b61c81084 Call SetCurrentProfile so that LoadNewProfilePrefs() is using the correct profile when checking for new files.
Bug #168433 r=ccarlen sr=alecf


git-svn-id: svn://10.0.0.236/trunk@129919 18797224-902f-48f8-a5cc-f745e15eee43
2002-09-18 17:14:49 +00:00
dougt%netscape.com
e289284076 166917. Clean up xpcom SDK includes. r=rpotts@netscape.com, sr=alecf@netscape.com, a=rjesup@wgate.com
git-svn-id: svn://10.0.0.236/trunk@129050 18797224-902f-48f8-a5cc-f745e15eee43
2002-09-07 17:13:19 +00:00
sspitzer%netscape.com
a8b26df268 fix build bustage
git-svn-id: svn://10.0.0.236/trunk@129044 18797224-902f-48f8-a5cc-f745e15eee43
2002-09-07 13:40:32 +00:00
dougt%netscape.com
1ebc6538fb Move FROZEN ContractID into nsXPCOM.h and define r=rpotts, sr=alec, b=166426
git-svn-id: svn://10.0.0.236/trunk@128770 18797224-902f-48f8-a5cc-f745e15eee43
2002-09-03 23:36:13 +00:00
alecf%netscape.com
e3b2da9c83 bug 157624 - freeze nsISupportsPrimitives, which includes changing nsISupport[C]String over to using A[C]String and fixing consumers
r=dougt, sr=darin


git-svn-id: svn://10.0.0.236/trunk@128163 18797224-902f-48f8-a5cc-f745e15eee43
2002-08-26 21:20:34 +00:00
dougt%netscape.com
0f22b205af Freezes the nsIProperties interface. 162114. r=ccarlen, sr=alecf. Freezes the mozIJSSubScriptLoader interface. 157136. r=rginda, sr=alec.
git-svn-id: svn://10.0.0.236/trunk@128150 18797224-902f-48f8-a5cc-f745e15eee43
2002-08-26 20:36:44 +00:00
alecf%netscape.com
b91485f337 oops, one more file for bug 162741
r=bryner, sr=hyatt


git-svn-id: svn://10.0.0.236/trunk@127714 18797224-902f-48f8-a5cc-f745e15eee43
2002-08-20 18:15:54 +00:00
alecf%netscape.com
b9b46541a9 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


git-svn-id: svn://10.0.0.236/trunk@127711 18797224-902f-48f8-a5cc-f745e15eee43
2002-08-20 18:12:51 +00:00
antonio.xu%sun.com
6e54672f56 replace the hardcode of "@mozilla.org/embedcomp/dialogparam;1" with NS_DIALOGPARAMBLOCK_CONTRACTID
Bug 158608 r=Henry sr=alecf


git-svn-id: svn://10.0.0.236/trunk@127252 18797224-902f-48f8-a5cc-f745e15eee43
2002-08-14 12:39:03 +00:00
seawood%netscape.com
0b3ff474f3 Removing old nmake build makefiles. Bug #158528 r=pavlov
git-svn-id: svn://10.0.0.236/trunk@126975 18797224-902f-48f8-a5cc-f745e15eee43
2002-08-10 07:55:43 +00:00
hyatt%netscape.com
cb8349b654 ifdefs for phoenix. 161448. not part of main mozilla build.
git-svn-id: svn://10.0.0.236/trunk@126654 18797224-902f-48f8-a5cc-f745e15eee43
2002-08-07 09:26:30 +00:00
henry.jia%sun.com
50bd828777 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


git-svn-id: svn://10.0.0.236/trunk@126446 18797224-902f-48f8-a5cc-f745e15eee43
2002-08-06 05:37:58 +00:00
alecf%netscape.com
573e11653f bug 157624 - prep for freezing nsISupports* primitives by renaming the string classes appropriately
nsISupportsString  -> nsISupportsCString
nsISupportsWString -> nsISupportsString
r=dougt, sr=jag


git-svn-id: svn://10.0.0.236/trunk@126389 18797224-902f-48f8-a5cc-f745e15eee43
2002-08-06 00:53:19 +00:00
alecf%netscape.com
7ce57677ba 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


git-svn-id: svn://10.0.0.236/trunk@125651 18797224-902f-48f8-a5cc-f745e15eee43
2002-07-23 23:30:04 +00:00
ccarlen%netscape.com
1674f65ec6 Bug 147373 - Crash in nsProfileStruct::ExternalizeMigratedFromLocation. r=bnesse/sr=jag/a=asa
git-svn-id: svn://10.0.0.236/trunk@125037 18797224-902f-48f8-a5cc-f745e15eee43
2002-07-11 21:36:34 +00:00
alecf%netscape.com
6ebda75c34 fix for bug 101761 - REQUIRES update - remove all REQUIRES that are no longer necessary.. r=cls, a=asa (build-only changes)
git-svn-id: svn://10.0.0.236/trunk@122820 18797224-902f-48f8-a5cc-f745e15eee43
2002-06-06 20:28:14 +00:00
rjesup%wgate.com
b33bd08ac0 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.


git-svn-id: svn://10.0.0.236/trunk@121678 18797224-902f-48f8-a5cc-f745e15eee43
2002-05-16 21:17:27 +00:00
ccarlen%netscape.com
1357b1a684 Bug 144930 - Profile dialog pops up on every launch with QuickLaunch. Regression from bug 76431. r=rjesup@wgate.com/sr=brendan@mozilla.org
git-svn-id: svn://10.0.0.236/trunk@121663 18797224-902f-48f8-a5cc-f745e15eee43
2002-05-16 19:16:31 +00:00