Commit Graph
110 Commits
Author SHA1 Message Date
[email protected] c0cd46fc51 Bug 236613: change to MPL/LGPL/GPL tri-license. 2004-04-18 14:21:17 +00:00
[email protected] 3736b6e206 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
[email protected] 9c4ca41ac2 Bug 122892: nsLocalFile::Clone should preserve stat info.
make nsLocalFile* impls use copy constructors for their nsIFile::Clone methods.
This avoids unnecessary |stat| calls inherent in using NS_NewNativeLocalFile.

b=122892, r=dougt, sr=darin, with many thanks to biesi & mkaply for testing on other
plats.
2003-07-18 22:14:16 +00:00
[email protected] a9723feca4 Bug 187031 [nsLocalFileWin] nsLocalFile::Remove returns os remove values (-1) as nsresults
r=dougt sr=darin
2003-06-18 23:19:11 +00:00
[email protected] 8c37890522 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
[email protected] 2e46ba3918 Bug 179932 - Need GetCFURL() on nsILocalFileMac. r=sdagley/sr=sfraser 2002-11-15 15:35:17 +00:00
[email protected] daf563f3b5 Bug 172018 - Use CFURLs with Mach-0 and Carbon file picker. r=sdagley/sr=sfraser 2002-10-09 03:58:40 +00:00
[email protected] 5a7ab1340d fixes bug 166612 "implement NS_CopyNativeToUnicode / NS_CopyUnicodeToNative
on all platforms" r=dougt sr=alecf
2002-10-06 00:29:46 +00:00
[email protected] f35cd6a826 Bug 118203 - nsLocalFile implementation for Mach-0. r=pinkerton, sdagley/sr=sfraser 2002-09-25 12:23:39 +00:00
[email protected] 46ce738546 166917. Clean up xpcom SDK includes. [email protected], [email protected], [email protected] 2002-09-07 17:13:19 +00:00
[email protected] fe6fc5608c fixes bug 151843 "nsIFile::Append inconsistent across platforms" r=dougt sr=alecf 2002-09-03 22:40:45 +00:00
[email protected] 09c17695e3 fixes bug 142870 "nsIFile should use UCS-2 instead of UTF-8"
r=dougt sr=alecf
2002-05-07 23:07:19 +00:00
[email protected] 81ad63568b Fix #139360 - Don't silently fail when file name from FilePicker >31 characters. Do a mid-trunc until we can switch to HFS+ APIs. r=ccarlen,pinkerton sr=scc 2002-04-29 06:22:55 +00:00
[email protected] cdd08719da fixes bug 129279 "nsIFile unicode/utf8/ascii task"
r=dougt sr=alecf
2002-04-27 05:33:09 +00:00
[email protected] 6ffb36a935 Bug 12911 - use relative file descriptors. This adds the needed methods to nsILocalFile. r=dougt/sr=alecf/a=asa/adt=jaime 2002-04-09 14:12:24 +00:00
[email protected] c6b478b846 fix build bustage, due to nsCRT::strlen(char* s) removed 2002-02-28 05:00:18 +00:00
[email protected] 29582e6399 Fix for bug 98476. Add safe save & redundant backup support for prefs.js. r=sfraser, sr=alecf. 2002-02-16 21:18:38 +00:00
[email protected] 37771b3e5b mac side of fix for bug 100676
code by ccarlen, r=alecf, sr=sfraser
remove xpcom dependency on uconv by switching to native mac locale-conversion routines
2002-01-31 21:54:16 +00:00
[email protected] 48a83167dc Fix bug # 122571: add ability to determine if a directory is actually a package (for Mac OS 9/X) r=ccarlen sr=ben 2002-01-30 23:53:12 +00:00
[email protected] 3f95de0108 Fix bug # 120037: leading '.' indicates hidden when on Mac OS X. r=ccarlen sr=sfraser 2002-01-15 22:31:19 +00:00
[email protected] 7204dcaab0 Bug 56295 - doesn't work for file names > 31 chars. r=sdagley/sr=sfraser 2002-01-15 02:22:39 +00:00
[email protected] 79da63c42a Fix bug 103202; make nsLocalFileMac faster copying files by allocating a 512k buffer, and passing it to the MoreFiles routines that do file copying (which would otherwise use an internal 16K buffer). r=sdagley, sr=sspitzer. 2002-01-15 01:14:55 +00:00
[email protected] aa0d321d1a these files no longer need to include nsEscape.h 2002-01-12 01:21:40 +00:00
[email protected] 0a41a9bd4d final fix for bug 100212 - removal final dependency on necko from xpcom by removing nsIFile.URL r=dougt, sr=darin Yay! 2002-01-09 20:03:46 +00:00
[email protected] ea0f4de820 smoketest blocker 118788 r=/[email protected] 2002-01-09 01:04:17 +00:00
[email protected] d2d987fe07 Bug 100828 - nsLocalFileMac reworking. [email protected]/[email protected] 2002-01-07 14:35:04 +00:00
[email protected] c16538ef81 Bugzilla Bug 106386 rid source of these misspellings: persistant persistance priviledge protocal editting editted targetted targetting
r='s from many people. sr=jst
2001-12-23 23:23:41 +00:00
[email protected] 9c07d42ec3 fix stupid checkin that should not have landed 2001-12-19 02:43:21 +00:00
[email protected] 32ebf7f11f nsIComponentManager API Changes (bug 98553)
a) create a new nsIComponentManager with only four functions on it:
CreateInstance CreateInstanceByContractID GetClassInfo GetClassInfoByContractID.

b) rename the old nsIComponentManager to nsIComponentManagerObsolete.

c) fixes callers which use to access the nsIComponentManager for component
registration functionality.  These callers will temporary use the
nsIComponentManagerObsolete interface.

d) Create a new API NS_GetComponentManager() which mirrors the
NS_GetServiceManager()

e) Perserves the old NS_GetGlobalComponentManager().  Note the cast usage.

r/sr = [email protected]  [email protected]  [email protected]
2001-12-19 00:12:41 +00:00
[email protected] 92572bf08e b=112515, r=douft, sr=jst
remove spawn method from nsIFile.

/**
    Warning nsIFile API change
 */

--pete
2001-12-04 00:27:43 +00:00
[email protected] 5408f70625 Bugzilla Bug 107823 change nsIFile
to use 'Modified' instead of 'Modification'
r=akkana sr=brendan
2001-11-26 08:05:05 +00:00
[email protected] 8674f69c9f Printing the dll name in the timeline r=sgehani, sr=sfraser 2001-11-17 20:37:08 +00:00
[email protected] edaa6ec90b Fix |#ifdef TARGET_CARBON| assertions for bug 104651 to fix blocker bug 108911 (TARGET_CARBON changes only). 2001-11-07 22:08:31 +00:00
[email protected] 527425d5c9 Bug 53057: Fixing up users of implicit |CharT*| conversion operators for nsCString to use |.get()| instead, rr=dbaron, rs=scc 2001-11-02 06:39:49 +00:00
[email protected] 6a2ea6f651 b=107823, r=ccarlen, sr=brendan
--pete
2001-11-01 00:11:15 +00:00
[email protected] d1f771603f ugh. I did not mean to commit these changes. Backing out 2001-10-30 22:19:32 +00:00
[email protected] 43fc9fcb73 Moving nsISimpleEnumeratory interface into a seperate idl file. bug 99136. [email protected], [email protected] 2001-10-30 22:03:05 +00:00
[email protected] 74b22d1a32 Landing the rest of the mach-o OSX changes.
Bug #75653 r=cls sr=waterson
2001-10-27 07:38:18 +00:00
[email protected] 15f2e61f30 Bug 81444: eliminate |null_nsCOMPtr|. Eliminating all callers, r=syd, rs=mozbot. 2001-10-07 10:58:39 +00:00
[email protected] ed83ea9d50 Finish fix of bug 97676 - Also use LaunchServices APIs to map creator code to app under OS X. Fixes automatic launch of helper app and restores ability to override helper app from download dialog. sr=sfraser 2001-10-02 01:45:45 +00:00
[email protected] 5098f57d09 Bug 97676 - Use LaunchServices APIs under OS X for helper app launching and fix Reveal to work with OS X Finder. r=ccarlen,sr=sfraser 2001-10-01 06:43:41 +00:00
[email protected] fa71d9494e Fix Fizilla build bustage caused by conflict between ccarlen's checkin and jag's string changes. r=jag 2001-10-01 00:57:54 +00:00
[email protected] ab5791827d Bug 87831 - Fizilla won't launch if its path contains non-ASCII char. r=ftang/sr=sfraser 2001-09-28 09:19:42 +00:00
[email protected] 0252ee68ff Replace uses of deprecated NS_IMPL_ISUPPORTS and NS_IMPL_QUERYINTERFACE macros with NS_IMPL_{ISUPPORTS,QUERYINTERFACE}{1,0}. r=jag sr=alecf b=45797 2001-09-10 19:54:27 +00:00
[email protected] 12f006147d Bug 62110 - initialize rv in nsLocalFile::SetPersistentDescriptor. Fixes multiple folders bug in mail on Mac OS X, and probably other bugs as well. r=pinkerton, sr=mscott, a=dbaron 2001-08-28 01:57:20 +00:00
[email protected] c2bcad0b73 Bug 86734: Remove NS_WITH_SERVICE. r=dbaron, rs=scc, a=asa 2001-07-25 07:54:28 +00:00
[email protected] 67b5dca391 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
[email protected] 8afc81e0b2 Landing url parsing branch. 73845. [email protected], [email protected], [email protected].
This fixes many crashes caused by illegal uses of the nsStdURL.
This also allows a plugable protocol to provide their own url parser.
2001-06-21 22:02:47 +00:00
[email protected] 7050aa28da r=ccarlen, sr=sfraser, a=asa. 80095. replace an overkill strstr, w/ strchr. 2001-06-04 23:30:55 +00:00
[email protected] 33bc6d0ec4 Bug 73095 - Create() needs to set mTargetSpec on completion. [email protected]/sr=sfraser 2001-05-22 21:38:21 +00:00