73 Commits

Author SHA1 Message Date
bryner%brianryner.com
b5ccad4460 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.
git-svn-id: svn://10.0.0.236/trunk@151359 18797224-902f-48f8-a5cc-f745e15eee43
2004-01-15 06:14:18 +00:00
mkaply%us.ibm.com
64242301f9 #214152
r=pedemont, sr=bz
Handle unicode conversion failure better


git-svn-id: svn://10.0.0.236/trunk@145282 18797224-902f-48f8-a5cc-f745e15eee43
2003-07-28 21:02:45 +00:00
mkaply%us.ibm.com
bd3b62e584 rs=leaf
Remove XP_OS2_VACPP from the tree


git-svn-id: svn://10.0.0.236/trunk@145075 18797224-902f-48f8-a5cc-f745e15eee43
2003-07-22 18:38:01 +00:00
dwitte%stanford.edu
8480c7c032 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.


git-svn-id: svn://10.0.0.236/trunk@144961 18797224-902f-48f8-a5cc-f745e15eee43
2003-07-18 22:14:16 +00:00
dougt%meer.net
982465fbc0 Cleans up nsLocalFile0S2 a bit. Removes code that checks for symlinks. r=r=mkaply, sr=blizzard, bug=209963
git-svn-id: svn://10.0.0.236/trunk@143951 18797224-902f-48f8-a5cc-f745e15eee43
2003-06-19 21:53:26 +00:00
timeless%mozdev.org
f1f6532817 Bug 187031 [nsLocalFileWin] nsLocalFile::Remove returns os remove values (-1) as nsresults
r=dougt sr=darin


git-svn-id: svn://10.0.0.236/trunk@143899 18797224-902f-48f8-a5cc-f745e15eee43
2003-06-18 23:19:11 +00:00
mkaply%us.ibm.com
1527023f41 202480 for OS/2
git-svn-id: svn://10.0.0.236/trunk@141357 18797224-902f-48f8-a5cc-f745e15eee43
2003-04-18 02:22:17 +00:00
mkaply%us.ibm.com
be1cb53837 Oops left printf in
git-svn-id: svn://10.0.0.236/trunk@136853 18797224-902f-48f8-a5cc-f745e15eee43
2003-01-22 20:49:21 +00:00
mkaply%us.ibm.com
171a806dc5 #189349
r=cbiesinger, sr=bzbarsky
Have OS/2 follow the Windows path for downloadManager dialog - launch and open in explorer


git-svn-id: svn://10.0.0.236/trunk@136811 18797224-902f-48f8-a5cc-f745e15eee43
2003-01-22 04:58:09 +00:00
mkaply%us.ibm.com
912ee5ce97 #189841
r=dougt, sr=dmose
OS/2 only - remove config/os2 from the tree


git-svn-id: svn://10.0.0.236/trunk@136704 18797224-902f-48f8-a5cc-f745e15eee43
2003-01-21 00:05:39 +00:00
dbaron%dbaron.org
6ed727cbe8 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@136028 18797224-902f-48f8-a5cc-f745e15eee43
2003-01-08 23:19:20 +00:00
cbiesinger%web.de
6906ff33ec 187130 r=mkaply sr=bz remove #ifdef XP_OS2 in an os/2 specific file
git-svn-id: svn://10.0.0.236/trunk@135755 18797224-902f-48f8-a5cc-f745e15eee43
2003-01-01 21:20:37 +00:00
mkaply%us.ibm.com
08d338442b 150156 type fix for OS/2 - do a copy if move fails because file already exists
git-svn-id: svn://10.0.0.236/trunk@133840 18797224-902f-48f8-a5cc-f745e15eee43
2002-11-14 19:41:18 +00:00
mkaply%us.ibm.com
d85a459543 #172243
r=mkaply, sr=blizzard
OS/2 only - subtract 1980 from date before using it


git-svn-id: svn://10.0.0.236/trunk@131543 18797224-902f-48f8-a5cc-f745e15eee43
2002-10-09 02:37:48 +00:00
darin%netscape.com
d0afbbaf0e fixes bug 166612 "implement NS_CopyNativeToUnicode / NS_CopyUnicodeToNative
on all platforms" r=dougt sr=alecf


git-svn-id: svn://10.0.0.236/trunk@131251 18797224-902f-48f8-a5cc-f745e15eee43
2002-10-06 00:29:46 +00:00
mkaply%us.ibm.com
c915704f67 Urgent OS/2 fix - port change for 164190 to OS/2
git-svn-id: svn://10.0.0.236/trunk@130429 18797224-902f-48f8-a5cc-f745e15eee43
2002-09-25 17:55:39 +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
darin%netscape.com
bc335a29e4 fixes bug 151843 "nsIFile::Append inconsistent across platforms" r=dougt sr=alecf
git-svn-id: svn://10.0.0.236/trunk@128751 18797224-902f-48f8-a5cc-f745e15eee43
2002-09-03 22:40:45 +00:00
mkaply%us.ibm.com
d78fa03226 #157770
r=dougt, sr=blizzard, a=asa
OS/2 only - up the numbre of file handles when starting Moz, and handle specific error with DosCopy


git-svn-id: svn://10.0.0.236/trunk@125373 18797224-902f-48f8-a5cc-f745e15eee43
2002-07-17 05:46:34 +00:00
mkaply%us.ibm.com
d433fe17da #147977
r=jpierre, sr=blizzard
OS/2 only - int32 math causing incorrect computation of disk space


git-svn-id: svn://10.0.0.236/trunk@122763 18797224-902f-48f8-a5cc-f745e15eee43
2002-06-05 04:02:33 +00:00
mkaply%us.ibm.com
af4f7c7adf #144554
r=me, sr=blizzard
OS/2 - remove stupid code that broke mail migration


git-svn-id: svn://10.0.0.236/trunk@121477 18797224-902f-48f8-a5cc-f745e15eee43
2002-05-14 20:35:18 +00:00
darin%netscape.com
24feadaaed fixes bug 142870 "nsIFile should use UCS-2 instead of UTF-8"
r=dougt sr=alecf


git-svn-id: svn://10.0.0.236/trunk@121010 18797224-902f-48f8-a5cc-f745e15eee43
2002-05-07 23:07:19 +00:00
darin%netscape.com
8205a5345d fixing OS/2 bustage
git-svn-id: svn://10.0.0.236/trunk@120101 18797224-902f-48f8-a5cc-f745e15eee43
2002-04-27 07:34:27 +00:00
darin%netscape.com
824def02af fixes bug 129279 "nsIFile unicode/utf8/ascii task"
r=dougt sr=alecf


git-svn-id: svn://10.0.0.236/trunk@120092 18797224-902f-48f8-a5cc-f745e15eee43
2002-04-27 05:33:09 +00:00
mkaply%us.ibm.com
332ad4c46b #100676
r=pedemont,cls (makefile), sr=alecf, a=shaver
OS/2 only - remove dependency on uconv for filename conversions


git-svn-id: svn://10.0.0.236/trunk@119677 18797224-902f-48f8-a5cc-f745e15eee43
2002-04-24 03:47:06 +00:00
seawood%netscape.com
0d828695c6 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


git-svn-id: svn://10.0.0.236/trunk@116946 18797224-902f-48f8-a5cc-f745e15eee43
2002-03-20 03:16:09 +00:00
alecf%netscape.com
afdf75f460 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


git-svn-id: svn://10.0.0.236/trunk@116924 18797224-902f-48f8-a5cc-f745e15eee43
2002-03-20 00:25:21 +00:00
mkaply%us.ibm.com
0326eb80dd 117258 from nsLocalFileWin put into OS/2 to fix trap
git-svn-id: svn://10.0.0.236/trunk@114314 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-12 22:14:32 +00:00
darin%netscape.com
bbbf7288b3 fixes bug 114778 "formpost temp files not cleaned up when browser exits"
patch=badami@netscape.com, r=rpotts@netscape.com, sr=darin@netscape.com


git-svn-id: svn://10.0.0.236/trunk@112917 18797224-902f-48f8-a5cc-f745e15eee43
2002-01-26 00:38:37 +00:00
mkaply%us.ibm.com
fd146b6d5e #1192111
r=mkaply, sr=blizzard
OS/2 only - better file dialog


git-svn-id: svn://10.0.0.236/trunk@112103 18797224-902f-48f8-a5cc-f745e15eee43
2002-01-14 21:17:43 +00:00
darin%netscape.com
59c63dba70 these files no longer need to include nsEscape.h
git-svn-id: svn://10.0.0.236/trunk@111998 18797224-902f-48f8-a5cc-f745e15eee43
2002-01-12 01:21:40 +00:00
alecf%netscape.com
f6d3d22234 final fix for bug 100212 - removal final dependency on necko from xpcom by removing nsIFile.URL r=dougt, sr=darin Yay!
git-svn-id: svn://10.0.0.236/trunk@111722 18797224-902f-48f8-a5cc-f745e15eee43
2002-01-09 20:03:46 +00:00
timeless%mac.com
21c081c8bc Bugzilla Bug 106386 rid source of these misspellings: persistant persistance priviledge protocal editting editted targetted targetting
r='s from many people. sr=jst


git-svn-id: svn://10.0.0.236/trunk@111049 18797224-902f-48f8-a5cc-f745e15eee43
2001-12-23 23:23:41 +00:00
pete%alphanumerica.com
14973255e8 b=112515, r=douft, sr=jst
remove spawn method from nsIFile.

/**
    Warning nsIFile API change
 */

--pete


git-svn-id: svn://10.0.0.236/trunk@109584 18797224-902f-48f8-a5cc-f745e15eee43
2001-12-04 00:27:43 +00:00
timeless%mac.com
535b6f20f2 Bugzilla Bug 107823 change nsIFile
to use 'Modified' instead of 'Modification'
r=akkana sr=brendan


git-svn-id: svn://10.0.0.236/trunk@108891 18797224-902f-48f8-a5cc-f745e15eee43
2001-11-26 08:05:05 +00:00
dbaron%fas.harvard.edu
67028224e2 Bug 53057: Fixing up users of implicit |CharT*| conversion operators for nsCString to use |.get()| instead, rr=jag, rs=scc
git-svn-id: svn://10.0.0.236/trunk@107866 18797224-902f-48f8-a5cc-f745e15eee43
2001-11-11 01:42:10 +00:00
pete%alphanumerica.com
3c4492f3e0 b=107823, r=ccarlen, sr=brendan
--pete


git-svn-id: svn://10.0.0.236/trunk@106886 18797224-902f-48f8-a5cc-f745e15eee43
2001-11-01 00:11:15 +00:00
jaggernaut%netscape.com
bf7774eb72 Bug 81444: eliminate |null_nsCOMPtr|. Eliminating all callers, r=syd, rs=mozbot.
git-svn-id: svn://10.0.0.236/trunk@104764 18797224-902f-48f8-a5cc-f745e15eee43
2001-10-07 10:58:39 +00:00
mkaply%us.ibm.com
32e8dc3056 #95651
r=mkaply, timeless a=blizzard
OS/2 only - code from Javier Pedemonte - fix Launch/Reveal behavior for Os/2


git-svn-id: svn://10.0.0.236/trunk@101624 18797224-902f-48f8-a5cc-f745e15eee43
2001-08-22 04:33:17 +00:00
dbaron%fas.harvard.edu
3485888237 Replace uses of deprecated NS_IMPL_ISUPPORTS and NS_IMPL_QUERYINTERFACE macros with NS_IMPL_{ISUPPORTS,QUERYINTERFACE}{1,0}. r=jag rs=brendan b=45797
git-svn-id: svn://10.0.0.236/trunk@101462 18797224-902f-48f8-a5cc-f745e15eee43
2001-08-21 01:48:11 +00:00
pete%alphanumerica.com
63991fa7da Fix for nsIFile delete conflicts with JS reserved name b=37406, r=dougt, sr=jst
Renamed all Delete methods to Remove.

--pete


git-svn-id: svn://10.0.0.236/trunk@99803 18797224-902f-48f8-a5cc-f745e15eee43
2001-07-24 18:38:25 +00:00
mkaply%us.ibm.com
88408ba1c3 Fix OS/2 breakage. We have an nsLocalFile too.
git-svn-id: svn://10.0.0.236/trunk@97729 18797224-902f-48f8-a5cc-f745e15eee43
2001-06-22 02:57:07 +00:00
mkaply%us.ibm.com
d520bc6929 #83166
r=aaronr, sr=blizzard, a=blizzard
OS/2 only change - we weren't deleting temp files after download


git-svn-id: svn://10.0.0.236/trunk@96014 18797224-902f-48f8-a5cc-f745e15eee43
2001-05-29 22:21:11 +00:00
mkaply%us.ibm.com
098b1897b1 #53152
r=mkaply, a=blizzard
Put dougt fix into OS/2


git-svn-id: svn://10.0.0.236/trunk@93157 18797224-902f-48f8-a5cc-f745e15eee43
2001-04-26 18:40:12 +00:00
mkaply%us.ibm.com
6cbd1f8e22 #72555
r=mkaply, a=blizzard
Code from aaronr - use DosCopy if DosMove fails (OS/2 can't move across drives)


git-svn-id: svn://10.0.0.236/trunk@90185 18797224-902f-48f8-a5cc-f745e15eee43
2001-03-23 03:21:22 +00:00
disttsc%bart.nl
39a73d87b8 Attempt at fixing OS2 bustage
git-svn-id: svn://10.0.0.236/trunk@89890 18797224-902f-48f8-a5cc-f745e15eee43
2001-03-20 07:47:40 +00:00
disttsc%bart.nl
d30c2be76b Preparation of removing nsCString::GetBuffer. Landing everything but the actual commenting out of nsCString::GetBuffer. bug=64016, r=timeless, sr=scc
git-svn-id: svn://10.0.0.236/trunk@88396 18797224-902f-48f8-a5cc-f745e15eee43
2001-03-02 09:26:57 +00:00
mkaply%us.ibm.com
562ead4c5d r=mkaply, a=blizzard
Quite possibly one of the ugliest pieces of code ever. Good thing it is OS/2 only.
Workaround for WSOD2 bug - if DosCopy fails with a 65, use the OS COPY command.


git-svn-id: svn://10.0.0.236/trunk@86473 18797224-902f-48f8-a5cc-f745e15eee43
2001-02-07 04:29:57 +00:00
mkaply%us.ibm.com
9c560a732b r=mkaply, a=blizzard
Extern mbsrchr so nsFileSpec can use it


git-svn-id: svn://10.0.0.236/trunk@85879 18797224-902f-48f8-a5cc-f745e15eee43
2001-01-31 21:58:27 +00:00
mscott%netscape.com
b2d31e135e Bug #63346 --> implment reveal and launch methods for OS/2.
code contributed by mkaply
r=mkaply
sr=mscott


git-svn-id: svn://10.0.0.236/trunk@85870 18797224-902f-48f8-a5cc-f745e15eee43
2001-01-31 21:04:04 +00:00