Commit Graph

1038 Commits

Author SHA1 Message Date
darin%netscape.com
a186b790c7 fixes OS/2 bustage 2002-04-27 06:45:16 +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
sspitzer%netscape.com
b4293a3227 fix for #101527. moveTo() of directories leaves subdirectories behind on win2k.
r=dougt, sr=bienvenu
2002-04-25 18:56:04 +00:00
mkaply%us.ibm.com
ee5fff30d0 #100676
r=pedemont,cls (makefile), sr=alecf, a=shaver
OS/2 only - remove dependency on uconv for filename conversions
2002-04-24 03:47:06 +00:00
jkeiser%netscape.com
0dc252669f Close submitted files (input type=file) when done with them. (bug 126829) r=dougt@netscape.com, sr=darin@netscape.com 2002-04-18 22:02:09 +00:00
shanjian%netscape.com
a1a1517f87 #128154 Crash: opening non-ascii attachments
replace default "default char" from "?" to "_".
r=ftang, sr=alecf.
2002-04-16 04:10:54 +00:00
ducarroz%netscape.com
f5585bf3b8 Fix for bug 129358. Need to pre-initialize spec.name to void memory corruption in the copy constructor when the file doesn't exist. Also protect the copy constructor against bogus spec.name. R=fraser, SR=sspitzer, A=asa 2002-04-10 21:31:27 +00:00
ccarlen%netscape.com
62aa5b03ad 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
katakai%japan.sun.com
11e8aa1a45 bug 131161
mozilla crashed when open file where there is an chinese name file under the directory
check return value of GetUnicodeLeafName() also call Reset() for encoder and decoder to reset the state
r=shanjian,sr=darin,a=asa
2002-04-09 01:54:09 +00:00
dprice%netscape.com
ad56e36c49 105087 r=dveditz, sr=mscott, a=asa
hook up the installer and the directory service
2002-04-02 23:56:43 +00:00
darin%netscape.com
9863e6beae fixes bug 130301 "Cannot submit large POST requests since Mozilla 0.9.9"
r=brade, sr=rpotts, a=asa
2002-04-01 05:06:59 +00:00
dbaron%fas.harvard.edu
6cdcd7ef3a 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-24 00:16:18 +00:00
mkaply%us.ibm.com
8b411b49e9 #132295
r=dougt, sr=scc, a=asa
OS/2 only - save the location of the Profile directory to OS2.INI so third party apps can get it
2002-03-22 21:26:15 +00:00
seawood%netscape.com
e1e0b68be2 Backing out alecf's checkin for bug 124497 to fix comet startup test problem.
Dougt claims that nsLocalFile's copy constructor doesn't work.
r=sleestack
2002-03-20 03:16:09 +00:00
dougt%netscape.com
5499fc7062 99160. Moving utility functions into a seperate header. r=jband, sr=rpotts, a=brendan 2002-03-20 00:34:17 +00:00
alecf%netscape.com
d4a8db354a fix leak caused by nsLocalFile::Clone() where we were copying the refcnt to the new object - bug 124497
this ends up being more of a performance win than anyting on Unix and OS/2
r=mkaply, dbaron, sr=darin, a=asa
2002-03-20 00:25:21 +00:00
brade%netscape.com
a8b61b1da2 always seek so variables are initialized properly, increment mSegmentNum before getting next block; bug 129760, r=dougt, sr=darin, a=Asa 2002-03-19 14:11:06 +00:00
alecf%netscape.com
f9de1f9460 fix for bug 124497 - leaking nsLocalFile objects - the copy constructor was copying the refcount to the new object
so the new object would always leak
r=dbradley, sr=darin, a=asa
2002-03-16 05:30:15 +00:00
darin%netscape.com
c0dfb0de9e minor change of tense: "to read" -> "to be read" 2002-03-12 01:01:08 +00:00
darin%netscape.com
281c86ec58 b=99165 Freeze nsIInputStream nsIOutputStream (not yet frozen... but close)
r=dougt sr=shaver a=asa
2002-03-12 00:59:06 +00:00
dougt%netscape.com
5aa32ad0fc fixing a comment a=dbaron. bug 124002 2002-03-08 00:05:34 +00:00
ccarlen%netscape.com
b82f5db31e Bug 45699 - Load plugins from profiles directory. r=peterl/sr=roc+moz/a=asa 2002-03-07 15:24:40 +00:00
darin%netscape.com
f1a6738b6c fixes bug 124042 "support internationalized URIs" r=dougt, sr=alecf, a=asa 2002-03-06 07:48:55 +00:00
blakeross%telocity.com
4e4b80e712 128667 - launch windows app picker dialog if file has no association. r=law sr=ben a=asa 2002-03-06 01:11:34 +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
b4b6e3703b fix build bustage, due to nsCRT::strlen(char* s) removed 2002-02-28 05:00:18 +00:00
cathleen%netscape.com
5468d9b6ff fix bustage due to nsCRT::strlen(char* s) removed 2002-02-28 04:55:04 +00:00
dougt%netscape.com
874111f277 Adding build SDK support. r=dougt, sr=alecf, submitted by seawood, a=asa 2002-02-25 23:20:01 +00:00
brade%netscape.com
08de4648bd only return NS_BASE_STREAM_WOULD_BLOCK when write is in progress (send NS_OK when we're done writing); (bug 121314; r=adamlock; sr=darin; a=shaver) 2002-02-25 18:49:16 +00:00
arougthopher%lizardland.net
b4f0190760 Fix for Bug#69707
BeOS implementation of nsLocalFile::Launch and nsLocalFile::Reveal

r=cls (seawood@netscape.com)
a=asa (asa@mozilla.org) on behalf of drivers
2002-02-21 03:33:42 +00:00
cathleen%netscape.com
8baf662f08 eliminate nsCRT::strlen for char* strings (part 5), bug 124536 r=dp sr=brendan 2002-02-20 06:38:38 +00:00
law%netscape.com
1f2dafaf8c Bug 106082; Adds code to select item in Explorer window for Reveal(); r=sgehani, sr=hyatt 2002-02-20 05:41:34 +00:00
alecf%netscape.com
e26aed73cd oops, back out this change, wasn't supposed to land 2002-02-18 23:00:11 +00:00
alecf%netscape.com
8c0ab1d965 remove a bunch of dead code, and remove NS_COM from a bunch of concrete classes that weren't being used previously
r=jag, sr=shaver
2002-02-18 22:57:47 +00:00
bnesse%netscape.com
1551d818d3 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
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
jkeiser%netscape.com
f495d0cc2a Form submission performance / maintability improvements (bug 120682) r=alexsavulov,r=sicking,sr=jst 2002-02-16 01:19:24 +00:00
alecf%netscape.com
356b6b24c2 bug 63025 - stop exporting nsFileSpecImpl as nobody is calling the constructor
r=dougt, sr=shaver
2002-02-15 00:20:49 +00:00
alecf%netscape.com
1ce0f534ae bug 63025 - remove nsFileSpecStreaming, as nobody is using it
r=dougt, sr=shaver
2002-02-15 00:19:33 +00:00
alecf%netscape.com
9d10fa29e7 part of fix to bug 63025 - stop exporting nsLocalFile on windows, because it's not imported by anyone
r=dougt, sr=shaver
2002-02-15 00:14:20 +00:00
mkaply%us.ibm.com
12b3340b2a 117258 from nsLocalFileWin put into OS/2 to fix trap 2002-02-12 22:14:32 +00:00
bzbarsky%mit.edu
648c636bba Get rid of extra leading slashes appearing in unix paths. Bug 124873,
r=petejc@optonline.net, sr=brendan.
2002-02-12 21:05:56 +00:00
timeless%mac.com
240333fdfc Bug 52037 w/ w95osr2 and beyond you can get freediskspace for a full path (eg UNC Paths).
The code will use the Ex API if available.
With this change the function should get the correct freespace numbers for submounts and junction points (introduced in w2k).

r=dougt sr=dveditz
2002-02-07 14:46:10 +00:00
brade%netscape.com
15e11e7082 optimization (don't call writer with 0 bytes); bug 122221; r=akkana, sr=darin 2002-02-07 14:19:32 +00:00
dougt%netscape.com
e27f1817ae backing out. not part of 122523 bug fix 2002-02-06 20:42:02 +00:00
dougt%netscape.com
9659a6ca32 Optimization which gathers stat() info when opening a file. bug 122523, r=dp@netscape.com, sr=dveditz@netscape.com 2002-02-06 20:40:40 +00:00
cathleen%netscape.com
740d95a0a9 eliminates 107 nsCRT::memset calls to use memset instead. removed nsCRT::memset() function. bug 118135 r=dp sr=brendan 2002-02-05 01:41:13 +00:00
ccarlen%netscape.com
05264d61b9 Bug 121235 - Freeze nsIDirectoryServiceProvider2. r=dougt@netscape.com/sr=jband@netscape.com 2002-02-04 13:10:54 +00:00
bryner%netscape.com
40ccb42c7c Fixing some warnings in xpcom. Bug 118377, r=hwaara, sr=shaver. 2002-02-03 07:05:10 +00:00
dougt%netscape.com
48c22e5ce4 backing out my optimization 2002-02-02 03:20:01 +00:00
darin%netscape.com
e744cc20da should fix btek bustage 2002-02-02 02:49:52 +00:00
dougt%netscape.com
97c85e367d fixes 122892. Optimization Clone of nsLocalFile. Instead of reiniting object, we use default c++ copy construction. r=ccarlen@netscape.com, sr=dveditz@netscape.com 2002-02-02 01:25:57 +00:00
alecf%netscape.com
b5f9b30d70 windows side of fix to bug 100676 - remove xpcom dependency on uconv by switching to native locale-conversion routines
r=ccarlen, sr=dveditz
2002-01-31 21:55:01 +00:00
alecf%netscape.com
f65110231b 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
rjc%netscape.com
73c203cb23 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
dougt%netscape.com
dcab435cdf Backing out nsIFile changes which should not have landed. 2002-01-29 21:42:38 +00:00
dougt%netscape.com
c50ca402ad 1. Converts callers of nsIComponentManagerObsolete to use
nsIComponentRegistrar.

2. Converts callers of nsComponentManager::AutoRegister to use
nsIComponentRegistrar's autoRegistrar method.

3. Add nsIComponentRegistrar implmentation to nsComponentManagerImpl.

4. Rearrange nsComponentManager.cpp so that related methods are in the same
place.

5. Added a C-style function NS_GetComponentRegistrar so that getting the
registrar is easier in some places.

6. Added a nsISimpleEnumerator interface on PLDHashTableEnumeratorImpl.  in
this way, the same base class can support both old style and new style
enumerations.

7. Fixed a nasty bug where unregistring factories will leave the contract id
hash with a dangling pointer.  Now, when unregister is called we search the
contract id hash for entries which have the given doomned cid and remove them.


Bug 115853.  r=dp@netscape.com, sr=rpotts@netscape.com
2002-01-29 21:22:13 +00:00
seawood%netscape.com
485c70c6c9 S_ISSOCK isn't defined on BeOS. 2002-01-28 07:02:02 +00:00
alecf%netscape.com
bcd6a6fb94 fix for bug 121508 - clean up nsStringStream and nsIParser APIs.. r=dougt, sr=jst 2002-01-27 22:02:00 +00:00
pete%alphanumerica.com
c24e6ecf67 getting rid of -D_USE_BSD
Pulling implementation out of the header file seemed to have fixed the bustage

--pete
2002-01-27 18:57:41 +00:00
pete%alphanumerica.com
0df32e6c7d adding -D_USE_BSD to see if lstat will work on these linux flavors
--pete
2002-01-27 18:32:11 +00:00
pete%alphanumerica.com
45322bb2c1 adding -D_BSD_SOURCE to Makefile.in as seawood suggested
to fix linux bustage

--pete
2002-01-27 18:17:33 +00:00
pete%alphanumerica.com
fcb153605f movind implementation of FilleStatCache into nsLocalFileUnix.cpp
where other calls to lstat work fine

This is an attempt to fix bustage on some linux platfroms

--pete
2002-01-27 18:02:18 +00:00
pete%alphanumerica.com
58ac07cfac moving defs into header file
To fix bustage

--pete
2002-01-27 17:46:14 +00:00
pete%alphanumerica.com
87669396a2 adding header files for linux for lstat
seeing if this fixes breakage

--pete
2002-01-27 17:31:24 +00:00
pete%alphanumerica.com
1b90b08e4d b=107641, r=blizzard, sr=brendan
fix: CopyTo won't copy read-only files or broken symlinks

Thanks to garths@oeone.com for help on this one.

--pete
2002-01-27 14:31:25 +00:00
darin%netscape.com
d0cddf5d96 fixes bug 114778 "formpost temp files not cleaned up when browser exits"
patch=badami@netscape.com, r=rpotts@netscape.com, sr=darin@netscape.com
2002-01-26 00:38:37 +00:00
cathleen%netscape.com
486c0d47f9 remove memcpy function from nsCRT, eliminate 2 new nsCRT::memcpy callers
and fix up alighment problems from previous patch, bug 118135, sr=brenda r=dp
2002-01-26 00:04:45 +00:00
darin%netscape.com
3f94575093 fixing compiler warning of uninitialized variable resulting from my checkin
for bug 121441
2002-01-25 10:47:24 +00:00
darin%netscape.com
3cf710f917 fixes bug 121441 "unable to publish via http PUT (nsStorageStream should
support nsISeekableStream)"
r=brade, sr=dveditz
2002-01-25 02:13:00 +00:00
alecf%netscape.com
e13a34a78b fix for bug 121627 - UTF8ConverterStream should not allocate - now that we've exposed ConvertUTF8toUCS2,
use it to do a conversion into the existing unichar buffer
r=dbaron, sr=jst
2002-01-24 23:53:53 +00:00
pinkerton%netscape.com
7180e5e8d1 allow --enable-default-toolkit=cocoa in makefiles and default toolkit can now be overridden on platform that don't use X11. r=cls/sr=hyatt. bug#121496 2002-01-24 15:11:18 +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
ccarlen%netscape.com
cf1afba8e1 Removing file made obsolete by fix to bug 100828. r=rjc/sr=sfraser. 2002-01-16 05:52:50 +00:00
rjc%netscape.com
d0e69f1616 Fix bug # 120037: leading '.' indicates hidden when on Mac OS X. r=ccarlen sr=sfraser 2002-01-15 22:31:19 +00:00
ccarlen%netscape.com
4740373b28 Bug 56295 - doesn't work for file names > 31 chars. r=sdagley/sr=sfraser 2002-01-15 02:22:39 +00:00
sfraser%netscape.com
1af143b53c 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
mkaply%us.ibm.com
2f545596be #1192111
r=mkaply, sr=blizzard
OS/2 only - better file dialog
2002-01-14 21:17:43 +00:00
blakeross%telocity.com
fe74df5263 86979 - launch file after donwloading does not honor OS file associations. r=ben sr=hewitt 2002-01-14 05:24:49 +00:00
cathleen%netscape.com
92d4fbf218 converted 271 references to nsCRT::memcpy to memcpy, bug 118135 r=dp 2002-01-12 03:18:55 +00:00
alecf%netscape.com
bd2a6aec4a fix take 2 on bug 114134, crashes when reading utf8 strings from dtds/etc
r=dbaron, sr=jag
when multi-byte characters crossed a buffer boundary, we weren't correctly backing up and instead tried to decode the half-loaded utf8 character... in addition, our new "remainder" count was completely broken - we were adding the old remainder to the new remainder, when in fact we had just consumed the old remainder
2002-01-12 02:38:08 +00:00
darin%netscape.com
b7c1f99a52 these files no longer need to include nsEscape.h 2002-01-12 01:21:40 +00:00
darin%netscape.com
3de33f888b cleaning up some comments 2002-01-12 01:19:45 +00:00
darin%netscape.com
e4ecaec549 fixes first part of bug 109179 "replace NS_EscapeURL with NS_EscapeURLPart"
r=andreas.otte@debitel.net
sr=alecf@netscape.com
2002-01-11 23:02:22 +00:00
alecf%netscape.com
b0f44a323d dammit why does this break linux?!
backing out my last checkin
2002-01-11 22:44:30 +00:00
alecf%netscape.com
21a3f3ae6f progress towards 108962 - fix nsLinebreakConverter to stop using private nsStr members
r=dbaron, sr=jag
2002-01-11 22:40:09 +00:00
alecf%netscape.com
6684d81636 fix for bug 114134 - crash when localizing some strings
when multi-byte characters crossed a buffer boundary, we weren't correctly backing up and instead tried to decode the half-loaded utf8 character... in addition, our new "remainder" count was completely broken - we were adding the old remainder to the new remainder, when in fact we had just consumed the old remainder
r=dbaron, sr=jag
2002-01-11 20:34:11 +00:00
alecf%netscape.com
4bcb3fde51 removal lame nsFileSpec operators, bug 100676 r=ccarlen sr=waterson 2002-01-09 21:31:19 +00:00
alecf%netscape.com
63991ddfde 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
ccarlen%netscape.com
9d933c6751 smoketest blocker 118788 r=/sr=sfraser@netscape.com 2002-01-09 01:04:17 +00:00
dougt%netscape.com
92eaa0797b Fixes 116299 Reduce size of nsLocalFileWin by 2 ptrs by factoring out shortcut resolver. Also fixes crash 117258 caused by trying to create a file or directory to a nonexistant drive. sr=rpotts, dveditz for the first bug, and sr=darin, r=gagan for the second bug 2002-01-08 02:20:13 +00:00
ccarlen%netscape.com
525230cf76 Bug 100828 - nsLocalFileMac reworking. r=rjc@netscape.com/sr=sfraser@netscape.com 2002-01-07 14:35:04 +00:00
ccarlen%netscape.com
9890da27d7 Bug 100828 - New file for nsLocalFileMac reworking. r=rjc@netscape.com/sr=sfraser@netscape.com 2002-01-07 14:31:44 +00:00
timeless%mac.com
61a97fd94a 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
tingley%sundell.net
a117febf17 bug 100132: clean up over-zealous error masking in
nsRDFXMLDataSource::BlockingParse(), and bring nsLocalFileUnix's
OpenNSPRFileDesc() return values in line with other platforms.
r=waterson, sr=brendan
2001-12-22 19:08:48 +00:00
andreas.otte%debitel.net
9269c5db81 Fix bug 108575 [rethink contents of escape matrix] Change escaping of
', ~ and @ to better reflect rfc 2396, r=dougt@netscape.com, sr=darin@netscape.com
2001-12-21 22:29:02 +00:00
dougt%netscape.com
f92974c0db fix stupid checkin that should not have landed 2001-12-19 02:43:21 +00:00
dougt%netscape.com
7e73e8ffc0 more bustage 2001-12-19 01:03:10 +00:00
dougt%netscape.com
849d297364 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 = rpotts@netscape.com  alecf@netscape.com  brendan@mozilla.org
2001-12-19 00:12:41 +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