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

145 Коммитов

Автор SHA1 Сообщение Дата
reed@reedloden.com bc0f2ba829 Bug 399500 - "support XDG user dirs in the directory service" [p=chpe@gnome.org (Christian Persch) r=caillon sr=bsmedberg a1.9=damons] 2008-03-12 15:35:56 -07:00
jwalden@mit.edu 6d7584839a Bug 348748 - Replace all instances of NS_STATIC_CAST and friends with C++ casts (and simultaneously bitrot nearly every patch in existence). r=bsmedberg on the script that did this. Tune in next time for Macro Wars: Episode II: Attack on the LL_* Macros. 2007-07-08 00:08:04 -07:00
asqueella@gmail.com 4f83fa46f3 Bug 347752 - Crash [@ MSVCR80.dll] when using nsIProperties service get method with null argumentp=Alfred Kayser <alfredkayser@nl.ibm.com>r=darin, sr=dougt 2007-05-13 09:48:39 -07:00
joshmoz%gmail.com f94613b36d remove XP_MAC from xpcom. b=281889 r=bsmedberg 2006-11-16 09:10:09 +00:00
jshin%mailaps.org 1a85765ae5 bug 359808 : drop support for Win 9x/ME (r/sr=darin) 2006-11-16 00:59:55 +00:00
dougt%meer.net ffbceaba41 Bug 308073. Adding Download folder to directory service. r=timeless 2006-10-24 20:56:13 +00:00
timeless%mozdev.org 664b6df306 Bug 20232 Replace T::GetIID() (etc.) with NS_GET_IID(T)
r=bsmedberg sr=biesi
2006-09-17 00:04:39 +00:00
jshin%mailaps.org ebc7ee6742 bug 162361 : Unicode file i/o in XPCOM/IO (cannot open files whose names contain characters outside the current locale: e.g. Japanese/Chinese on French Windows) : r/sr=darin, r=bsmedberg 2006-03-22 04:26:30 +00:00
dougt%meer.net db0f13d809 Cleaning up PR_GetEnv() usage. b=306840. r=timeless, patch by serge gautherie 2006-03-19 02:52:30 +00:00
bsmedberg%covad.net 4989d9b958 Bug 311346 - Add directory service key for "C:\Program Files" r=darin 2005-10-09 19:00:19 +00:00
timeless%mozdev.org c113ece289 Bug 308573 use if (NS_FAILED(...)) instead of if NS_FAILED(...)
patch by b.jacques@planet.nl r=darin sr=darin
2005-09-15 23:17:17 +00:00
bob%bclary.com a2e1954ed3 Bug 303506 - make xpcom nsDirectoryService assertions more meaningful, r=dougt,sr=shaver 2005-09-04 19:10:10 +00:00
timeless%mozdev.org aeed2ff9b7 Bug 298053 directoryservice.nsIProperties.has("nonexistant") should return false instead of throwing an exception
r=dougt a=asa
2005-06-21 14:45:50 +00:00
bsmedberg%covad.net 4a8809af8d Yet another bustage fix, bug 296430. 2005-06-07 20:19:07 +00:00
bsmedberg%covad.net d452b979ba Hopefully a bustage fix for MSVC6, bug 296430 2005-06-07 20:01:24 +00:00
bsmedberg%covad.net 11933987ac Bug 296430, part "xpcom" - Add a category for directory-service providers which will be registered after autoregistration but before xpcom-startup r=darin a=asa 2005-06-07 19:35:20 +00:00
bsmedberg%covad.net d2c7c9131d Bug 295247 - Allow extensions to ship plugin DLLs, part 1 - r=darin a=shaver 2005-06-02 13:29:04 +00:00
cbiesinger%web.de bf9707a51b 291033 support "local" profile directories
r=bsmedberg sr=darin a=asa
2005-04-27 11:56:40 +00:00
timeless%mozdev.org 317bcf05d6 Bug 287987 FindProviderFile should continue Enumerating on failed QI
patch by bugspam.Callek@gmail.com r=darin sr=darin a=asa
2005-04-10 05:43:33 +00:00
roc+%cs.cmu.edu c0f1276ed2 Bug 241245. Make 'Desk' a supported system directory on Unix, and make it fully cross-platform. r+sr=darin 2005-03-01 01:03:33 +00:00
cbiesinger%web.de d1b324f2e4 Bug 235691 [beos] Mozilla/Firefox don't start
patch by tqh <thesuckiestemail@yahoo.se> r=sergei_d sr=dougt
2005-02-01 14:46:40 +00:00
joshmoz%gmail.com 7775db1467 work around crash when starting a download if download folder not specified in IC preferences (e.g. a fresh user account) b=265903 sr=pinkerton 2005-01-20 21:28:44 +00:00
bzbarsky%mit.edu 62a5127738 Relanding, since backing out did not fix orange. Bug 232691. 2004-05-22 20:02:43 +00:00
bzbarsky%mit.edu 9d1344f8ba Test backout to maybe fix mac orange. Bug 232691 2004-05-22 18:49:53 +00:00
bzbarsky%mit.edu abcad1dc39 Convert users of nsC?String(), nsC?AutoString(), and NS_LITERAL_C?STRING("") to
using EmptyC?String instead.  Bug 232691, patch by Charles Fenwick
<clf03f@garnet.acns.fsu.edu>, r+sr=bzbarsky
2004-05-22 17:04:53 +00:00
gerv%gerv.net 31625ba2b1 Bug 236613: change to MPL/LGPL/GPL tri-license. 2004-04-18 14:21:17 +00:00
bryner%brianryner.com 0c7c3a2ff3 Bug 229875 - eliminate unnecssary public/virtual destructors. This patch changes all refcounted classes under xpcom/, which aren't inherited from or used on the stack, to have private, nonvirtual destructors. r=dougt, sr=dbaron. 2004-01-15 06:14:18 +00:00
bzbarsky%mit.edu eb0805091d Use the right dir as the default download location. Bug 204548, patch by
josha@mac.com (Josh Aas), r=sdagley, sr=bzbarsky
2004-01-06 07:37:55 +00:00
cbiesinger%web.de f1d3381adb Bug 183871
Crash on "Show hidden files and directories" [@ nsFileView::SetDirectory(nsIFile*) ]
fix: don't let files be initialized with relative paths.
also fix the directory service to not do that.

r=dougt sr=bzbarsky
2003-12-25 22:05:01 +00:00
bsmedberg%covad.net 0568e675fc Bug 179834. Separate application resources and GRE resources. r=darin sr=dougt 2003-09-13 17:55:56 +00:00
jaggernaut%netscape.com 817298ce0b Bug 212272: Switch some Substring users over to String(Begins|Ends)With. r=dwitte, sr=bzbarsky 2003-07-14 07:37:39 +00:00
seawood%netscape.com 8fdbbdff1d Make user-specific application directory name configurable using --with-user-appdir.
Thanks to Ben Bucksch <ben.bucksch@beonex.com> for the original patch.
Bug #58327 r=dougt
2003-07-01 18:32:49 +00:00
alecf%netscape.com 0b48cf638a fix for bug 199170 - more static atom work in xpcom, chrome registry, rdf, and profile dir service provider.. sr=bryner, r=ccarlen 2003-04-15 22:19:01 +00:00
ccarlen%netscape.com 9885ed4d9c Bug 200662 - [OSX]GetCurrentProcessDirectory can fail. r=/sr=sfraser. 2003-04-07 14:29:56 +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
alecf%netscape.com 3a52f618a6 fix for bug 199170 - convert xpcom over to using static atoms
r=dougt, r=ccarlen
2003-04-03 20:02:03 +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
dougt%netscape.com a4c7c7573f Converting the file location of the component registry and the xpti manifest file to use the directory service. r=darin, b=191055 2003-03-11 21:36:59 +00:00
danm%netscape.com fe48a1a8ee adding windows cookie system directory specifier. bug 185689 r=ccarlen,jag 2003-01-10 02:52:26 +00:00
dbaron%dbaron.org b9083989bb Bug 178643: Remove uses of NS_INIT_ISUPPORTS, since it is no longer needed. r=timeless sr=jag 2003-01-08 23:19:20 +00:00
sdagley%netscape.com 46305345e1 Fix #183856 - don't cache DL folder as user may change it while we're running. r=ccarlen,sr=sfraser 2002-12-22 01:21:29 +00:00
akkana%netscape.com 1a8bd4f0ed 169615: Get rid of MOZILLA_FIVE_HOME warning. r=dmose sr=sspitzer 2002-11-27 23:02:17 +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
chak%netscape.com 196cbe728a Fix for #168255 - Change references to MRE into GRE in XPCOM/Embedding
r=dougt, sr=alecf
2002-09-13 22:18:43 +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
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
jfrancis%netscape.com 94ae893f2d fix for Bug 154932: Mozilla will not start on MacOS 8.6 if filesharing is on. Corrected the construction of an FSSpec in nsDirectoryService.cpp r=ccarlen sr=sfraser 2002-07-16 22:17:56 +00:00
ccarlen%netscape.com bd87df6f92 Bug 134448 - xpti needs to scan OS-defined plugin dirs. r=peterl, sr=beard 2002-06-14 12:30:44 +00:00
chak%netscape.com c2bcdc4a98 Fix for #130877 - Chnages to create app specific component registries
r=dougt, sr=shaver, a=drivers
2002-06-11 20:38:01 +00:00
dougt%netscape.com e202a87635 Fix for 149754. cleaner xpcom shutdown. r=rpotts, sr=shaver 2002-06-11 19:38:41 +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
darin%netscape.com e554d83626 fixes bug 129279 "nsIFile unicode/utf8/ascii task"
r=dougt sr=alecf
2002-04-27 05:33:09 +00:00
ccarlen%netscape.com e796f5c804 Bug 116435 - The provider in nsAppFileLocationProvider.cpp should always be registered. r=dougt/sr=rpotts/a=dbaron 2002-01-22 23:00:44 +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
ccarlen%netscape.com ea7a6dcd37 Bug 105440 - directory service needs new keys and be able to support lists of directories. r=valeski/sr=jband 2001-11-02 15:29:57 +00:00
seawood%netscape.com 9b5ae05e33 Landing the rest of the mach-o OSX changes.
Bug #75653 r=cls sr=waterson
2001-10-27 07:38:18 +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
brendan%mozilla.org dbd7fed5b1 FASTLOAD_20010703_BRANCH landing, r=dbaron, sr=shaver. 2001-07-31 19:05:34 +00:00
ccarlen%netscape.com fdd2288a50 Bug 74247 - Fizzilla should use $HOME/Library/Mozilla to store profiles. r=pinkerton/sr=sfraser/a=asa 2001-06-14 01:24:22 +00:00
ccarlen%netscape.com d9dd3b5321 Fix for bug 64501 - allow embedding apps to specify app registry location. Moves appfilelocprovider into xpcom. r=dougt@netscape.com, sr=brendan@mozilla.org 2001-01-18 22:51:57 +00:00
mkaply%us.ibm.com b12d0a5ba2 #56767
r/a=cls,leaf
Remove XP_PC - use XP_WIN or XP_OS2 explicitly
2000-11-28 23:27:38 +00:00
cls%seawood.org 5aafa0b4a6 Under BeOS, we must call Normalize() on a local file before it can be used.
Thanks to Hiromasa Kato <hiro@eng.ia.state.edu> for the patch. Bug #53014. r=cls@seawood.org sr=scc@mozilla.org
2000-11-28 01:41:05 +00:00
mkaply%us.ibm.com 407f3c54a9 #55813
r=dougt, sr/a=waterson
Support for a MOZILLA_HOME dir to specify pref location
2000-11-01 20:04:59 +00:00
warren%netscape.com cd56c0575b 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 9a6d92a433 Bug 47207. Changing printf to PRINTF to use new logging facility. r=valeski,sr=waterson 2000-10-27 22:43:51 +00:00
ramiro%eazel.com f155f7f244 Bug 56793. Add support for building unix mozilla with a default
MOZILLA_FIVE_HOME.  Build changes r=cls.  Small XPCOM change sr=scc.
2000-10-21 08:33:16 +00:00
mkaply%us.ibm.com a47da58b87 #54535
r=mkaply, dougt, a=jband
Code from jpedemonte to fix profile creation
2000-09-29 20:40:10 +00:00
warren%netscape.com 52514c7ffc Bug 46772. Added nsIDirectoryService::UnregisterProvider 2000-09-08 04:57:33 +00:00
pchen%netscape.com 605a452be5 bug #43585, r=sfraser, add atoms and case for new mac default download folder dir 2000-09-06 21:13:02 +00:00
mkaply%us.ibm.com 2fcc576271 #51105
r=dougt, a=brendan
Missing OS/2 support for HOME dir
2000-09-01 22:53:55 +00:00
cls%seawood.org 11e77d89f5 Build fixes for BeOS. Thanks to Dan Moore <pergamon@68k.org> for the patch. 2000-08-30 07:21:31 +00:00
racham%netscape.com 2e07457d80 Fixing bug 6464. Moving Users50 and registry location on windows to Application Data folder. r=dveditz,ccarlen 2000-08-29 23:44:48 +00:00
racham%netscape.com 7e1c976d1e Fixing bug 49699. Adding a windows directory as fall back to all those windows OS versions that return null for HOME. r=dougt 2000-08-23 01:24:30 +00:00
mkaply%us.ibm.com 6ddfa37f7e OS/2 Tinderbox break
OK will someone WAKE UP and realize that we need XP_WIN defined in the build?
XP_PC does NOT mean XP_WIN.
WE NEED XP_WIN IN THE BUILD
SOMEONE TURN IT ON IN THE MAKEFILE!
2000-08-17 03:18:03 +00:00
racham%netscape.com cddb62593d 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
conrad%ingress.com 26dd1bf2fd 1. Changed from using strings to using macro names for property keys 2. Fixed return val of RegisterProvider r=valeski 2000-08-11 20:25:18 +00:00
warren%netscape.com 84b5fd67e3 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
mkaply%us.ibm.com 6ed25d5b08 #42637
r=valeski, a=brendan
OS/2 bringup - Support for OS/2 special system directories
2000-06-27 21:23:51 +00:00
dougt%netscape.com 87f7739f82 Initializing var before use. simple fix. 2000-06-27 20:55:54 +00:00
mscott%netscape.com 0152413cae Bug #33768 --> add MakeUnqiue to nsIFile. this is actually dougt's code.
r=mscott
2000-06-21 06:32:45 +00:00
bryner%uiuc.edu 8195675560 Fix for blocker bug 42371 - unable to startup on Linux. r=akkana. 2000-06-13 20:26:30 +00:00
inaky.gonzalez%intel.com 98157fd5a1 Fixed nsSupportsHashtable behaviour and API to fix leaks in
nsDirectoryService. Fixes bugs #38606 and #39859.

a=waterson; r=rayw,brendan,warren
2000-06-06 22:06:56 +00:00
mkaply%us.ibm.com 94965403ad # 37239
r = dougt, a = brendan
OS/2 bringup continues on M16 - #ifdefs for OS/2 only
2000-05-25 14:26:34 +00:00
mkaply%us.ibm.com 5be272bc33 # 37239
r= dougt@netscape.com
OS/2 bring up continues - xpcom changes - #ifdefs for OS/2
2000-05-01 22:25:44 +00:00
dougt%netscape.com 6b120ecb69 Patch from Tim Rowley <tor@cs.brown.edu>.
From his email:

Your checkin v1.9 to nsDirectoryService.cpp broke a SUNWspro4.2
debug build of mozilla, causing xpcom to fail initializing.  The
root problem was that nsDirectoryService::Create() was failing.
This appears to a mistake caused by a shadowed copy of the "rv"
variable in that method.  The fix below causes the SUNWspro build
to start up normally.

Not sure why this didn't break other platforms.
2000-04-26 21:37:45 +00:00
sspitzer%netscape.com 8b419ec4eb fix the threadsafe assertion. 2000-04-25 14:56:59 +00:00
dougt%netscape.com 4ebce97a3b checked in warren's patch to remove circular memory leak in directory service
removed strcmp'er in favor of atom compares.
added comments to nsFileSpec indicating that it is no longer supported.
2000-04-25 01:48:02 +00:00
dougt%netscape.com fc2a69ba00 Adding xpcom.currentProcess 2000-04-24 22:54:04 +00:00
dbragg%netscape.com 28c8f393d4 Fully implemented the DirectoryService and fixed the Mac nsFileSpecToIFile 2000-04-20 22:49:18 +00:00
dougt%netscape.com 6e4324a177 Added a .get() to a comptr to make it compile on linux. 2000-02-21 22:09:24 +00:00
dougt%netscape.com 8c83662e4d Fixes for 28257, 21628, 27076, 18186, 25584
1) Implement nsDirectoryService.  This makes the service extensible so that
components can do delayed registration.

2) Fixes windows Append meathod which did not work with . prepended files.

3) Fixes memory leaks in nsDirectoryService

4) Fixes SetPermissions() on Win32.  This was in my tree for a while.  It basically
calls through to chmod just like on unix.

5) Fixes GetModificationDate. Win32 now return PRTime for dates.

r = scc, valeski, warren, wtc (suggestions)
a = jevering
2000-02-21 21:51:47 +00:00
beard%netscape.com 19afa18999 bustage fix. r=dougt 2000-01-25 22:35:47 +00:00
ssu%netscape.com cbeb05e698 Fixing up directory service so that the current process will be looked up
before being calculated.

Changed this GetProcessDirectory to return an allocated nsIFile.

Making sure that object stored in the nsHashtable are not muteable.

dougt's changes.  r=ssu.  a=granrose.
2000-01-25 20:43:47 +00:00
dougt%netscape.com 0b0346079c Landing nsIFile. 2000-01-24 21:28:28 +00:00
dougt%netscape.com 95f50f9301 1. First cut of a Special System Directory replacement (nsDirectoryService).
It is a nsIProperty.

2. Updates to the nsIFile and nsILocalFile interfaces based on conversations
   with warren. (thanks)

3. Updated windows mac and unix implementations based on interface changes.
   Mac and windows changes need to be reviewed.


                          Not part of build.
1999-12-22 01:56:45 +00:00